From ba3f1b368c0638e90ec19c1d14924139075ac476 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Diego=20Elio=20Petten=C3=B2?= Date: Wed, 27 Dec 2006 22:51:47 +0000 Subject: [PATCH] Add a newer preview snapshot, able to play WavPacks (for instance). Package-Manager: portage-2.1.2_rc4-r1 --- media-libs/xine-lib/ChangeLog | 8 +- media-libs/xine-lib/Manifest | 26 ++- .../files/digest-xine-lib-1.1.4_pre20061227 | 3 + .../xine-lib-1.1.4_pre20061227.ebuild | 172 ++++++++++++++++++ 4 files changed, 204 insertions(+), 5 deletions(-) create mode 100644 media-libs/xine-lib/files/digest-xine-lib-1.1.4_pre20061227 create mode 100644 media-libs/xine-lib/xine-lib-1.1.4_pre20061227.ebuild diff --git a/media-libs/xine-lib/ChangeLog b/media-libs/xine-lib/ChangeLog index 5bdf134aee90..20616286512f 100644 --- a/media-libs/xine-lib/ChangeLog +++ b/media-libs/xine-lib/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/xine-lib # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.431 2006/12/27 20:07:21 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.432 2006/12/27 22:51:47 flameeyes Exp $ + +*xine-lib-1.1.4_pre20061227 (27 Dec 2006) + + 27 Dec 2006; Diego Pettenò + +xine-lib-1.1.4_pre20061227.ebuild: + Add a newer preview snapshot, able to play WavPacks (for instance). 27 Dec 2006; Bryan Østergaard xine-lib-1.1.3.ebuild: Re-add ~alpha and ~ia64 keywords. diff --git a/media-libs/xine-lib/Manifest b/media-libs/xine-lib/Manifest index 2ac8730025dd..fab66ca0ce2f 100644 --- a/media-libs/xine-lib/Manifest +++ b/media-libs/xine-lib/Manifest @@ -1,5 +1,9 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST xine-lib-1.1.2.tar.bz2 6457108 RMD160 21322d6d7e085237926741495d70f5ce7764910b SHA1 07e454e2287e34414b598faf78ae6d8ab8ffbb69 SHA256 871933c745f5824808a88720518c0164166906536c7f8723bd38e84f78319226 DIST xine-lib-1.1.3.tar.gz 8508884 RMD160 8e28638385ea48e7d4d4d702573ca92c4eca77c8 SHA1 c0886910ddb1afa1a72572decf12c0251bba40bf SHA256 96e50c6e7b2fb1209c52dcab6b38f2a99aa1c9d6e028b479a800cafef11bccb0 +DIST xine-lib-1.1.4_pre20061227.tar.bz2 7013556 RMD160 95be4d2a2932b3c15149b0d9d05d72a9b76b8761 SHA1 0be8b64b8e33833336b2d1b3a5dfa29d72f53d76 SHA256 20f5ff8bd0b8c4b5218f59e18268b04ba86786e8103d334453c4f2bf9f5aef68 DIST xine-lib-patches-61.tar.bz2 9701 RMD160 4e58b5cbbaa97a4a9ac90713ea9997a86722b1ac SHA1 0d749e3c46ea58e961d48f86aca997b16e72803b SHA256 39ad08a08cb3f9b71ec062b7fac6bf3d089f31f421d10d4e12b9f51d684030c2 DIST xine-lib-patches-63.tar.bz2 22862 RMD160 1aa3c0541e9d739968f6f62c09567caa2a646414 SHA1 ac1a6a40c8b783c40d823905e8db69f5139784d4 SHA256 7e7a137a27605addad5c4e96c46984293c5febdfa08eec976600be8b206448f6 DIST xine-lib-patches-64.tar.bz2 23578 RMD160 6a4272d82c7d8de004e71e2991e0cdf66ab833c2 SHA1 d7a059d487e3d05af687f501e3394ee625b5f295 SHA256 d5fcf477e59d6963235c6d6f682d887e21f849bc76441d915152b83f93d44884 @@ -15,10 +19,14 @@ EBUILD xine-lib-1.1.3.ebuild 5378 RMD160 8ee5505260c8e0aa47a937d8d46609890b16323 MD5 4a869b8dae5dccf19a6be1e829106b31 xine-lib-1.1.3.ebuild 5378 RMD160 8ee5505260c8e0aa47a937d8d46609890b163234 xine-lib-1.1.3.ebuild 5378 SHA256 00ec15e2c760f0d8079a58a22f698be8203349736b2fe7fe08543dbd09214f52 xine-lib-1.1.3.ebuild 5378 -MISC ChangeLog 45626 RMD160 37dfa5990b38bd6dd72b3a9b34323c6b805821b3 SHA1 c276cf53d3ca4fa0e9743a3702ce23bd9a98b1f7 SHA256 60482eb517846218863caf65afda1a68ca3b2deb84b291edce8c057578914380 -MD5 da7eadef52d99fc8ecaa0fe6a3f83fbb ChangeLog 45626 -RMD160 37dfa5990b38bd6dd72b3a9b34323c6b805821b3 ChangeLog 45626 -SHA256 60482eb517846218863caf65afda1a68ca3b2deb84b291edce8c057578914380 ChangeLog 45626 +EBUILD xine-lib-1.1.4_pre20061227.ebuild 5218 RMD160 8bd71ca409240e1a9973cd40cf6ec38b13131c58 SHA1 8262a76fb4b4ce875404dcb082dd09645af9ea72 SHA256 9d949dfdd6fdd920f893ccd6b67d468237f4cabd467530566ff894666912145f +MD5 ea3c3b1ceaaba65b18aeb4ead4bfd665 xine-lib-1.1.4_pre20061227.ebuild 5218 +RMD160 8bd71ca409240e1a9973cd40cf6ec38b13131c58 xine-lib-1.1.4_pre20061227.ebuild 5218 +SHA256 9d949dfdd6fdd920f893ccd6b67d468237f4cabd467530566ff894666912145f xine-lib-1.1.4_pre20061227.ebuild 5218 +MISC ChangeLog 45834 RMD160 8bafeb490c7767194eb59488065a2380ad1233c7 SHA1 bb38ea7e8670de72f664361a47b88eb964b8a2b8 SHA256 96beebb8558678fee047bfde1873fd0e24e82fae350ccfbde54123a518817717 +MD5 b549df854252f7688bf731fc77b84fd6 ChangeLog 45834 +RMD160 8bafeb490c7767194eb59488065a2380ad1233c7 ChangeLog 45834 +SHA256 96beebb8558678fee047bfde1873fd0e24e82fae350ccfbde54123a518817717 ChangeLog 45834 MISC metadata.xml 330 RMD160 19830d3a2049c3ad75c580173d0436d7ec9dc8f2 SHA1 6e47671ad5629f45f8bba068ae87a7b27b4c9750 SHA256 b36ce82ff9c321a5ed63eded0c3a191e78752cd38220b86bd8639a0d70ac9d92 MD5 40462be9f1caff6326630fc3b93e7105 metadata.xml 330 RMD160 19830d3a2049c3ad75c580173d0436d7ec9dc8f2 metadata.xml 330 @@ -32,3 +40,13 @@ SHA256 36f6f5bccde0b9770fbec9da49cb24f6deafa2a1de535444ab0e84f6db4a52e0 files/di MD5 e70a92a55ccfaaa3934cf8a0ea88c02f files/digest-xine-lib-1.1.3 503 RMD160 b98f18e11423d064b4b204f8aacf78a501b3bbe2 files/digest-xine-lib-1.1.3 503 SHA256 83dd50e3811d24cf06b3a85449f7f5b4380f86470951d88252920da09f930b4b files/digest-xine-lib-1.1.3 503 +MD5 132574f94d47a4234fbd2bc4bb591199 files/digest-xine-lib-1.1.4_pre20061227 286 +RMD160 861021fb06c7dac16064a608592198572823a6a3 files/digest-xine-lib-1.1.4_pre20061227 286 +SHA256 80f66c8cf354908c4da00bb00ae6800155558936b2ddb83e5669aa60ffea5ff5 files/digest-xine-lib-1.1.4_pre20061227 286 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFFkvkQAiZjviIA2XgRAlVhAKDvGrjFQxS0az3Mo0JM+QeBTN0t+wCg6asD +fdDt8+Nvbnq8yivMJT2Ysyo= +=1Jb6 +-----END PGP SIGNATURE----- diff --git a/media-libs/xine-lib/files/digest-xine-lib-1.1.4_pre20061227 b/media-libs/xine-lib/files/digest-xine-lib-1.1.4_pre20061227 new file mode 100644 index 000000000000..6e44e053da44 --- /dev/null +++ b/media-libs/xine-lib/files/digest-xine-lib-1.1.4_pre20061227 @@ -0,0 +1,3 @@ +MD5 986225fb8c731c1376e45f837346be0b xine-lib-1.1.4_pre20061227.tar.bz2 7013556 +RMD160 95be4d2a2932b3c15149b0d9d05d72a9b76b8761 xine-lib-1.1.4_pre20061227.tar.bz2 7013556 +SHA256 20f5ff8bd0b8c4b5218f59e18268b04ba86786e8103d334453c4f2bf9f5aef68 xine-lib-1.1.4_pre20061227.tar.bz2 7013556 diff --git a/media-libs/xine-lib/xine-lib-1.1.4_pre20061227.ebuild b/media-libs/xine-lib/xine-lib-1.1.4_pre20061227.ebuild new file mode 100644 index 000000000000..6171ace04f8d --- /dev/null +++ b/media-libs/xine-lib/xine-lib-1.1.4_pre20061227.ebuild @@ -0,0 +1,172 @@ +# Copyright 1999-2006 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.4_pre20061227.ebuild,v 1.1 2006/12/27 22:51:47 flameeyes Exp $ + +inherit eutils flag-o-matic toolchain-funcs libtool 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.gz" +fi + +DESCRIPTION="Core libraries for Xine movie player" +HOMEPAGE="http://xine.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~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 +debug modplug gtk pulseaudio mmap truetype wavpack" + +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/libdts ) + >=media-video/ffmpeg-0.4.9_p20060816 + 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 ) + !=media-libs/xine-lib-0.9.13*" + +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_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 + is-flag -O? || append-flags -O2 + fi + + # debug useflag used to emulate debug make targets. See bug #112980 and the + # xine maintainers guide. + use debug && append-flags -UNDEBUG -DDEBUG + + 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" + + 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 a52) --with-external-a52dec \ + $(use_enable mad) --with-external-libmad \ + $(use_enable dts) --with-external-libdts \ + \ + $(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_enable oss) \ + $(use_with alsa) \ + $(use_with arts) \ + $(use_with esd esound) \ + $(use_with pulseaudio) \ + $(use_enable vcd) --without-internal-vcdlibs \ + \ + $(use_enable win32codecs w32dll) \ + $(use_enable modplug) \ + \ + $(use_enable mmap) \ + $(use_with truetype freetype) $(use_with truetype fontconfig ) \ + --enable-asf \ + --with-external-ffmpeg \ + --disable-optimizations \ + ${myconf} \ + --with-xv-path=/usr/$(get_libdir) \ + --with-w32-path=/usr/lib/win32 \ + --enable-fast-install \ + --disable-dependency-tracking || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + emake -j1 DESTDIR="${D}" install || die "Install failed" + + dodoc AUTHORS ChangeLog README TODO doc/README* doc/faq/faq.txt + dohtml doc/faq/faq.html doc/hackersguide/*.html doc/hackersguide/*.png + + rm -rf "${D}/usr/share/doc/xine" +} -- 2.26.2