/[gentoo-x86]/gnome-extra/gnome-media/gnome-media-2.32.0-r1.ebuild
Gentoo

Contents of /gnome-extra/gnome-media/gnome-media-2.32.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Wed Nov 7 21:59:00 2012 UTC (21 months, 2 weeks ago) by tetromino
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -2 lines
Slot gstreamer dependencies in preparation for gstreamer-1.0.

(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-media/gnome-media-2.32.0-r1.ebuild,v 1.8 2012/05/05 06:25:24 jdhore Exp $
4
5 EAPI="3"
6 GCONF_DEBUG="no"
7
8 inherit eutils gnome2
9
10 DESCRIPTION="Multimedia related programs for the GNOME desktop"
11 HOMEPAGE="http://www.gnome.org/"
12
13 LICENSE="LGPL-2 GPL-2 FDL-1.1"
14 SLOT="2"
15 KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
16 IUSE="aac flac mp3 pulseaudio speex twolame vorbis"
17
18 # FIXME: automagic dev-util/glade:3 support
19 COMMON_DEPEND="dev-libs/libxml2:2
20 >=dev-libs/glib-2.18.2:2
21 >=x11-libs/gtk+-2.18.0:2
22 >=gnome-base/gconf-2.6.1:2
23 >=media-libs/gstreamer-0.10.23:0.10
24 >=media-libs/gst-plugins-base-0.10.23:0.10
25 >=media-libs/gst-plugins-good-0.10:0.10
26 >=media-libs/libcanberra-0.13[gtk]
27 >=media-plugins/gst-plugins-meta-0.10-r2:0.10
28 >=media-plugins/gst-plugins-gconf-0.10.1:0.10
29 >=dev-libs/libunique-1:1
30 pulseaudio? ( >=media-sound/pulseaudio-0.9.16[glib] )"
31 # Specific gst plugins are used by the default audio encoding profiles
32 RDEPEND="${COMMON_DEPEND}
33 media-plugins/gst-plugins-meta:0.10[flac?,vorbis?]
34 aac? (
35 media-plugins/gst-plugins-faac:0.10
36 media-plugins/gst-plugins-ffmpeg:0.10 )
37 mp3? (
38 media-libs/gst-plugins-ugly:0.10
39 media-plugins/gst-plugins-taglib:0.10
40 media-plugins/gst-plugins-lame:0.10 )
41 speex? (
42 media-plugins/gst-plugins-ogg:0.10
43 media-plugins/gst-plugins-speex:0.10 )
44 twolame? (
45 media-plugins/gst-plugins-taglib:0.10
46 media-plugins/gst-plugins-twolame:0.10 )"
47 DEPEND="${COMMON_DEPEND}
48 app-text/docbook-xml-dtd:4.1.2
49 virtual/pkgconfig
50 >=app-text/scrollkeeper-0.3.11
51 >=app-text/gnome-doc-utils-0.3.2
52 >=dev-util/intltool-0.35.0"
53
54 src_prepare() {
55 gnome2_src_prepare
56
57 # Fix sliders not working properly, upstream bug #645242
58 epatch "${FILESDIR}/${PN}-2.32.0-gvc-channel.patch"
59 }
60
61 pkg_setup() {
62 G2CONF="${G2CONF}
63 --disable-static
64 --disable-scrollkeeper
65 --disable-schemas-install
66 --enable-gstprops
67 --enable-grecord
68 --enable-profiles
69 $(use_enable pulseaudio)
70 $(use_enable !pulseaudio gstmix)"
71 DOCS="AUTHORS ChangeLog* NEWS MAINTAINERS README"
72 }
73
74 pkg_postinst() {
75 gnome2_pkg_postinst
76 ewarn
77 ewarn "If you cannot play some music format, please check your"
78 ewarn "USE flags on media-plugins/gst-plugins-meta:0.10"
79 ewarn
80 if use pulseaudio; then
81 ewarn "You have enabled pulseaudio support, gstmixer will not be built"
82 ewarn "If you do not use pulseaudio, you do not want this"
83 fi
84 }

  ViewVC Help
Powered by ViewVC 1.1.20