Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: media-libs/gst-plugins-good/
Date: Sun, 02 Dec 2012 13:49:45
Message-Id: 1354456161.e062a888e7a15215211ad4e38489f8d161cbc84a.eva@gentoo
1 commit: e062a888e7a15215211ad4e38489f8d161cbc84a
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 2 13:47:13 2012 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 2 13:49:21 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=e062a888
7
8 media-libs/gst-plugins-good: integrate leio's comments
9
10 * Drop GST_ORC, it will be removed from eclasses.
11 * bz2/zlib are part of core features, not plugins, let's not abuse
12 our own eclass (even though it is behing AG_GST_CHECK_).
13
14 ---
15 .../gst-plugins-good-0.10.31.ebuild | 14 +++++++-------
16 .../gst-plugins-good/gst-plugins-good-1.0.3.ebuild | 14 +++++++-------
17 media-libs/gst-plugins-good/metadata.xml | 9 +++++++++
18 3 files changed, 23 insertions(+), 14 deletions(-)
19
20 diff --git a/media-libs/gst-plugins-good/gst-plugins-good-0.10.31.ebuild b/media-libs/gst-plugins-good/gst-plugins-good-0.10.31.ebuild
21 index 406a1f3..fd8e652 100644
22 --- a/media-libs/gst-plugins-good/gst-plugins-good-0.10.31.ebuild
23 +++ b/media-libs/gst-plugins-good/gst-plugins-good-0.10.31.ebuild
24 @@ -3,7 +3,6 @@
25 # $Header: $
26
27 EAPI="5"
28 -GST_ORC="yes"
29
30 # order is important, gst-plugins10 after gst-plugins-good
31 inherit eutils flag-o-matic gst-plugins-good gst-plugins10
32 @@ -13,7 +12,7 @@ HOMEPAGE="http://gstreamer.freedesktop.org/"
33
34 LICENSE="LGPL-2.1+"
35 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
36 -IUSE=""
37 +IUSE="+orc"
38
39 RDEPEND="
40 >=dev-libs/glib-2.24:2
41 @@ -29,18 +28,19 @@ DEPEND="${RDEPEND}
42 "
43 # audioparsers and qtmux moves
44
45 -# Always enable optional bz2 support for matroska
46 -# Always enable optional zlib support for qtdemux and matroska
47 -# Many media files require these to work, as some container headers are often compressed, bug 291154
48 -GST_PLUGINS_BUILD="bz2 zlib"
49 -
50 src_configure() {
51 # gst doesnt handle optimisations well
52 strip-flags
53 replace-flags "-O3" "-O2"
54 filter-flags "-fprefetch-loop-arrays" # see bug 22249
55
56 + # Always enable optional bz2 support for matroska
57 + # Always enable optional zlib support for qtdemux and matroska
58 + # Many media files require these to work, as some container headers are often
59 + # compressed, bug #291154
60 gst-plugins10_src_configure \
61 + --enable-bz2 \
62 + --enable-zlib \
63 --disable-examples \
64 --with-default-audiosink=autoaudiosink \
65 --with-default-visualizer=goom
66
67 diff --git a/media-libs/gst-plugins-good/gst-plugins-good-1.0.3.ebuild b/media-libs/gst-plugins-good/gst-plugins-good-1.0.3.ebuild
68 index cb6ca27..3790106 100644
69 --- a/media-libs/gst-plugins-good/gst-plugins-good-1.0.3.ebuild
70 +++ b/media-libs/gst-plugins-good/gst-plugins-good-1.0.3.ebuild
71 @@ -3,7 +3,6 @@
72 # $Header: $
73
74 EAPI="5"
75 -GST_ORC="yes"
76
77 # order is important, gst-plugins10 after gst-plugins-good
78 inherit eutils flag-o-matic gst-plugins-good gst-plugins10
79 @@ -13,7 +12,7 @@ HOMEPAGE="http://gstreamer.freedesktop.org/"
80
81 LICENSE="LGPL-2.1+"
82 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
83 -IUSE=""
84 +IUSE="+orc"
85
86 RDEPEND="
87 >=dev-libs/glib-2.32:2
88 @@ -27,18 +26,19 @@ DEPEND="${RDEPEND}
89 >=dev-util/gtk-doc-am-1.12
90 "
91
92 -# Always enable optional bz2 support for matroska
93 -# Always enable optional zlib support for qtdemux and matroska
94 -# Many media files require these to work, as some container headers are often compressed, bug 291154
95 -GST_PLUGINS_BUILD="bz2 zlib"
96 -
97 src_configure() {
98 # gst doesnt handle optimisations well
99 strip-flags
100 replace-flags "-O3" "-O2"
101 filter-flags "-fprefetch-loop-arrays" # see bug 22249
102
103 + # Always enable optional bz2 support for matroska
104 + # Always enable optional zlib support for qtdemux and matroska
105 + # Many media files require these to work, as some container headers are often
106 + # compressed, bug #291154
107 gst-plugins10_src_configure \
108 + --enable-bz2 \
109 + --enable-zlib \
110 --disable-examples \
111 --with-default-audiosink=autoaudiosink \
112 --with-default-visualizer=goom
113
114 diff --git a/media-libs/gst-plugins-good/metadata.xml b/media-libs/gst-plugins-good/metadata.xml
115 new file mode 100644
116 index 0000000..6d1272f
117 --- /dev/null
118 +++ b/media-libs/gst-plugins-good/metadata.xml
119 @@ -0,0 +1,9 @@
120 +<?xml version="1.0" encoding="UTF-8"?>
121 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
122 +<pkgmetadata>
123 + <herd>gstreamer</herd>
124 + <use>
125 + <flag name="orc">Use <pkg>dev-lang/orc</pkg> for runtime
126 + optimisations</flag>
127 + </use>
128 +</pkgmetadata>