From a96f008f225ae56735af64a6572cbed35e88ee89 Mon Sep 17 00:00:00 2001 From: Matthias Schwarzott Date: Tue, 21 Apr 2009 20:36:27 +0000 Subject: moved to extra overlay called vdr-xine svn path=/testing/; revision=545 --- media-libs/xine-lib/ChangeLog | 162 --------------------- media-libs/xine-lib/Manifest | 16 --- media-libs/xine-lib/metadata.xml | 79 ----------- media-libs/xine-lib/xine-lib-1.1.16.3.ebuild | 204 --------------------------- media-libs/xine-lib/xine-lib-9999.ebuild | 188 ------------------------ 5 files changed, 649 deletions(-) delete mode 100644 media-libs/xine-lib/ChangeLog delete mode 100644 media-libs/xine-lib/Manifest delete mode 100644 media-libs/xine-lib/metadata.xml delete mode 100644 media-libs/xine-lib/xine-lib-1.1.16.3.ebuild delete mode 100644 media-libs/xine-lib/xine-lib-9999.ebuild diff --git a/media-libs/xine-lib/ChangeLog b/media-libs/xine-lib/ChangeLog deleted file mode 100644 index 5a07cf6..0000000 --- a/media-libs/xine-lib/ChangeLog +++ /dev/null @@ -1,162 +0,0 @@ -# ChangeLog for media-libs/xine-lib -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - - 16 Apr 2009; Matthias Schwarzott - -files/xine-lib-1.1.15-GetImagePixels.patch, - -files/xine-lib-1.1.15-buffer_h_ansi.patch, - -files/xine-lib-1.1.15-ffmpeg.patch, - -files/xine-lib-1.1.15-libmpeg2-vis.patch, - -files/xine-lib-1.1.16.2-avutil.patch, -xine-lib-1.1.15-r1.ebuild, - -xine-lib-1.1.16.1.ebuild, -xine-lib-1.1.16.2.ebuild, - xine-lib-1.1.16.3.ebuild: - Remove old stuff - sync to gentoo.org - - 09 Apr 2009; Matthias Schwarzott - xine-lib-1.1.16.3.ebuild: - Sync keywords to gentoo.org - - 06 Apr 2009; Matthias Schwarzott - +files/xine-lib-1.1.16.2-avutil.patch, xine-lib-1.1.16.2.ebuild, - +xine-lib-1.1.16.3.ebuild: - Sync to gentoo.org versions. - - 11 Feb 2009; Matthias Schwarzott - xine-lib-1.1.16.1.ebuild, +xine-lib-1.1.16.2.ebuild: - Keep up with gentoo.org ebuilds - - 18 Jan 2009; Matthias Schwarzott - +files/xine-lib-1.1.15-GetImagePixels.patch, xine-lib-1.1.15-r1.ebuild, - +xine-lib-1.1.16.1.ebuild: - Updated 1.1.15-r1 ebuild. Added 1.1.16.1 ebuild with new vdr-xine patch. - - 21 Oct 2008; Matthias Schwarzott - -files/xine-lib-1.1.8-dxr3.patch, - -files/xine-lib-1.1.14-metadata-bugfix.patch, - +files/xine-lib-1.1.15-ffmpeg.patch, -xine-lib-1.1.8.ebuild, - -xine-lib-1.1.13.ebuild, -xine-lib-1.1.14-r1.ebuild, - -xine-lib-1.1.15.ebuild, xine-lib-1.1.15-r1.ebuild: - Keep up with gentoo.org - - 22 Aug 2008; Matthias Schwarzott - +files/xine-lib-1.1.15-buffer_h_ansi.patch, - +files/xine-lib-1.1.15-libmpeg2-vis.patch, xine-lib-1.1.15.ebuild, - +xine-lib-1.1.15-r1.ebuild: - Sync to gentoo.org - - 15 Aug 2008; Matthias Schwarzott metadata.xml, - -xine-lib-1.1.14.ebuild, +xine-lib-1.1.15.ebuild: - Synced to gentoo.org - - 07 Aug 2008; Matthias Schwarzott - +files/xine-lib-1.1.14-metadata-bugfix.patch, +xine-lib-1.1.14-r1.ebuild, - xine-lib-9999.ebuild: - Added xine-lib-1.1.14-r1 to be up to date. Remove autotools.eclass from - 9999 ebuild as it is not used there. - - 22 Jul 2008; Matthias Schwarzott - -files/xine-lib-1.1.4-CVE-2007-1246.patch, - -files/xine-lib-1.1.6-fbsd.patch, -files/xine-lib-1.1.11.1-mkv.patch, - -files/xine-lib-1.1.11.1-qtniso.patch, - -files/xine-lib-1.1.12-CVE-2008-1878.patch, -xine-lib-1.1.11.1.ebuild, - -xine-lib-1.1.12.ebuild, -xine-lib-1.1.12-r1.ebuild, - xine-lib-1.1.13.ebuild: - Sync to gentoo.org - - 09 Jul 2008; Matthias Schwarzott xine-lib-1.1.13.ebuild, - +xine-lib-1.1.14.ebuild: - Keep up with xine-lib from gentoo.org - - 27 Jun 2008; Matthias Schwarzott xine-lib-1.1.12.ebuild, - xine-lib-1.1.12-r1.ebuild, +xine-lib-1.1.13.ebuild: - Fix aclocal issue with libtool-2.2.4. Keep up with gentoo.org ebuilds, - adding xine-lib-1.1.13 ebuild. - - 11 Jun 2008; Matthias Schwarzott xine-lib-1.1.8.ebuild, - xine-lib-1.1.11.1.ebuild, xine-lib-1.1.12.ebuild, - xine-lib-1.1.12-r1.ebuild: - Fix download uri. - - 10 Jun 2008; Matthias Schwarzott - +files/xine-lib-1.1.12-CVE-2008-1878.patch, xine-lib-1.1.8.ebuild, - -xine-lib-1.1.11.ebuild, +xine-lib-1.1.12-r1.ebuild: - Follow upstream ebuilds. - - 19 Apr 2008; Matthias Schwarzott - +xine-lib-1.1.12.ebuild: - Follow gentoo.org ebuilds. - - 13 Apr 2008; Matthias Schwarzott - xine-lib-1.1.11.1.ebuild: - Sync keywords to gentoo.org tree. - - 07 Apr 2008; Matthias Schwarzott - -xine-lib-1.1.4-r2.ebuild, -xine-lib-1.1.6.ebuild, -xine-lib-1.1.7.ebuild, - xine-lib-1.1.8.ebuild, xine-lib-1.1.11.ebuild, +xine-lib-1.1.11.1.ebuild, - +files/xine-lib-1.1.11.1-mkv.patch, +files/xine-lib-1.1.11.1-qtniso.patch: - Synchronize to gentoo.org - - 03 Apr 2008; Matthias Schwarzott - +xine-lib-1.1.11.ebuild: - Updated vdr-xine patched ebuild to xine-lib-1.1.11 - - 02 Jan 2008; Joerg Bornkessel xine-lib-9999.ebuild: - addaped for changes in sources for vdr support - - 29 Dec 2007; Joerg Bornkessel xine-lib-9999.ebuild: - changed hardmasked for all arch to masked by file - - 28 Dec 2007; Joerg Bornkessel - +xine-lib-9999.ebuild: - added xine-lib-9999 for xine-lib-1.2 developer tree checkout; hardmasked - - 18 Sep 2007; Joerg Bornkessel - xine-lib-1.1.8.ebuild: - stabel use-flags equal to gentoo.org - - 06 Sep 2007; Matthias Schwarzott xine-lib-1.1.8.ebuild: - Fixed socket directory used to connect to vdr-plugin. - - 04 Sep 2007; Joerg Bornkessel - -xine-lib-1.1.3.ebuild, -xine-lib-1.1.4.ebuild, - +files/xine-lib-1.1.6-fbsd.patch, +xine-lib-1.1.8.ebuild, - +files/xine-lib-1.1.8-dxr3.patch, -files/xine-lib-cdda-fix.patch: - versions bump - - 14 Jun 2007; Joerg Bornkessel - -xine-lib-1.1.4-r1.ebuild, +xine-lib-1.1.7.ebuild: - versions bump; xine-lib-1.1.4-r1 removed - - 18 Apr 2007; Matthias Schwarzott -xine-lib-1.1.5.ebuild, - +xine-lib-1.1.6.ebuild: - Follow official ebuilds to next version. - - 15 Apr 2007; Matthias Schwarzott xine-lib-1.1.5.ebuild: - Synced keywords to gentoo.org. - - 14 Apr 2007; Matthias Schwarzott xine-lib-1.1.5.ebuild: - Fixed patch to correctly install header file. - - 14 Apr 2007; Matthias Schwarzott +xine-lib-1.1.5.ebuild, - +files/xine-lib-cdda-fix.patch: - Updated to latest official ebuild. - - 19 Mar 2007; Matthias Schwarzott - +xine-lib-1.1.4-r2.ebuild, +files/xine-lib-1.1.4-CVE-2007-1246.patch: - Keep up with gentoo.org ebuild. - - 11 Mar 2007; Joerg Bornkessel - +xine-lib-1.1.4-r1.ebuild: - update; make it eval to main portage tree - - 30 Jan 2007; Joerg Bornkessel - xine-lib-1.1.3.ebuild, +xine-lib-1.1.4.ebuild: - version bump; fixed scr_uri in xine-lib-1.1.3 - - 03 Jan 2007; Matthias Schwarzott xine-lib-1.1.3.ebuild: - Enable eautoreconf when configure is changed. - - 03 Jan 2007; Joerg Bornkessel - +xine-lib-1.1.3.ebuild, +metadata.xml: - initial version - diff --git a/media-libs/xine-lib/Manifest b/media-libs/xine-lib/Manifest deleted file mode 100644 index 69f3279..0000000 --- a/media-libs/xine-lib/Manifest +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -DIST xine-lib-1.1.16.1-gentoo-vdr-20090118.tar.bz2 23883 RMD160 3049ee6687a5541e9d59346dc4bcf76108d8b626 SHA1 c29f5711554ad79f262ba4409f5c25ca86bd9f7b SHA256 e303209e545c59faee451aae82bd7cf075dd0b98e1001705f2d841584a9def48 -DIST xine-lib-1.1.16.3.tar.bz2 7468182 RMD160 279304a4e998472b2b5e79887e54c47765044ec6 SHA1 64c57c5f55ff37023cc4c3d93d4df3c06950d235 SHA256 d25a241efa55dc7d8f482336efa8bb7b9bb9d69b6df8a8a37f2660948fd67b52 -EBUILD xine-lib-1.1.16.3.ebuild 6142 RMD160 e2637fef84f0a53d78eb3c4385ed865d7a7c73f0 SHA1 a7b59d06d375402cb6e6a80c5eb8eecd36da51c0 SHA256 54f598c177d4005cb3b4ca59d3710ad10731a41fff452a33f710232ba6470651 -EBUILD xine-lib-9999.ebuild 5523 RMD160 80b35006a387afe40effee2c7b5aced05f031c1b SHA1 1e43cc4478379f2f25d47777f8fa741ed335ec93 SHA256 50099a0659f5bd4c84410b16b1c8786ca1db9f47635e598739704edf811a1be6 -MISC ChangeLog 6286 RMD160 2941cc0b1e0bfffdd398455707531ade5f40f17e SHA1 847083a53669f495b74652b915904e13736f432c SHA256 d18081ab2b2d995d2c52571f68a8bde8a1c64b0ff8bd36224ebdbc87b985cc07 -MISC metadata.xml 3145 RMD160 3aaa7c9b95078efaf514553a72395c822f43a6d7 SHA1 1384c4031bba1b24e8cc1e4ac339fe957c8e31a0 SHA256 65e28dd96bde09cf2ec3dbc77e74d31e49bb3b627d87aff5d2dd278e53ad6f25 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) - -iEYEARECAAYFAknngfwACgkQt2vP6XvVdOfsqACgplbS0gV7T8RL+bYthA+IydMn -vMMAoMiGO/vUNwULCfULooaKG9Izp2HK -=IIcF ------END PGP SIGNATURE----- diff --git a/media-libs/xine-lib/metadata.xml b/media-libs/xine-lib/metadata.xml deleted file mode 100644 index fde93f3..0000000 --- a/media-libs/xine-lib/metadata.xml +++ /dev/null @@ -1,79 +0,0 @@ - - - -video - - media-video@gentoo.org - - - vdr@gentoo.org - -An open source library for media applications - - - Enable support for loading and using RealPlayer binary codecs on x86 and - amd64 Linux. Enabling this USE flag might make the package - non-redistributable in binary form. - - - Enable support for loading and using Windows 32-bit binary codecs on x86 - Linux and FreeBSD. Enabling this USE flag might make the package - non-redistributable in binary form. - - - Build the media-libs/libmad based mp3 decoder. This mp3 decoder - has superior support compared to the one coming from FFmpeg that is used as - a fallback. If you experience any bad behaviour with mp3 files (skipping, - distorted sound) make sure you enabled this USE flag. - - - Build the media-libs/flac based FLAC demuxer and decoder. This - flag is not needed for playing FLAC content, neither standalone nor in Ogg - container (OggFLAC), but might have better support for exotic features like - 24-bit samples or 96kHz sample rates. - - - Build the gdkpixbuf-based image decoder plugin. - - - Build the ImageMagick-based image decoder plugin. - - - Build the gnome-base/gnome-vfs based input plugin. This plugin is - used to access any resource that can be accessed through Nautilus's (and - others') URLs. - - - Use mmap() function while reading file from local disks. Using mmap() will - use more virtual memory space, but leaves to the Kernel the task of caching - the file's data. mmap() access should be faster, but might misbehave if the - device where the file resides in is removed during playback. - - - Use media-libs/freetype for font rendering and - media-libs/fontconfig for font discovery. Enabling this USE flag - will allow OSD (such as subtitles) to use more advanced font and to more - easily select which font to use. The support for TrueType fonts in xine-lib - is still experimental, and might not be as good looking as the bitmap fonts - used with this USE flag disabled. - - - Enable support for XVideo Motion Compensation (accelerated mpeg playback). - - - Enable support for DXR3 mpeg accelleration cards. - - - Enable support for vidix video output. - - - Adds support for SIMD optimizations for UltraSPARC processors. - - - Adds support for Video Disc Recorder (VDR) - - - Adds support for Video Disc Recorder (VDR) network connections - - - diff --git a/media-libs/xine-lib/xine-lib-1.1.16.3.ebuild b/media-libs/xine-lib/xine-lib-1.1.16.3.ebuild deleted file mode 100644 index cbf4af7..0000000 --- a/media-libs/xine-lib/xine-lib-1.1.16.3.ebuild +++ /dev/null @@ -1,204 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-1.1.15-r1.ebuild,v 1.10 2008/10/06 22:03:02 aballier Exp $ - -EAPI=1 - -inherit eutils flag-o-matic toolchain-funcs libtool multilib autotools - -# This should normally be empty string, unless a release has a suffix. -if [[ "${P/_pre/}" != "${P}" ]]; then - SRC_URI="mirror://gentoo/${P}.tar.bz2" -else - MY_PKG_SUFFIX="" - MY_P="${PN}-${PV/_/-}${MY_PKG_SUFFIX}" - S="${WORKDIR}/${MY_P}" - - SRC_URI="mirror://sourceforge/xine/${MY_P}.tar.bz2" -fi -VDR_PATCHES="${PN}-1.1.16.1-gentoo-vdr-20090118" -SRC_URI="${SRC_URI} - mirror://gentoo/${VDR_PATCHES}.tar.bz2 - http://dev.gentoo.org/~zzam/distfiles/overlay/${VDR_PATCHES}.tar.bz2" - -DESCRIPTION="Core libraries for Xine movie player" -HOMEPAGE="http://xine.sourceforge.net" - -LICENSE="GPL-2" -SLOT="1" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" - -IUSE="-aalib -libcaca -arts esd win32codecs nls +dvd +X directfb +vorbis +alsa -gnome sdl speex +theora ipv6 altivec opengl aac -fbcon +xv xvmc --samba dxr3 vidix mng -flac -oss +v4l xinerama vcd +a52 +mad -imagemagick +dts -+modplug -gtk pulseaudio -mmap -truetype wavpack +musepack +xcb -jack --real +vis vdr" - -RDEPEND="X? ( x11-libs/libXext - x11-libs/libX11 ) - xv? ( x11-libs/libXv ) - xvmc? ( x11-libs/libXvMC ) - xinerama? ( x11-libs/libXinerama ) - win32codecs? ( >=media-libs/win32codecs-0.50 ) - esd? ( media-sound/esound ) - dvd? ( >=media-libs/libdvdcss-1.2.7 ) - arts? ( kde-base/arts ) - alsa? ( media-libs/alsa-lib ) - aalib? ( media-libs/aalib ) - directfb? ( >=dev-libs/DirectFB-0.9.9 ) - gnome? ( >=gnome-base/gnome-vfs-2.0 ) - flac? ( >=media-libs/flac-1.1.2 ) - sdl? ( >=media-libs/libsdl-1.1.5 ) - dxr3? ( >=media-libs/libfame-0.9.0 ) - vorbis? ( media-libs/libogg media-libs/libvorbis ) - theora? ( media-libs/libogg media-libs/libvorbis >=media-libs/libtheora-1.0_alpha6 ) - speex? ( media-libs/libogg media-libs/libvorbis media-libs/speex ) - libcaca? ( >=media-libs/libcaca-0.99_beta14 ) - samba? ( net-fs/samba ) - mng? ( media-libs/libmng ) - vcd? ( media-video/vcdimager ) - a52? ( >=media-libs/a52dec-0.7.4-r5 ) - mad? ( media-libs/libmad ) - imagemagick? ( media-gfx/imagemagick ) - dts? ( media-libs/libdca ) - aac? ( >=media-libs/faad2-2.6.1 ) - >=media-video/ffmpeg-0.4.9_p20070129 - modplug? ( media-libs/libmodplug ) - nls? ( virtual/libintl ) - gtk? ( =x11-libs/gtk+-2* ) - pulseaudio? ( media-sound/pulseaudio ) - truetype? ( =media-libs/freetype-2* media-libs/fontconfig ) - virtual/libiconv - wavpack? ( >=media-sound/wavpack-4.31 ) - musepack? ( media-libs/libmpcdec ) - xcb? ( >=x11-libs/libxcb-1.0 ) - jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) - real? ( - x86? ( media-libs/win32codecs ) - x86-fbsd? ( media-libs/win32codecs ) - amd64? ( media-libs/amd64codecs ) )" - -DEPEND="${RDEPEND} - X? ( x11-libs/libXt - x11-proto/xproto - x11-proto/videoproto - x11-proto/xf86vidmodeproto - xinerama? ( x11-proto/xineramaproto ) ) - v4l? ( virtual/os-headers ) - dev-util/pkgconfig - sys-devel/libtool - nls? ( sys-devel/gettext )" - -src_unpack() { - unpack ${A} - cd "${S}" - - # add vdr-xine patch - if use vdr; then - echo - einfo "Adding support for vdr-xine" - - epatch "${WORKDIR}/${VDR_PATCHES}"/* - - # fill in better fifo directory - sed -i src/vdr/input_vdr.c \ - -e '/define VDR_ABS_FIFO_DIR/s|".*"|"/var/vdr/xine"|' - - # only need to run autotools if we actually changed stuff - - # add this, else libtool-2.2.4 will abort aclocal step - sed -i -e '/AC_PROG_CC/aAC_PROG_CXX' "${S}"/configure.ac - AT_M4DIR="m4" eautoreconf - fi -} - -src_compile() { - #prevent quicktime crashing - append-flags -frename-registers -ffunction-sections - - # Specific workarounds for too-few-registers arch... - if [[ $(tc-arch) == "x86" ]]; then - filter-flags -fforce-addr - filter-flags -momit-leaf-frame-pointer # break on gcc 3.4/4.x - filter-flags -fno-omit-frame-pointer #breaks per bug #149704 - is-flag -O? || append-flags -O2 - fi - - # Set the correct win32 dll path, bug #197236 - local win32dir - if has_multilib_profile ; then - win32dir=/usr/$(ABI="x86" get_libdir)/win32 - else - win32dir=/usr/$(get_libdir)/win32 - fi - - # Too many file names are the same (xine_decoder.c), change the builddir - # So that the relative path is used to identify them. - mkdir "${WORKDIR}/build" - - elibtoolize - ECONF_SOURCE="${S}" econf \ - $(use_enable gnome gnomevfs) \ - $(use_enable nls) \ - $(use_enable ipv6) \ - $(use_enable samba) \ - $(use_enable altivec) \ - $(use_enable v4l) \ - $(use_enable mng) \ - $(use_with imagemagick) \ - $(use_enable gtk gdkpixbuf) \ - $(use_enable aac faad) --with-external-libfaad \ - $(use_with flac libflac) \ - $(use_with vorbis) \ - $(use_with speex) \ - $(use_with theora) \ - $(use_with wavpack) \ - $(use_enable modplug) \ - $(use_enable a52 a52dec) --with-external-a52dec \ - $(use_enable mad) --with-external-libmad \ - $(use_enable dts) --with-external-libdts \ - $(use_enable musepack) --with-external-libmpcdec \ - $(use_with X x) \ - $(use_enable xinerama) \ - $(use_enable vidix) \ - $(use_enable dxr3) \ - $(use_enable directfb) \ - $(use_enable fbcon fb) \ - $(use_enable opengl) \ - $(use_enable aalib) \ - $(use_with libcaca caca) \ - $(use_with sdl) \ - $(use_enable xvmc) \ - $(use_with xcb) \ - $(use_enable oss) \ - $(use_with alsa) \ - $(use_with arts) \ - $(use_with esd esound) \ - $(use_with pulseaudio) \ - $(use_with jack) \ - $(use_enable vcd) --without-internal-vcdlibs \ - $(use_enable win32codecs w32dll) \ - $(use_enable real real-codecs) \ - $(use_enable mmap) \ - $(use_with truetype freetype) $(use_with truetype fontconfig) \ - $(use_enable vis) \ - --enable-asf \ - --with-external-ffmpeg \ - --disable-optimizations \ - --disable-syncfb \ - --with-xv-path=/usr/$(get_libdir) \ - --with-w32-path=${win32dir} \ - --with-real-codecs-path=/usr/$(get_libdir)/codecs \ - --enable-fast-install \ - --disable-dependency-tracking - - emake || die "emake failed." -} - -src_install() { - emake DESTDIR="${D}" \ - docdir="/usr/share/doc/${PF}" htmldir="/usr/share/doc/${PF}/html" \ - install || die "emake install failed." - - dodoc ChangeLog -} diff --git a/media-libs/xine-lib/xine-lib-9999.ebuild b/media-libs/xine-lib/xine-lib-9999.ebuild deleted file mode 100644 index 51c52de..0000000 --- a/media-libs/xine-lib/xine-lib-9999.ebuild +++ /dev/null @@ -1,188 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: Exp $ - -inherit eutils flag-o-matic toolchain-funcs libtool mercurial - -: ${EHG_REPO_URI:=http://hg.debian.org/hg/xine-lib/xine-lib-1.2} - -DESCRIPTION="Core libraries for Xine movie player || xine-lib-1.2 || HG Version" -HOMEPAGE="http://hg.debian.org/hg/xine-lib/xine-lib-1.2/" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="1" -KEYWORDS="~amd64 ~x86" - -IUSE="aalib libcaca arts esd win32codecs nls dvd X directfb vorbis alsa -gnome sdl speex theora ipv6 altivec opengl aac fbcon xv xvmc -samba dxr3 vidix mng flac oss v4l xinerama vcd a52 mad imagemagick dts -debug modplug gtk pulseaudio mmap truetype wavpack musepack xcb jack -real vdr" - -RDEPEND="X? ( x11-libs/libXext - x11-libs/libX11 ) - xv? ( x11-libs/libXv ) - xvmc? ( x11-libs/libXvMC ) - xinerama? ( x11-libs/libXinerama ) - win32codecs? ( >=media-libs/win32codecs-0.50 ) - esd? ( media-sound/esound ) - dvd? ( >=media-libs/libdvdcss-1.2.7 ) - arts? ( kde-base/arts ) - alsa? ( media-libs/alsa-lib ) - aalib? ( media-libs/aalib ) - directfb? ( >=dev-libs/DirectFB-0.9.9 ) - gnome? ( >=gnome-base/gnome-vfs-2.0 ) - flac? ( >=media-libs/flac-1.1.2 ) - sdl? ( >=media-libs/libsdl-1.1.5 ) - dxr3? ( >=media-libs/libfame-0.9.0 ) - vorbis? ( media-libs/libogg media-libs/libvorbis ) - theora? ( media-libs/libogg media-libs/libvorbis >=media-libs/libtheora-1.0_alpha6 ) - speex? ( media-libs/libogg media-libs/libvorbis media-libs/speex ) - libcaca? ( >=media-libs/libcaca-0.99_beta1 ) - samba? ( net-fs/samba ) - mng? ( media-libs/libmng ) - vcd? ( media-video/vcdimager ) - a52? ( >=media-libs/a52dec-0.7.4-r5 ) - mad? ( media-libs/libmad ) - imagemagick? ( media-gfx/imagemagick ) - dts? ( || ( media-libs/libdca media-libs/libdts ) ) - >=media-video/ffmpeg-0.4.9_p20070129 - modplug? ( media-libs/libmodplug ) - nls? ( virtual/libintl ) - gtk? ( =x11-libs/gtk+-2* ) - pulseaudio? ( media-sound/pulseaudio ) - truetype? ( =media-libs/freetype-2* media-libs/fontconfig ) - virtual/libiconv - wavpack? ( >=media-sound/wavpack-4.31 ) - musepack? ( media-libs/libmpcdec ) - xcb? ( >=x11-libs/libxcb-1.0 ) - jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) - real? ( - x86? ( media-libs/win32codecs ) - x86-fbsd? ( media-libs/win32codecs ) - amd64? ( media-libs/amd64codecs ) )" - -DEPEND="${RDEPEND} - X? ( x11-libs/libXt - x11-proto/xproto - x11-proto/videoproto - x11-proto/xf86vidmodeproto - xinerama? ( x11-proto/xineramaproto ) ) - v4l? ( virtual/os-headers ) - dev-util/pkgconfig - sys-devel/libtool - nls? ( sys-devel/gettext )" - -S="${WORKDIR}/xine-lib-1.2" - -src_unpack() { - mercurial_src_unpack - - cd "${S}" || die "cd failed" - - use vdr && sed -i src/vdr/input_vdr.c -e '/define VDR_ABS_FIFO_DIR/s|".*"|"/var/vdr/xine"|' -} - -src_compile() { - ./autogen.sh noconfig || die "autogen failed" - - #prevent quicktime crashing - append-flags -frename-registers -ffunction-sections - - # Specific workarounds for too-few-registers arch... - if [[ $(tc-arch) == "x86" ]]; then - filter-flags -fforce-addr - filter-flags -momit-leaf-frame-pointer # break on gcc 3.4/4.x - filter-flags -fno-omit-frame-pointer #breaks per bug #149704 - is-flag -O? || append-flags -O2 - fi - - local myconf - - # enable/disable appropiate optimizations on sparc - [[ "${PROFILE_ARCH}" == "sparc64" ]] && myconf="${myconf} --enable-vis" - [[ "${PROFILE_ARCH}" == "sparc" ]] && myconf="${myconf} --disable-vis" - - # The default CFLAGS (-O) is the only thing working on hppa. - use hppa && unset CFLAGS - - # Too many file names are the same (xine_decoder.c), change the builddir - # So that the relative path is used to identify them. - mkdir "${WORKDIR}/build" - - elibtoolize - ECONF_SOURCE="${S}" econf \ - $(use_enable gnome gnomevfs) \ - $(use_enable nls) \ - $(use_enable ipv6) \ - $(use_enable samba) \ - $(use_enable altivec) \ - $(use_enable v4l) \ - \ - $(use_enable mng) \ - $(use_with imagemagick) \ - $(use_enable gtk gdkpixbuf) \ - \ - $(use_enable aac faad) \ - $(use_with flac libflac) \ - $(use_with vorbis) \ - $(use_with speex) \ - $(use_with theora) \ - $(use_with wavpack) \ - $(use_enable modplug) \ - $(use_enable a52 a52dec) --with-external-a52dec \ - $(use_enable mad) --with-external-libmad \ - $(use_enable dts) --with-external-libdts \ - $(use_enable musepack) --with-external-libmpcdec \ - \ - $(use_with X x) \ - $(use_enable xinerama) \ - $(use_enable vidix) \ - $(use_enable dxr3) \ - $(use_enable directfb) \ - $(use_enable fbcon fb) \ - $(use_enable opengl) \ - $(use_enable aalib) \ - $(use_with libcaca caca) \ - $(use_with sdl) \ - $(use_enable xvmc) \ - $(use_with xcb) \ - \ - $(use_enable oss) \ - $(use_with alsa) \ - $(use_with arts) \ - $(use_with esd esound) \ - $(use_with pulseaudio) \ - $(use_with jack) \ - \ - $(use_enable vcd) --without-internal-vcdlibs \ - \ - $(use_enable win32codecs w32dll) \ - $(use_enable real real-codecs) \ - \ - $(use_enable mmap) \ - $(use_with truetype freetype) $(use_with truetype fontconfig) \ - \ - $(use_enable vdr) \ - \ - $(use_enable debug) \ - --enable-asf \ - --with-external-ffmpeg \ - --disable-optimizations \ - --disable-syncfb \ - ${myconf} \ - --with-xv-path=/usr/$(get_libdir) \ - --with-w32-path=/usr/$(ABI=x86 get_libdir)/win32 \ - --with-real-codecs-path=/usr/$(get_libdir)/codecs \ - --enable-fast-install \ - --disable-dependency-tracking || die "econf failed." - - emake || die "emake failed." -} - -src_install() { - emake -j1 DESTDIR="${D}" \ - docdir="/usr/share/doc/${PF}" htmldir="/usr/share/doc/${PF}/html" \ - install || die "emake install failed." -} -- cgit v1.2.3-65-gdbad