Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gstreamer/files/, media-libs/gstreamer/
Date: Thu, 26 Jan 2017 05:18:24
Message-Id: 1485407868.da8b7bad7890541869742903ecd25339e95569b7.leio@gentoo
1 commit: da8b7bad7890541869742903ecd25339e95569b7
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 26 05:17:48 2017 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 26 05:17:48 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da8b7bad
7
8 media-libs/gstreamer: Remove old
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 media-libs/gstreamer/Manifest | 2 -
13 .../files/gstreamer-1.6.3-fix-strsignal.patch | 32 ------
14 media-libs/gstreamer/gstreamer-1.6.3.ebuild | 110 ---------------------
15 media-libs/gstreamer/gstreamer-1.8.2.ebuild | 101 -------------------
16 4 files changed, 245 deletions(-)
17
18 diff --git a/media-libs/gstreamer/Manifest b/media-libs/gstreamer/Manifest
19 index 086fe15..3ce503d 100644
20 --- a/media-libs/gstreamer/Manifest
21 +++ b/media-libs/gstreamer/Manifest
22 @@ -1,4 +1,2 @@
23 DIST gstreamer-0.10.36.tar.xz 3025876 SHA256 9151aa108c177054387885763fa0e433e76780f7c5655c70a5390f2a6c6871da SHA512 7468abb578398681d2adb0e9bbc9ee8ae25aaef72369d45a66ada6c67d1759afdce606cb32e68d9e30ae813196bdfef3d4d33202bc77839cc1fbf5fc436c1bd8 WHIRLPOOL 03b841624552be860d4bf824bde9d6d5d6afc629048244b02037c96370c88191f34a6d09f02af61f295a9d6f84952efec2c5d4b0a28e8e70cd17966ed1b01d93
24 -DIST gstreamer-1.6.3.tar.xz 3553256 SHA256 22f9568d67b87cf700a111f381144bd37cb93790a77e4e331db01fe854a37f24 SHA512 f5ab2461469d489da956a0dd4e785e8f0a130b104a37289f7821be6e8f8e5049864888fdcf3a7d281406bf48b40737afa75347c22e6bec05ff2cf525734b51f7 WHIRLPOOL 386efbe1f431e247e11f7369ababb8bb5f2d457b046de1eb955cb9d2322f995c862b22124efcbeeeb9b4d25def664de952b98fe54ba71cd2438502e86ac1db7c
25 -DIST gstreamer-1.8.2.tar.xz 3609500 SHA256 9dbebe079c2ab2004ef7f2649fa317cabea1feb4fb5605c24d40744b90918341 SHA512 135d0a389fee3a9ebbd9df646c2d77affa4681721c4215dc6edd23be91d86c83f32c80498c37fcd19d97b3e534e6c45a96c3aa2650155696ca756bbeb7271b15 WHIRLPOOL 09836f8cca9aa9e10ac1758497c7b020357ab8b359dd309be9997f86252f8a32e665bed6adfa2c506175f70701ba809b164dad81d37b27a2adea09960d0e328a
26 DIST gstreamer-1.8.3.tar.xz 3711068 SHA256 66b37762d4fdcd63bce5a2bec57e055f92420e95037361609900278c0db7c53f SHA512 a5f0c2b1d16fd03e3bd3968a8304ed1c32a5b733440cd656ab2e0caabb2f7803ae1bfe7a8e331d5ebb1e8adbe21c5c47263bc73a8480bc16cc28f995241e9f4e WHIRLPOOL 8581d57e65f77b918ed98614e96726629c36c59e07700a32983482c16e0e40775351309465c55c4994fb830ca3044f9f74de05b673a63eeea53d1dc511a9b2ef
27
28 diff --git a/media-libs/gstreamer/files/gstreamer-1.6.3-fix-strsignal.patch b/media-libs/gstreamer/files/gstreamer-1.6.3-fix-strsignal.patch
29 deleted file mode 100644
30 index 9d717e8..00000000
31 --- a/media-libs/gstreamer/files/gstreamer-1.6.3-fix-strsignal.patch
32 +++ /dev/null
33 @@ -1,32 +0,0 @@
34 -Upstream split this one commit into two: c9da8b0 and d6e25dd because
35 -of some confusion. I've recombined it here. See:
36 -
37 -https://bugzilla.gnome.org/show_bug.cgi?id=763567
38 -https://bugs.gentoo.org/show_bug.cgi?id=577312
39 -
40 -diff --git a/libs/gst/check/libcheck/strsignal.c b/libs/gst/check/libcheck/strsignal.c
41 -index b79409b..57e71cd 100644
42 ---- a/libs/gst/check/libcheck/strsignal.c
43 -+++ b/libs/gst/check/libcheck/strsignal.c
44 -@@ -1,6 +1,6 @@
45 - #include "libcompat.h"
46 -
47 --const char *
48 -+char *
49 - strsignal (int sig)
50 - {
51 - static char signame[40];
52 -
53 -diff --git a/libs/gst/check/libcheck/libcompat.h b/libs/gst/check/libcheck/libcompat.h
54 -index 32f944c..f09289b 100644
55 ---- a/libs/gst/check/libcheck/libcompat.h
56 -+++ b/libs/gst/check/libcheck/libcompat.h
57 -@@ -101,7 +101,7 @@ CK_DLL_EXP char *strdup (const char *str);
58 - #endif /* !HAVE_DECL_STRDUP && HAVE__STRDUP */
59 -
60 - #if !HAVE_DECL_STRSIGNAL
61 --CK_DLL_EXP const char *strsignal (int sig);
62 -+CK_DLL_EXP char *strsignal (int sig);
63 - #endif /* !HAVE_DECL_STRSIGNAL */
64 -
65 - /*
66
67 diff --git a/media-libs/gstreamer/gstreamer-1.6.3.ebuild b/media-libs/gstreamer/gstreamer-1.6.3.ebuild
68 deleted file mode 100644
69 index fd465ed..00000000
70 --- a/media-libs/gstreamer/gstreamer-1.6.3.ebuild
71 +++ /dev/null
72 @@ -1,110 +0,0 @@
73 -# Copyright 1999-2016 Gentoo Foundation
74 -# Distributed under the terms of the GNU General Public License v2
75 -# $Id$
76 -
77 -EAPI="5"
78 -
79 -inherit bash-completion-r1 eutils multilib multilib-minimal pax-utils
80 -
81 -# yes the manifest code should get fixed
82 -
83 -DESCRIPTION="Open source multimedia framework"
84 -HOMEPAGE="https://gstreamer.freedesktop.org/"
85 -SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz"
86 -
87 -LICENSE="LGPL-2+"
88 -SLOT="1.0"
89 -KEYWORDS="alpha amd64 arm ~arm64 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"
90 -IUSE="+caps +introspection nls +orc test"
91 -
92 -RDEPEND="
93 - >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
94 - caps? ( sys-libs/libcap )
95 - introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
96 -"
97 -DEPEND="${RDEPEND}
98 - app-arch/xz-utils
99 - >=dev-util/gtk-doc-am-1.12
100 - sys-devel/bison
101 - sys-devel/flex
102 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
103 - nls? ( sys-devel/gettext )
104 -"
105 -# gtk-doc-am to install API docs
106 -
107 -src_prepare() {
108 - epatch "${FILESDIR}"/${P}-fix-strsignal.patch #577312
109 -}
110 -
111 -src_configure() {
112 - if [[ ${CHOST} == *-interix* ]] ; then
113 - export ac_cv_lib_dl_dladdr=no
114 - export ac_cv_func_poll=no
115 - fi
116 - if [[ ${CHOST} == powerpc-apple-darwin* ]] ; then
117 - # GCC groks this, but then refers to an implementation (___multi3,
118 - # ___udivti3) that don't exist (at least I can't find it), so force
119 - # this one to be off, such that we use 2x64bit emulation code.
120 - export gst_cv_uint128_t=no
121 - fi
122 -
123 - multilib-minimal_src_configure
124 -}
125 -
126 -multilib_src_configure() {
127 - # Set 'libexecdir' to ABI-specific location for the library spawns
128 - # helpers from there.
129 - # Disable static archives, dependency tracking and examples
130 - # to speed up build time
131 - # Disable debug, as it only affects -g passing (debugging symbols), this must done through make.conf in gentoo
132 - local myconf=(
133 - --libexecdir="${EPREFIX}"/usr/$(get_libdir)
134 - --disable-debug
135 - --disable-examples
136 - --disable-static
137 - --disable-valgrind
138 - --enable-check
139 - $(multilib_native_use_enable introspection)
140 - $(use_enable nls)
141 - $(use_enable test tests)
142 - --with-bash-completion-dir="$(get_bashcompdir)"
143 - --with-package-name="GStreamer ebuild for Gentoo"
144 - --with-package-origin="https://packages.gentoo.org/package/media-libs/gstreamer"
145 - )
146 -
147 - if use caps ; then
148 - myconf+=( --with-ptp-helper-permissions=capabilities )
149 - else
150 - myconf+=(
151 - --with-ptp-helper-permissions=setuid-root
152 - --with-ptp-helper-setuid-user=nobody
153 - --with-ptp-helper-setuid-group=nobody
154 - )
155 - fi
156 -
157 - ECONF_SOURCE="${S}" econf ${myconf[$@]}
158 -
159 - if multilib_is_native_abi; then
160 - local x
161 - for x in gst libs plugins; do
162 - ln -s "${S}"/docs/${x}/html docs/${x}/html || die
163 - done
164 - fi
165 -}
166 -
167 -multilib_src_install() {
168 - # can't do "default", we want to install docs in multilib_src_install_all
169 - emake DESTDIR="${D}" install
170 -
171 - # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
172 - use orc && pax-mark -m "${ED}usr/$(get_libdir)/gstreamer-${SLOT}/gst-plugin-scanner"
173 -}
174 -
175 -multilib_src_install_all() {
176 - DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README RELEASE"
177 - einstalldocs
178 - prune_libtool_files --modules
179 -
180 - # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
181 - use orc && pax-mark -m "${ED}usr/bin/gst-launch-${SLOT}"
182 -}
183
184 diff --git a/media-libs/gstreamer/gstreamer-1.8.2.ebuild b/media-libs/gstreamer/gstreamer-1.8.2.ebuild
185 deleted file mode 100644
186 index ac376ec..00000000
187 --- a/media-libs/gstreamer/gstreamer-1.8.2.ebuild
188 +++ /dev/null
189 @@ -1,101 +0,0 @@
190 -# Copyright 1999-2016 Gentoo Foundation
191 -# Distributed under the terms of the GNU General Public License v2
192 -# $Id$
193 -
194 -EAPI=6
195 -inherit bash-completion-r1 eutils multilib multilib-minimal pax-utils
196 -
197 -DESCRIPTION="Open source multimedia framework"
198 -HOMEPAGE="https://gstreamer.freedesktop.org/"
199 -SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz"
200 -
201 -LICENSE="LGPL-2+"
202 -SLOT="1.0"
203 -KEYWORDS="alpha ~amd64 ~arm ~arm64 ~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"
204 -IUSE="+caps +introspection nls +orc test"
205 -
206 -RDEPEND="
207 - >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]
208 - caps? ( sys-libs/libcap )
209 - introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
210 -"
211 -DEPEND="${RDEPEND}
212 - >=dev-util/gtk-doc-am-1.12
213 - sys-devel/bison
214 - sys-devel/flex
215 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
216 - nls? ( sys-devel/gettext )
217 -"
218 -# gtk-doc-am to install API docs
219 -
220 -src_configure() {
221 - if [[ ${CHOST} == *-interix* ]] ; then
222 - export ac_cv_lib_dl_dladdr=no
223 - export ac_cv_func_poll=no
224 - fi
225 - if [[ ${CHOST} == powerpc-apple-darwin* ]] ; then
226 - # GCC groks this, but then refers to an implementation (___multi3,
227 - # ___udivti3) that don't exist (at least I can't find it), so force
228 - # this one to be off, such that we use 2x64bit emulation code.
229 - export gst_cv_uint128_t=no
230 - fi
231 -
232 - multilib-minimal_src_configure
233 -}
234 -
235 -multilib_src_configure() {
236 - # Set 'libexecdir' to ABI-specific location for the library spawns
237 - # helpers from there.
238 - # Disable static archives and examples to speed up build time
239 - # Disable debug, as it only affects -g passing (debugging symbols), this must done through make.conf in gentoo
240 - local myconf=(
241 - --libexecdir="${EPREFIX}"/usr/$(get_libdir)
242 - --disable-debug
243 - --disable-examples
244 - --disable-static
245 - --disable-valgrind
246 - --enable-check
247 - $(multilib_native_use_enable introspection)
248 - $(use_enable nls)
249 - $(use_enable test tests)
250 - --with-bash-completion-dir="$(get_bashcompdir)"
251 - --with-package-name="GStreamer ebuild for Gentoo"
252 - --with-package-origin="https://packages.gentoo.org/package/media-libs/gstreamer"
253 - )
254 -
255 - if use caps ; then
256 - myconf+=( --with-ptp-helper-permissions=capabilities )
257 - else
258 - myconf+=(
259 - --with-ptp-helper-permissions=setuid-root
260 - --with-ptp-helper-setuid-user=nobody
261 - --with-ptp-helper-setuid-group=nobody
262 - )
263 - fi
264 -
265 - ECONF_SOURCE="${S}" econf ${myconf[$@]}
266 -
267 - if multilib_is_native_abi; then
268 - local x
269 - for x in gst libs plugins; do
270 - ln -s "${S}"/docs/${x}/html docs/${x}/html || die
271 - done
272 - fi
273 -}
274 -
275 -multilib_src_install() {
276 - # can't do "default", we want to install docs in multilib_src_install_all
277 - emake DESTDIR="${D}" install
278 -
279 - # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
280 - use orc && pax-mark -m "${ED}usr/$(get_libdir)/gstreamer-${SLOT}/gst-plugin-scanner"
281 -}
282 -
283 -multilib_src_install_all() {
284 - DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README RELEASE"
285 - einstalldocs
286 - prune_libtool_files --modules
287 -
288 - # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
289 - use orc && pax-mark -m "${ED}usr/bin/gst-launch-${SLOT}"
290 -}