Gentoo Archives: gentoo-commits

From: gerion <gerion.entrup@×××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/user/gerislay:master commit in: media-libs/xine-lib/files/, media-libs/xine-lib/
Date: Sat, 20 Apr 2019 23:40:19
Message-Id: 1555782265.c629075012b7705c024616f0ce1334aec9e24dda.gerion@gentoo
1 commit: c629075012b7705c024616f0ce1334aec9e24dda
2 Author: Gerion Entrup <gerion.entrup <AT> flump <DOT> de>
3 AuthorDate: Sat Apr 20 17:44:25 2019 +0000
4 Commit: gerion <gerion.entrup <AT> flump <DOT> de>
5 CommitDate: Sat Apr 20 17:44:25 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/user/gerislay.git/commit/?id=c6290750
7
8 media-libs/xine-lib: drop, in tree now
9
10 Signed-off-by: Gerion Entrup <gerion.entrup <AT> flump.de>
11
12 media-libs/xine-lib/Manifest | 4 -
13 .../files/xine-lib-1.2.6-imagemagick7.patch | 13 --
14 media-libs/xine-lib/metadata.xml | 69 -------
15 media-libs/xine-lib/xine-lib-1.2.9-r2.ebuild | 227 ---------------------
16 4 files changed, 313 deletions(-)
17
18 diff --git a/media-libs/xine-lib/Manifest b/media-libs/xine-lib/Manifest
19 deleted file mode 100644
20 index 37a7e6d..0000000
21 --- a/media-libs/xine-lib/Manifest
22 +++ /dev/null
23 @@ -1,4 +0,0 @@
24 -AUX xine-lib-1.2.6-imagemagick7.patch 384 SHA256 b0d263ea712f367172a9a23bbd9fa228628c50636220c4201e1c9b41fb1377fe SHA512 13badc72163f41a14fa85d84cbc835a396ab2bc195125025962257de4a41925e29c74159c3941472334f9eb10feee4278ea96288201689d5fcc48c494940ceb9 WHIRLPOOL 283a32868c7c3993b8559e58fd3a31e2709f4dfb6b89af80e89f71ad9194b292656dc896233fd8d4b109951080b74a53633895ae9280dba9907ac650746d09be
25 -DIST xine-lib-1.2.9.tar.xz 5180452 SHA256 32b34e8049feb762d75a551d5d2cdb56c396fdd83e35b9b7de5fd08e498e948d SHA512 bc672b32d6d72e6fa5641319e0bd15d721ea4b65e6d025e3cdbf6ba3655a7b2c714809d919a53fca8a908a7ce37541a341c13dd8a336799c2e942d5f86b84d3c WHIRLPOOL f5759a4fcaa95e3fe3cfa6b6843a21f8c6456569251f7066a20d859794b7a390685e72c2d0755fdea8e74dfc1ad0e566c61ac0a7c6ac1cb8062ef2a301a775c7
26 -EBUILD xine-lib-1.2.9-r2.ebuild 5465 SHA256 6bcb2f28793486029ea73f5058e3be42b2eb6540fb118a2acf0925305da502c6 SHA512 1e466621be194571a7af5fdcfe1337f55a510b0ae93e33d0c16828c131ee3f494a263e0c85073d71a05ba270fb574b3bf087f9d227b7d0a9011b3596c8b67912 WHIRLPOOL dbd16f622453d7854ca3073d2700b73065c7359c4a638680a6c12596408549946024d240d50beef071281d8b08b5210c85941cdc51ef72b25cb1769c19a5e238
27 -MISC metadata.xml 2668 SHA256 9ac93ae2c04bad6f6712784dd0b0dd1963e672982b4fb1614c3aafce19a1e22f SHA512 17263da5cdc28752dc9344b9806665d236d8a5d3ccad7b19209912a3510b17c9d6587fd1aa847e509a3c4accd53cc96c7d1fc476f6adf9aa63c90b7eed45183b WHIRLPOOL 169388bb12822ad114445dbe52d0fa2dae041922f98e466cea183fcf892ca1b8db40ebc4f9f4d40cae6323f4e6ae562e8d3166a835e776f5ac9e112f5894f3ed
28
29 diff --git a/media-libs/xine-lib/files/xine-lib-1.2.6-imagemagick7.patch b/media-libs/xine-lib/files/xine-lib-1.2.6-imagemagick7.patch
30 deleted file mode 100644
31 index 3406222..0000000
32 --- a/media-libs/xine-lib/files/xine-lib-1.2.6-imagemagick7.patch
33 +++ /dev/null
34 @@ -1,13 +0,0 @@
35 -http://git.pld-linux.org/?p=packages/xine-lib.git;a=blob;f=imagemagick7.patch;h=d050323cdf509c9bb5f8edbad90084e8ce5c1b38;hb=HEAD
36 -
37 ---- xine-lib-1.2.6/src/video_dec/image.c
38 -+++ xine-lib-1.2.6/src/video_dec/image.c
39 -@@ -39,7 +39,7 @@
40 - #define LOG
41 - */
42 -
43 --#include <wand/magick_wand.h>
44 -+#include <MagickWand/MagickWand.h>
45 - #ifdef PACKAGE_NAME
46 - #undef PACKAGE_BUGREPORT
47 - #undef PACKAGE_NAME
48
49 diff --git a/media-libs/xine-lib/metadata.xml b/media-libs/xine-lib/metadata.xml
50 deleted file mode 100644
51 index 9d10869..0000000
52 --- a/media-libs/xine-lib/metadata.xml
53 +++ /dev/null
54 @@ -1,69 +0,0 @@
55 -<?xml version="1.0" encoding="UTF-8"?>
56 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
57 -<pkgmetadata>
58 - <maintainer type="project">
59 - <email>media-video@g.o</email>
60 - </maintainer>
61 - <longdescription>An open source library for media applications</longdescription>
62 - <use>
63 - <flag name="bluray">
64 - Enable playback of Blu-ray filesystems using <pkg>media-libs/libbluray</pkg>
65 - </flag>
66 - <flag name="dxr3">
67 - Enable support for DXR3 mpeg acceleration cards.
68 - </flag>
69 - <flag name="flac">
70 - Build the <pkg>media-libs/flac</pkg> based FLAC demuxer and decoder. This
71 - flag is not needed for playing FLAC content, neither standalone nor in Ogg
72 - container (OggFLAC), but might have better support for exotic features like
73 - 24-bit samples or 96kHz sample rates.
74 - </flag>
75 - <flag name="fusionsound">
76 - Enable support for the Fusion audio sub system
77 - </flag>
78 - <flag name="gtk">
79 - Build the gdkpixbuf-based image decoder plugin.
80 - </flag>
81 - <flag name="imagemagick">
82 - Build the ImageMagick-based image decoder plugin.
83 - </flag>
84 - <flag name="mad">
85 - Build the <pkg>media-libs/libmad</pkg> based mp3 decoder. This mp3 decoder
86 - has superior support compared to the one coming from FFmpeg that is used as
87 - a fallback. If you experience any bad behaviour with mp3 files (skipping,
88 - distorted sound) make sure you enabled this USE flag.
89 - </flag>
90 - <flag name="mmap">
91 - Use mmap() function while reading file from local disks. Using mmap() will
92 - use more virtual memory space, but leaves to the Kernel the task of caching
93 - the file's data. mmap() access should be faster, but might misbehave if the
94 - device where the file resides in is removed during playback.
95 - </flag>
96 - <flag name="truetype">
97 - Use <pkg>media-libs/freetype</pkg> for font rendering and
98 - <pkg>media-libs/fontconfig</pkg> for font discovery. Enabling this USE flag
99 - will allow OSD (such as subtitles) to use more advanced font and to more
100 - easily select which font to use. The support for TrueType fonts in xine-lib
101 - is still experimental, and might not be as good looking as the bitmap fonts
102 - used with this USE flag disabled.
103 - </flag>
104 - <flag name="vdr">
105 - Build the VDR plugin
106 - </flag>
107 - <flag name="vidix">
108 - Enable support for vidix video output.
109 - </flag>
110 - <flag name="vis">
111 - Adds support for SIMD optimizations for UltraSPARC processors.
112 - </flag>
113 - <flag name="vpx">
114 - Enable VP8 codec support via media-libs/libvpx.
115 - </flag>
116 - <flag name="xvmc">
117 - Enable support for XVideo Motion Compensation (accelerated mpeg playback).
118 - </flag>
119 - </use>
120 - <upstream>
121 - <remote-id type="sourceforge">xine</remote-id>
122 - </upstream>
123 -</pkgmetadata>
124
125 diff --git a/media-libs/xine-lib/xine-lib-1.2.9-r2.ebuild b/media-libs/xine-lib/xine-lib-1.2.9-r2.ebuild
126 deleted file mode 100644
127 index bfa6c1f..0000000
128 --- a/media-libs/xine-lib/xine-lib-1.2.9-r2.ebuild
129 +++ /dev/null
130 @@ -1,227 +0,0 @@
131 -# Copyright 1999-2018 Gentoo Foundation
132 -# Distributed under the terms of the GNU General Public License v2
133 -
134 -EAPI=6
135 -
136 -inherit flag-o-matic libtool multilib
137 -
138 -if [[ ${PV} == *9999* ]]; then
139 - EHG_REPO_URI="http://hg.debian.org/hg/xine-lib/xine-lib-1.2"
140 - inherit autotools mercurial
141 - unset NLS_IUSE
142 - NLS_DEPEND="sys-devel/gettext"
143 - NLS_RDEPEND="virtual/libintl"
144 -else
145 - KEYWORDS="~amd64 ~arm64 ~hppa ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd"
146 - SRC_URI="mirror://sourceforge/xine/${P}.tar.xz"
147 - NLS_IUSE="nls"
148 - NLS_DEPEND="nls? ( sys-devel/gettext )"
149 - NLS_RDEPEND="nls? ( virtual/libintl )"
150 -fi
151 -
152 -DESCRIPTION="Core libraries for Xine movie player"
153 -HOMEPAGE="http://xine.sourceforge.net/"
154 -
155 -LICENSE="GPL-2"
156 -SLOT="1"
157 -IUSE="a52 aac aalib +alsa altivec bluray +css dts dvb dxr3 fbcon flac fusionsound gtk imagemagick ipv6 jack jpeg libav libcaca mad +mmap mng modplug musepack opengl oss pulseaudio samba sdl speex theora truetype v4l vaapi vcd vdpau vdr vidix +vis vorbis vpx wavpack +X +xcb xinerama +xv xvmc ${NLS_IUSE}"
158 -
159 -RDEPEND="${NLS_RDEPEND}
160 - dev-libs/libxdg-basedir
161 - media-libs/libdvdnav
162 - sys-libs/zlib
163 - virtual/libiconv
164 - a52? ( media-libs/a52dec )
165 - aac? ( media-libs/faad2 )
166 - aalib? ( media-libs/aalib )
167 - alsa? ( media-libs/alsa-lib )
168 - bluray? ( >=media-libs/libbluray-0.2.1:= )
169 - css? ( >=media-libs/libdvdcss-1.2.10 )
170 - dts? ( media-libs/libdca )
171 - dxr3? ( media-libs/libfame )
172 - flac? ( media-libs/flac )
173 - fusionsound? ( >=dev-libs/DirectFB-1.7.1[fusionsound] )
174 - gtk? ( x11-libs/gdk-pixbuf:2 )
175 - imagemagick? ( virtual/imagemagick-tools )
176 - jack? ( virtual/jack )
177 - jpeg? ( virtual/jpeg:0 )
178 - !libav? ( media-video/ffmpeg:0= )
179 - libav? (
180 - media-libs/libpostproc:0=
181 - media-video/libav:0=
182 - )
183 - libcaca? ( media-libs/libcaca )
184 - mad? ( media-libs/libmad )
185 - mng? ( media-libs/libmng )
186 - modplug? ( >=media-libs/libmodplug-0.8.8.1 )
187 - musepack? ( >=media-sound/musepack-tools-444 )
188 - opengl? (
189 - virtual/glu
190 - virtual/opengl
191 - )
192 - pulseaudio? ( media-sound/pulseaudio )
193 - samba? ( net-fs/samba )
194 - sdl? ( media-libs/libsdl )
195 - speex? (
196 - media-libs/libogg
197 - media-libs/speex
198 - )
199 - theora? (
200 - media-libs/libogg
201 - media-libs/libtheora
202 - )
203 - truetype? (
204 - media-libs/fontconfig
205 - media-libs/freetype:2
206 - )
207 - v4l? ( media-libs/libv4l )
208 - vaapi? ( x11-libs/libva:0=[X,opengl] )
209 - vcd? (
210 - >=media-video/vcdimager-0.7.23
211 - dev-libs/libcdio:0=[-minimal]
212 - )
213 - vdpau? ( x11-libs/libvdpau )
214 - vorbis? (
215 - media-libs/libogg
216 - media-libs/libvorbis
217 - )
218 - vpx? ( media-libs/libvpx:0= )
219 - wavpack? ( media-sound/wavpack )
220 - X? (
221 - x11-libs/libX11
222 - x11-libs/libXext
223 - )
224 - xcb? ( x11-libs/libxcb )
225 - xinerama? ( x11-libs/libXinerama )
226 - xv? ( x11-libs/libXv )
227 - xvmc? ( x11-libs/libXvMC )"
228 -DEPEND="${RDEPEND}
229 - ${NLS_DEPEND}
230 - app-arch/xz-utils
231 - virtual/pkgconfig
232 - >=sys-devel/libtool-2.2.6b
233 - oss? ( virtual/os-headers )
234 - v4l? ( virtual/os-headers )
235 - X? (
236 - x11-libs/libXt
237 - x11-proto/xf86vidmodeproto
238 - x11-proto/xproto
239 - )
240 - xv? ( x11-proto/videoproto )
241 - xvmc? ( x11-proto/videoproto )
242 - xinerama? ( x11-proto/xineramaproto )"
243 -REQUIRED_USE="vidix? ( || ( X fbcon ) )
244 - xv? ( X )
245 - xinerama? ( X )"
246 -
247 -src_prepare() {
248 - default
249 -
250 - if has_version '>=media-gfx/imagemagick-7.0.1.0' ; then
251 - eapply "${FILESDIR}/${PN}-1.2.6-imagemagick7.patch"
252 - fi
253 -
254 - sed -i -e '/define VDR_ABS_FIFO_DIR/s|".*"|"/var/vdr/xine"|' src/vdr/input_vdr.c || die
255 -
256 - if [[ "${PV}" = *9999* ]] ; then
257 - eautoreconf
258 - else
259 - elibtoolize
260 - fi
261 -
262 - local x
263 - for x in 0 1 2 3; do
264 - sed -i -e "/^O${x}_CFLAGS=\"-O${x}\"/d" configure || die
265 - done
266 -}
267 -
268 -src_configure() {
269 - [[ ${CHOST} == i?86-* ]] && append-flags -fomit-frame-pointer #422519
270 -
271 - local win32dir #197236
272 - if has_multilib_profile; then
273 - win32dir=/usr/$(ABI="x86" get_libdir)/win32
274 - else
275 - win32dir=/usr/$(get_libdir)/win32
276 - fi
277 -
278 - local myconf=(
279 - --disable-directfb
280 - --disable-gnomevfs
281 - --disable-optimizations
282 - --disable-real-codecs
283 - --disable-v4l
284 - --disable-w32dll
285 - --with-external-dvdnav
286 - --with-real-codecs-path=/usr/$(get_libdir)/codecs
287 - --with-w32-path=${win32dir}
288 - --with-xv-path=/usr/$(get_libdir)
289 - --without-esound
290 - $(use_enable a52 a52dec)
291 - $(use_enable aac faad)
292 - $(use_enable aalib)
293 - $(use_enable altivec)
294 - $(use_enable bluray)
295 - $(use_enable dts)
296 - $(use_enable dvb)
297 - $(use_enable dxr3)
298 - $(use_enable fbcon fb)
299 - $(use_enable gtk gdkpixbuf)
300 - $(use_enable ipv6)
301 - $(use_enable jpeg libjpeg)
302 - $(use_enable mad)
303 - $(use_enable mmap)
304 - $(use_enable mng)
305 - $(use_enable modplug)
306 - $(use_enable musepack)
307 - $(use_enable opengl)
308 - $(use_enable opengl glu)
309 - $(use_enable oss)
310 - $(use_enable samba)
311 - $(use_enable v4l libv4l)
312 - $(use_enable v4l v4l2)
313 - $(use_enable vaapi)
314 - $(use_enable vdpau)
315 - $(use_enable vis)
316 - $(use_enable vidix)
317 - $(use_enable xinerama)
318 - $(use_enable xvmc)
319 - $(use_enable vcd)
320 - $(use_enable vdr)
321 - $(use_enable vpx)
322 - $(use_with alsa)
323 - $(use_with flac libflac)
324 - $(use_with fusionsound)
325 - $(use_with imagemagick)
326 - $(use_with jack)
327 - $(use_with libcaca caca)
328 - $(use_with pulseaudio)
329 - $(use_with sdl)
330 - $(use_with speex)
331 - $(use_with theora)
332 - $(use_with truetype fontconfig)
333 - $(use_with truetype freetype)
334 - $(use_with vorbis)
335 - $(use_with wavpack)
336 - $(use_with X x)
337 - $(use_with xcb)
338 - )
339 - [[ ${PV} == *9999* ]] || myconf+=( $(use_enable nls) )
340 -
341 - if ! use libav && has_version '>=media-video/ffmpeg-2.2:0'; then
342 - myconf+=( --enable-avformat ) #507474
343 - fi
344 -
345 - econf "${myconf[@]}"
346 -}
347 -
348 -src_compile() {
349 - # enable verbose building, bug #448140
350 - emake V=1
351 -}
352 -
353 -src_install() {
354 - default
355 - find "${D}" -name '*.la' -delete || die
356 - rm -f "${ED}"usr/share/doc/${PF}/COPYING
357 -}