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/, media-libs/gstreamer/files/
Date: Tue, 15 Jan 2019 23:38:34
Message-Id: 1547595342.1ce74bd7f557ddfa7b3f7fe0345f86dad4cc6a11.leio@gentoo
1 commit: 1ce74bd7f557ddfa7b3f7fe0345f86dad4cc6a11
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 15 23:35:42 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 15 23:35:42 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ce74bd7
7
8 media-libs/gstreamer: remove old
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 media-libs/gstreamer/Manifest | 2 -
14 .../files/1.14.3-fix-gstsegment-test.patch | 46 ---------
15 media-libs/gstreamer/gstreamer-1.14.2.ebuild | 111 --------------------
16 media-libs/gstreamer/gstreamer-1.14.3.ebuild | 115 ---------------------
17 4 files changed, 274 deletions(-)
18
19 diff --git a/media-libs/gstreamer/Manifest b/media-libs/gstreamer/Manifest
20 index a0a6a3781b0..c2ba6ccfc53 100644
21 --- a/media-libs/gstreamer/Manifest
22 +++ b/media-libs/gstreamer/Manifest
23 @@ -1,5 +1,3 @@
24 DIST gstreamer-0.10.36.tar.xz 3025876 BLAKE2B f0f70f483e8ccb2a294fb3bc8b51aac089f5e76522249b64e3e60e7b488a9e03b9300617e2c137bdcc0e3e61668b7b203e899f270f004e2dfcee0927fa7dfc3c SHA512 7468abb578398681d2adb0e9bbc9ee8ae25aaef72369d45a66ada6c67d1759afdce606cb32e68d9e30ae813196bdfef3d4d33202bc77839cc1fbf5fc436c1bd8
25 DIST gstreamer-1.14.1.tar.xz 3252440 BLAKE2B c2142621b126926dd9ec886f0478154b3f0d9b7adebc6169200b8bc7e4cd089dfe77cab2b436bf3c74cbcae5f84c95afbd05ba282d0afe3e8e226e6bc0f33e33 SHA512 9cf16d79774293dd7fa10c08f6628b83f4e77f0386bebbfd47ded0498e4abd48eee1aee164af53d59fbea2d395e42eb5a12ef4b8f631bc4fd5d4f69545191f9b
26 -DIST gstreamer-1.14.2.tar.xz 3255404 BLAKE2B 290e8fec3eb6629a0e6e8f01c7c027fcc085f632afeac1ffe7bd4f1d8a9a3d3b78145334a11c91fcabea40b9f202a3b451ca55db13fd23be66c7167c76614932 SHA512 270dba318d15b54fff6e09d09d77dea13be55bbf82a5bb510efb43f954e234230505366cc6f19f5431e2dd24f5a7734daf5a89d9bd94de8302ed722df0e1eb84
27 -DIST gstreamer-1.14.3.tar.xz 3263036 BLAKE2B 20170b831064ea49565d7a4529563e4e9273def28d33eda779c7e3f4a60989b64844c271da529bdbbaebf80a8a86c37b97af4a18c4d0aae6182be608f3dcf345 SHA512 bfbf76219b5275b00253797323c4fc7b4edb8513d5441c80a8f778b418837c68e9ff37a72a78ac2431a051e813397fb01464bebddd1522b9e4a225ed505342b7
28 DIST gstreamer-1.14.4.tar.xz 3264324 BLAKE2B d51febcd7c317964a09dadb4d3bd3ee7a60ac38bef28cdd7d42f49a7b710d6f6180ca7edee1765c8d146f7e3e852e93d0d5f69962089a653cfc3e6bd4ab42f89 SHA512 7ece9f01d40df7c8358482eac94536c5e15261e9568962008e2029e1ee1b3ebb220d2e4802ed1c81c40d897576fafe52234065e273724bfb4df3a3ddf2711abe
29
30 diff --git a/media-libs/gstreamer/files/1.14.3-fix-gstsegment-test.patch b/media-libs/gstreamer/files/1.14.3-fix-gstsegment-test.patch
31 deleted file mode 100644
32 index 9b2fb2402e1..00000000000
33 --- a/media-libs/gstreamer/files/1.14.3-fix-gstsegment-test.patch
34 +++ /dev/null
35 @@ -1,46 +0,0 @@
36 -From 0a479c3cdc5d5745b6cc5084d5faf3b0ab8e604a Mon Sep 17 00:00:00 2001
37 -From: Jan Schmidt <jan@×××××××××××.com>
38 -Date: Mon, 17 Sep 2018 22:13:22 +1000
39 -Subject: [PATCH] tests: Use a different rate in a segment test.
40 -
41 -Using a rate of 1.1 in the test is causing the test to
42 -fail on 32-bit because ceil(1.1 * 10) can round to 12.
43 -
44 -Instead use a rate 2.0 that can be expressed as floating
45 -point number and doesn't trigger the problem.
46 -
47 -https://bugzilla.gnome.org/show_bug.cgi?id=797154
48 ----
49 - tests/check/gst/gstsegment.c | 6 +++---
50 - 1 file changed, 3 insertions(+), 3 deletions(-)
51 -
52 -diff --git a/tests/check/gst/gstsegment.c b/tests/check/gst/gstsegment.c
53 -index 17ad18c2f..751469d76 100644
54 ---- a/tests/check/gst/gstsegment.c
55 -+++ b/tests/check/gst/gstsegment.c
56 -@@ -888,7 +888,7 @@ GST_START_TEST (segment_full)
57 - fail_unless_equals_int (pos, 190);
58 -
59 - /* Test a non-1.0 rate that lands right before the segment, but still +ve */
60 -- segment.rate = 1.1;
61 -+ segment.rate = 2.0;
62 - segment.start = 100;
63 - segment.offset = 0;
64 - segment.stop = 500;
65 -@@ -897,11 +897,11 @@ GST_START_TEST (segment_full)
66 - segment.time = 10000;
67 - fail_unless (gst_segment_position_from_running_time_full (&segment,
68 - GST_FORMAT_TIME, 140, &pos) == 1);
69 -- fail_unless (pos == 89);
70 -+ fail_unless (pos == 80);
71 - /* And now one that should give a position < 0 */
72 - fail_unless (gst_segment_position_from_running_time_full (&segment,
73 - GST_FORMAT_TIME, 0, &pos) == -1);
74 -- fail_unless (pos == 65);
75 -+ fail_unless (pos == 200);
76 -
77 - /* Test a non-1.0 negative rate that lands right after the (reversed) segment, but still +ve position */
78 - segment.rate = -2.0;
79 ---
80 -2.17.0
81 -
82
83 diff --git a/media-libs/gstreamer/gstreamer-1.14.2.ebuild b/media-libs/gstreamer/gstreamer-1.14.2.ebuild
84 deleted file mode 100644
85 index fcdb78c174d..00000000000
86 --- a/media-libs/gstreamer/gstreamer-1.14.2.ebuild
87 +++ /dev/null
88 @@ -1,111 +0,0 @@
89 -# Copyright 1999-2018 Gentoo Foundation
90 -# Distributed under the terms of the GNU General Public License v2
91 -
92 -EAPI=6
93 -
94 -inherit bash-completion-r1 multilib-minimal pax-utils
95 -
96 -DESCRIPTION="Open source multimedia framework"
97 -HOMEPAGE="https://gstreamer.freedesktop.org/"
98 -SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz"
99 -
100 -LICENSE="LGPL-2+"
101 -SLOT="1.0"
102 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
103 -IUSE="+caps +introspection nls +orc test unwind"
104 -
105 -RDEPEND="
106 - >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]
107 - caps? ( sys-libs/libcap[${MULTILIB_USEDEP}] )
108 - introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
109 - unwind? (
110 - >=sys-libs/libunwind-1.2_rc1[${MULTILIB_USEDEP}]
111 - dev-libs/elfutils[${MULTILIB_USEDEP}]
112 - )
113 - !<media-libs/gst-plugins-bad-1.13.1:1.0
114 -"
115 -DEPEND="${RDEPEND}
116 - dev-util/glib-utils
117 - >=dev-util/gtk-doc-am-1.12
118 - sys-devel/bison
119 - sys-devel/flex
120 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
121 - nls? ( sys-devel/gettext )
122 -"
123 -# gtk-doc-am to install API docs
124 -
125 -src_configure() {
126 - if [[ ${CHOST} == *-interix* ]] ; then
127 - export ac_cv_lib_dl_dladdr=no
128 - export ac_cv_func_poll=no
129 - fi
130 - if [[ ${CHOST} == powerpc-apple-darwin* ]] ; then
131 - # GCC groks this, but then refers to an implementation (___multi3,
132 - # ___udivti3) that don't exist (at least I can't find it), so force
133 - # this one to be off, such that we use 2x64bit emulation code.
134 - export gst_cv_uint128_t=no
135 - fi
136 -
137 - multilib-minimal_src_configure
138 -}
139 -
140 -multilib_src_configure() {
141 - local completiondir=$(get_bashcompdir)
142 - # Set 'libexecdir' to ABI-specific location for the library spawns
143 - # helpers from there.
144 - # Disable static archives and examples to speed up build time
145 - # Disable debug, as it only affects -g passing (debugging symbols), this must done through make.conf in gentoo
146 - local myconf=(
147 - --libexecdir="${EPREFIX}"/usr/$(get_libdir)
148 - --disable-benchmarks
149 - --disable-debug
150 - --disable-examples
151 - --disable-static
152 - --disable-valgrind
153 - --enable-check
154 - $(use_with unwind)
155 - $(use_with unwind dw)
156 - $(multilib_native_use_enable introspection)
157 - $(use_enable nls)
158 - $(use_enable test tests)
159 - --with-bash-completion-dir="${completiondir%/*}"
160 - --with-package-name="GStreamer ebuild for Gentoo"
161 - --with-package-origin="https://packages.gentoo.org/package/media-libs/gstreamer"
162 - )
163 -
164 - if use caps ; then
165 - myconf+=( --with-ptp-helper-permissions=capabilities )
166 - else
167 - myconf+=(
168 - --with-ptp-helper-permissions=setuid-root
169 - --with-ptp-helper-setuid-user=nobody
170 - --with-ptp-helper-setuid-group=nobody
171 - )
172 - fi
173 -
174 - ECONF_SOURCE="${S}" econf "${myconf[@]}"
175 -
176 - if multilib_is_native_abi; then
177 - local x
178 - for x in gst libs plugins; do
179 - ln -s "${S}"/docs/${x}/html docs/${x}/html || die
180 - done
181 - fi
182 -}
183 -
184 -multilib_src_install() {
185 - # can't do "default", we want to install docs in multilib_src_install_all
186 - emake DESTDIR="${D}" install
187 -
188 - # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
189 - use orc && pax-mark -m "${ED}usr/$(get_libdir)/gstreamer-${SLOT}/gst-plugin-scanner"
190 -}
191 -
192 -multilib_src_install_all() {
193 - DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README RELEASE"
194 - einstalldocs
195 - find "${ED}" -name '*.la' -delete || die
196 -
197 - # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
198 - use orc && pax-mark -m "${ED}usr/bin/gst-launch-${SLOT}"
199 -}
200
201 diff --git a/media-libs/gstreamer/gstreamer-1.14.3.ebuild b/media-libs/gstreamer/gstreamer-1.14.3.ebuild
202 deleted file mode 100644
203 index ff1a74c70a2..00000000000
204 --- a/media-libs/gstreamer/gstreamer-1.14.3.ebuild
205 +++ /dev/null
206 @@ -1,115 +0,0 @@
207 -# Copyright 1999-2018 Gentoo Foundation
208 -# Distributed under the terms of the GNU General Public License v2
209 -
210 -EAPI=6
211 -
212 -inherit bash-completion-r1 multilib-minimal pax-utils
213 -
214 -DESCRIPTION="Open source multimedia framework"
215 -HOMEPAGE="https://gstreamer.freedesktop.org/"
216 -SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz"
217 -
218 -LICENSE="LGPL-2+"
219 -SLOT="1.0"
220 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
221 -IUSE="+caps +introspection nls +orc test unwind"
222 -
223 -RDEPEND="
224 - >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]
225 - caps? ( sys-libs/libcap[${MULTILIB_USEDEP}] )
226 - introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
227 - unwind? (
228 - >=sys-libs/libunwind-1.2_rc1[${MULTILIB_USEDEP}]
229 - dev-libs/elfutils[${MULTILIB_USEDEP}]
230 - )
231 - !<media-libs/gst-plugins-bad-1.13.1:1.0
232 -"
233 -DEPEND="${RDEPEND}
234 - dev-util/glib-utils
235 - >=dev-util/gtk-doc-am-1.12
236 - sys-devel/bison
237 - sys-devel/flex
238 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
239 - nls? ( sys-devel/gettext )
240 -"
241 -# gtk-doc-am to install API docs
242 -
243 -PATCHES=(
244 - "${FILESDIR}"/${PV}-fix-gstsegment-test.patch
245 -)
246 -
247 -src_configure() {
248 - if [[ ${CHOST} == *-interix* ]] ; then
249 - export ac_cv_lib_dl_dladdr=no
250 - export ac_cv_func_poll=no
251 - fi
252 - if [[ ${CHOST} == powerpc-apple-darwin* ]] ; then
253 - # GCC groks this, but then refers to an implementation (___multi3,
254 - # ___udivti3) that don't exist (at least I can't find it), so force
255 - # this one to be off, such that we use 2x64bit emulation code.
256 - export gst_cv_uint128_t=no
257 - fi
258 -
259 - multilib-minimal_src_configure
260 -}
261 -
262 -multilib_src_configure() {
263 - local completiondir=$(get_bashcompdir)
264 - # Set 'libexecdir' to ABI-specific location for the library spawns
265 - # helpers from there.
266 - # Disable static archives and examples to speed up build time
267 - # Disable debug, as it only affects -g passing (debugging symbols), this must done through make.conf in gentoo
268 - local myconf=(
269 - --libexecdir="${EPREFIX}"/usr/$(get_libdir)
270 - --disable-benchmarks
271 - --disable-debug
272 - --disable-examples
273 - --disable-static
274 - --disable-valgrind
275 - --enable-check
276 - $(use_with unwind)
277 - $(use_with unwind dw)
278 - $(multilib_native_use_enable introspection)
279 - $(use_enable nls)
280 - $(use_enable test tests)
281 - --with-bash-completion-dir="${completiondir%/*}"
282 - --with-package-name="GStreamer ebuild for Gentoo"
283 - --with-package-origin="https://packages.gentoo.org/package/media-libs/gstreamer"
284 - )
285 -
286 - if use caps ; then
287 - myconf+=( --with-ptp-helper-permissions=capabilities )
288 - else
289 - myconf+=(
290 - --with-ptp-helper-permissions=setuid-root
291 - --with-ptp-helper-setuid-user=nobody
292 - --with-ptp-helper-setuid-group=nobody
293 - )
294 - fi
295 -
296 - ECONF_SOURCE="${S}" econf "${myconf[@]}"
297 -
298 - if multilib_is_native_abi; then
299 - local x
300 - for x in gst libs plugins; do
301 - ln -s "${S}"/docs/${x}/html docs/${x}/html || die
302 - done
303 - fi
304 -}
305 -
306 -multilib_src_install() {
307 - # can't do "default", we want to install docs in multilib_src_install_all
308 - emake DESTDIR="${D}" install
309 -
310 - # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
311 - use orc && pax-mark -m "${ED}usr/$(get_libdir)/gstreamer-${SLOT}/gst-plugin-scanner"
312 -}
313 -
314 -multilib_src_install_all() {
315 - DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README RELEASE"
316 - einstalldocs
317 - find "${ED}" -name '*.la' -delete || die
318 -
319 - # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
320 - use orc && pax-mark -m "${ED}usr/bin/gst-launch-${SLOT}"
321 -}