1 |
commit: 5cc3d8d4b36678b2268c99983e8f3f7db5ad3b58 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 1 14:25:28 2012 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 1 15:14:35 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=5cc3d8d4 |
7 |
|
8 |
media-libs/gst-plugins-base: copy from gentoo-x86 |
9 |
|
10 |
Compare 0.10 series with 1.0 and update both as needed. |
11 |
|
12 |
--- |
13 |
....0.3.ebuild => gst-plugins-base-0.10.36.ebuild} | 64 +++++++------------- |
14 |
.../gst-plugins-base/gst-plugins-base-1.0.3.ebuild | 27 ++++---- |
15 |
2 files changed, 34 insertions(+), 57 deletions(-) |
16 |
|
17 |
diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.0.3.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-0.10.36.ebuild |
18 |
similarity index 59% |
19 |
copy from media-libs/gst-plugins-base/gst-plugins-base-1.0.3.ebuild |
20 |
copy to media-libs/gst-plugins-base/gst-plugins-base-0.10.36.ebuild |
21 |
index 74c531a..d261305 100644 |
22 |
--- a/media-libs/gst-plugins-base/gst-plugins-base-1.0.3.ebuild |
23 |
+++ b/media-libs/gst-plugins-base/gst-plugins-base-0.10.36.ebuild |
24 |
@@ -11,50 +11,29 @@ HOMEPAGE="http://gstreamer.freedesktop.org/" |
25 |
|
26 |
LICENSE="GPL-2+ LGPL-2+" |
27 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
28 |
-IUSE="alsa +introspection nls +ogg +orc +pango theora +vorbis X" |
29 |
-REQUIRED_USE="theora? ( ogg ) vorbis? ( ogg )" |
30 |
+IUSE="+introspection nls +orc" |
31 |
|
32 |
-RDEPEND=">=dev-libs/glib-2.32:2 |
33 |
- >=media-libs/gstreamer-${PV}:1.0[introspection?] |
34 |
+RDEPEND=">=dev-libs/glib-2.24:2 |
35 |
+ >=media-libs/gstreamer-${PV}:0.10[introspection?] |
36 |
dev-libs/libxml2:2 |
37 |
sys-libs/zlib |
38 |
app-text/iso-codes |
39 |
- introspection? ( >=dev-libs/gobject-introspection-1.31.1 ) |
40 |
- alsa? ( >=media-libs/alsa-lib-0.9.1 ) |
41 |
- ogg? ( >=media-libs/libogg-1.0 ) |
42 |
- orc? ( >=dev-lang/orc-0.4.16 ) |
43 |
- pango? ( >=x11-libs/pango-1.22 ) |
44 |
- theora? ( >=media-libs/libtheora-1.1[encode] ) |
45 |
- vorbis? ( >=media-libs/libvorbis-1.0 ) |
46 |
- X? ( |
47 |
- x11-libs/libX11 |
48 |
- x11-libs/libXext |
49 |
- x11-libs/libXv )" |
50 |
- |
51 |
+ introspection? ( >=dev-libs/gobject-introspection-0.9.12 ) |
52 |
+ orc? ( >=dev-lang/orc-0.4.11 ) |
53 |
+" |
54 |
DEPEND="${RDEPEND} |
55 |
- >=dev-util/gtk-doc-am-1.12 |
56 |
- virtual/pkgconfig |
57 |
- nls? ( >=sys-devel/gettext-0.17 ) |
58 |
- X? ( |
59 |
- x11-proto/videoproto |
60 |
- x11-proto/xextproto |
61 |
- x11-proto/xproto )" |
62 |
+ >=dev-util/gtk-doc-am-1.3 |
63 |
+ nls? ( >=sys-devel/gettext-0.11.5 ) |
64 |
+" |
65 |
+RDEPEND="${RDEPEND} |
66 |
+ !<media-libs/gst-plugins-bad-0.10.10:0.10 |
67 |
+" |
68 |
|
69 |
src_prepare() { |
70 |
- DOCS="AUTHORS NEWS README RELEASE" |
71 |
- |
72 |
# The AC_PATH_XTRA macro unnecessarily pulls in libSM and libICE even |
73 |
# though they are not actually used. This needs to be fixed upstream by |
74 |
# replacing AC_PATH_XTRA with PKG_CONFIG calls. |
75 |
sed -i -e 's:X_PRE_LIBS -lSM -lICE:X_PRE_LIBS:' "${S}"/configure || die |
76 |
- |
77 |
- # bug #366931, flag-o-matic for the whole thing is overkill |
78 |
- if [[ ${CHOST} == *86-*-darwin* ]] ; then |
79 |
- sed -i \ |
80 |
- -e '/FLAGS = /s|-O[23]|-O1|g' \ |
81 |
- gst/audioconvert/Makefile \ |
82 |
- gst/volume/Makefile || die |
83 |
- fi |
84 |
} |
85 |
|
86 |
src_configure() { |
87 |
@@ -65,19 +44,17 @@ src_configure() { |
88 |
$(use_enable introspection) \ |
89 |
$(use_enable nls) \ |
90 |
$(use_enable orc) \ |
91 |
- $(use_enable alsa) \ |
92 |
- $(use_enable ogg) \ |
93 |
- $(use_enable pango) \ |
94 |
- $(use_enable theora) \ |
95 |
- $(use_enable vorbis) \ |
96 |
- $(use_enable X x) \ |
97 |
- $(use_enable X xshm) \ |
98 |
- $(use_enable X xvideo) \ |
99 |
--disable-examples \ |
100 |
- --disable-freetypetest \ |
101 |
--disable-debug \ |
102 |
--disable-static |
103 |
- # cdparanoia and libvisual are split out, per leio's request |
104 |
+ |
105 |
+ # bug #366931, flag-o-matic for the whole thing is overkill |
106 |
+ if [[ ${CHOST} == *86-*-darwin* ]] ; then |
107 |
+ sed -i \ |
108 |
+ -e '/FLAGS = /s|-O[23]|-O1|g' \ |
109 |
+ gst/audioconvert/Makefile \ |
110 |
+ gst/volume/Makefile || die |
111 |
+ fi |
112 |
} |
113 |
|
114 |
src_compile() { |
115 |
@@ -85,6 +62,7 @@ src_compile() { |
116 |
} |
117 |
|
118 |
src_install() { |
119 |
+ DOCS="AUTHORS NEWS README RELEASE" |
120 |
default |
121 |
prune_libtool_files --modules |
122 |
} |
123 |
|
124 |
diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.0.3.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.0.3.ebuild |
125 |
index 74c531a..1f6f79e 100644 |
126 |
--- a/media-libs/gst-plugins-base/gst-plugins-base-1.0.3.ebuild |
127 |
+++ b/media-libs/gst-plugins-base/gst-plugins-base-1.0.3.ebuild |
128 |
@@ -29,32 +29,22 @@ RDEPEND=">=dev-libs/glib-2.32:2 |
129 |
X? ( |
130 |
x11-libs/libX11 |
131 |
x11-libs/libXext |
132 |
- x11-libs/libXv )" |
133 |
- |
134 |
+ x11-libs/libXv ) |
135 |
+" |
136 |
DEPEND="${RDEPEND} |
137 |
>=dev-util/gtk-doc-am-1.12 |
138 |
- virtual/pkgconfig |
139 |
nls? ( >=sys-devel/gettext-0.17 ) |
140 |
X? ( |
141 |
x11-proto/videoproto |
142 |
x11-proto/xextproto |
143 |
- x11-proto/xproto )" |
144 |
+ x11-proto/xproto ) |
145 |
+" |
146 |
|
147 |
src_prepare() { |
148 |
- DOCS="AUTHORS NEWS README RELEASE" |
149 |
- |
150 |
# The AC_PATH_XTRA macro unnecessarily pulls in libSM and libICE even |
151 |
# though they are not actually used. This needs to be fixed upstream by |
152 |
# replacing AC_PATH_XTRA with PKG_CONFIG calls. |
153 |
sed -i -e 's:X_PRE_LIBS -lSM -lICE:X_PRE_LIBS:' "${S}"/configure || die |
154 |
- |
155 |
- # bug #366931, flag-o-matic for the whole thing is overkill |
156 |
- if [[ ${CHOST} == *86-*-darwin* ]] ; then |
157 |
- sed -i \ |
158 |
- -e '/FLAGS = /s|-O[23]|-O1|g' \ |
159 |
- gst/audioconvert/Makefile \ |
160 |
- gst/volume/Makefile || die |
161 |
- fi |
162 |
} |
163 |
|
164 |
src_configure() { |
165 |
@@ -78,6 +68,14 @@ src_configure() { |
166 |
--disable-debug \ |
167 |
--disable-static |
168 |
# cdparanoia and libvisual are split out, per leio's request |
169 |
+ |
170 |
+ # bug #366931, flag-o-matic for the whole thing is overkill |
171 |
+ if [[ ${CHOST} == *86-*-darwin* ]] ; then |
172 |
+ sed -i \ |
173 |
+ -e '/FLAGS = /s|-O[23]|-O1|g' \ |
174 |
+ gst/audioconvert/Makefile \ |
175 |
+ gst/volume/Makefile || die |
176 |
+ fi |
177 |
} |
178 |
|
179 |
src_compile() { |
180 |
@@ -85,6 +83,7 @@ src_compile() { |
181 |
} |
182 |
|
183 |
src_install() { |
184 |
+ DOCS="AUTHORS NEWS README RELEASE" |
185 |
default |
186 |
prune_libtool_files --modules |
187 |
} |