diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-26 11:04:10 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-26 11:04:10 +0000 |
commit | 992128c3220b8d221dcbedf171fc744eec10bfd3 (patch) | |
tree | eab6402e47556c9a77df025e39a9327cb4311687 /media-libs | |
parent | New experimental revision, this time should build with all the options enable... (diff) | |
download | historical-992128c3220b8d221dcbedf171fc744eec10bfd3.tar.gz historical-992128c3220b8d221dcbedf171fc744eec10bfd3.tar.bz2 historical-992128c3220b8d221dcbedf171fc744eec10bfd3.zip |
New experimental revision, this time should build with all the options enabled and with minimum symbols.
Package-Manager: portage-2.1_pre9-r4
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/xine-lib/Manifest | 30 | ||||
-rw-r--r-- | media-libs/xine-lib/files/digest-xine-lib-1.1.2_pre20060328-r3 | 6 | ||||
-rw-r--r-- | media-libs/xine-lib/xine-lib-1.1.2_pre20060328-r3.ebuild | 266 |
3 files changed, 15 insertions, 287 deletions
diff --git a/media-libs/xine-lib/Manifest b/media-libs/xine-lib/Manifest index d643fb89d09e..c6455213b097 100644 --- a/media-libs/xine-lib/Manifest +++ b/media-libs/xine-lib/Manifest @@ -6,7 +6,7 @@ DIST xine-lib-1.1.2cvs20060328.tar.gz 7996045 RMD160 4e561e02b7cd9a10797925386ae DIST xine-lib-patches-24.tar.bz2 18687 size 18687 DIST xine-lib-patches-32.tar.bz2 13224 RMD160 a2d8d23a9fb64f1f2df4f48e111295308154453c SHA256 09c87125d862b2ceab974042b03c99b0b12197a1643551d2ab2390792d40452b size 13224 DIST xine-lib-patches-33.tar.bz2 20898 RMD160 c5a774c8e9e0565cdc55f8ab3fee67970ea578c9 SHA256 8a5d33f999b79365f7ca1c3b7ece0f78aed17cbb18f05d4fc5b4f66dd895f622 size 20898 -DIST xine-lib-patches-34.tar.bz2 21247 RMD160 e47cf12cee5f58699e4c7792e67a9032110a6ebf SHA256 12d74a8ed5b0e9ffd850db669c1f1ba290fbd2dc7b6f6b67d12adb836a34aa11 size 21247 +DIST xine-lib-patches-35.tar.bz2 26389 RMD160 c39b9429bfa86f41901d344b5f07028df87da5fe SHA256 a8baa9093e4da11b7f06a2ae8c7668b6090383865057b88db76c8efe278ca424 size 26389 EBUILD xine-lib-1.1.1-r3.ebuild 7232 RMD160 6a7024dedd3646e054cbe2731af58eed8013e9bd SHA1 92c83023f1f2cf42accb15ea9a6463ca1eba2f81 SHA256 1a281ed1ce771661ae909ecfe5de3e83e8fe5be6b93ed1ebc07b59227301cc25 size 7232 MD5 578712f99de216da48aefcc69567dcf1 xine-lib-1.1.1-r3.ebuild 7232 RMD160 6a7024dedd3646e054cbe2731af58eed8013e9bd xine-lib-1.1.1-r3.ebuild 7232 @@ -19,14 +19,14 @@ EBUILD xine-lib-1.1.2_pre20060328-r2.ebuild 7898 RMD160 573213333431bade16ac4913 MD5 1023ff510b2a85971f8ec588bcfc6d17 xine-lib-1.1.2_pre20060328-r2.ebuild 7898 RMD160 573213333431bade16ac49131a206a5695df090c xine-lib-1.1.2_pre20060328-r2.ebuild 7898 SHA256 676cfa458ac4240c18535e5c30ac840096b8ca98826f319bd7166acc35f92058 xine-lib-1.1.2_pre20060328-r2.ebuild 7898 -EBUILD xine-lib-1.1.2_pre20060328-r3.ebuild 7795 RMD160 e377ca5627ebc37e25e23334b8223e05e0bd3f74 SHA1 61acd190f636b991283dafe110046754cc38a209 SHA256 98a14f3703bee47732e31723999cfcf64a6933dbfd550e67d26cda4ac321ffd3 size 7795 -MD5 79b7797812ad0ef829588e65c3e582a7 xine-lib-1.1.2_pre20060328-r3.ebuild 7795 -RMD160 e377ca5627ebc37e25e23334b8223e05e0bd3f74 xine-lib-1.1.2_pre20060328-r3.ebuild 7795 -SHA256 98a14f3703bee47732e31723999cfcf64a6933dbfd550e67d26cda4ac321ffd3 xine-lib-1.1.2_pre20060328-r3.ebuild 7795 -MISC ChangeLog 27557 RMD160 8832825298bbae1a5182948f1c914d823de01c3f SHA1 32e4f60a35cc4a4a6c0ad5b91bff5dbf826fd00c SHA256 b8b4fac20da782eac47c07b26579d096bf6f0ccaf3c3a4f734693b6a7b863907 size 27557 -MD5 71bfff4baaf85e5ca264633e910d636e ChangeLog 27557 -RMD160 8832825298bbae1a5182948f1c914d823de01c3f ChangeLog 27557 -SHA256 b8b4fac20da782eac47c07b26579d096bf6f0ccaf3c3a4f734693b6a7b863907 ChangeLog 27557 +EBUILD xine-lib-1.1.2_pre20060328-r4.ebuild 7795 RMD160 8ecb9feb24b69ab6f80e6e9e7520d0bd0b99c4bd SHA1 c72e25e74d725f54b64e0a8f8ac917e55f099336 SHA256 c01709f1072e48687c57e22ff3c9f184bf9fe8068a18d8d660450c0711fc6382 size 7795 +MD5 3dfb6aa5ed12dd7de0f421dc84e8d743 xine-lib-1.1.2_pre20060328-r4.ebuild 7795 +RMD160 8ecb9feb24b69ab6f80e6e9e7520d0bd0b99c4bd xine-lib-1.1.2_pre20060328-r4.ebuild 7795 +SHA256 c01709f1072e48687c57e22ff3c9f184bf9fe8068a18d8d660450c0711fc6382 xine-lib-1.1.2_pre20060328-r4.ebuild 7795 +MISC ChangeLog 27848 RMD160 c4f5fc49ce43808ed9e08d9c3aa50bb05321050f SHA1 b72abba4211865ce3554d7260b014f0a3c1058fc SHA256 652d640fda7f32a7c190530bd0e00b21ae16c7f3586859dadac0a82180ffb3c4 size 27848 +MD5 9e863fdfc0a0071f1463d22ec0a79107 ChangeLog 27848 +RMD160 c4f5fc49ce43808ed9e08d9c3aa50bb05321050f ChangeLog 27848 +SHA256 652d640fda7f32a7c190530bd0e00b21ae16c7f3586859dadac0a82180ffb3c4 ChangeLog 27848 MISC metadata.xml 330 RMD160 19830d3a2049c3ad75c580173d0436d7ec9dc8f2 SHA1 6e47671ad5629f45f8bba068ae87a7b27b4c9750 SHA256 b36ce82ff9c321a5ed63eded0c3a191e78752cd38220b86bd8639a0d70ac9d92 size 330 MD5 40462be9f1caff6326630fc3b93e7105 metadata.xml 330 RMD160 19830d3a2049c3ad75c580173d0436d7ec9dc8f2 metadata.xml 330 @@ -40,13 +40,13 @@ SHA256 78728c79fc77cab9a6f7c21f7a2eed2214a3621b408500fdd31a47535e33f65a files/di MD5 c2ece4a7b93084da70d23385e15c53bb files/digest-xine-lib-1.1.2_pre20060328-r2 539 RMD160 8bc7657606b428177fc57c8ec366ba57fec00a83 files/digest-xine-lib-1.1.2_pre20060328-r2 539 SHA256 c21af813701378f76e191bb13ef7cda054fd58ddaf5f0c3ac01d1702e41ce1f3 files/digest-xine-lib-1.1.2_pre20060328-r2 539 -MD5 88b66fb6a9722e4650976d607b8bc6b7 files/digest-xine-lib-1.1.2_pre20060328-r3 539 -RMD160 a7fde409054a3cd60bbebff780e5e6922112ade5 files/digest-xine-lib-1.1.2_pre20060328-r3 539 -SHA256 ea48aaa8b85af2991738f4bddd52247f4020765da5ba12a66a3050968e6091bd files/digest-xine-lib-1.1.2_pre20060328-r3 539 +MD5 ad5b398e77316772c07a2478792c5d8f files/digest-xine-lib-1.1.2_pre20060328-r4 539 +RMD160 bf3eeee7d57392ccd5e5f39cd53a474f45178cee files/digest-xine-lib-1.1.2_pre20060328-r4 539 +SHA256 a3e7d768a1f61a514205a65205411a6764cc917f38ad86a16ceb30c055ea216c files/digest-xine-lib-1.1.2_pre20060328-r4 539 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) -iD8DBQFETtGCAiZjviIA2XgRArEVAKC5WgjixVatTaJkrMhuGxzr/iVGRQCgxVEz -s5WWuB9M2Tx3E5mvujXJ/WU= -=uT2v +iD8DBQFET1OlAiZjviIA2XgRAmBBAJ97fzma15uGzzNHPmcZcZwelDqV9ACgu105 +Cyl0/xJ5fN9Rx65bLZGnhCA= +=RRfR -----END PGP SIGNATURE----- diff --git a/media-libs/xine-lib/files/digest-xine-lib-1.1.2_pre20060328-r3 b/media-libs/xine-lib/files/digest-xine-lib-1.1.2_pre20060328-r3 deleted file mode 100644 index 908440b2fdd9..000000000000 --- a/media-libs/xine-lib/files/digest-xine-lib-1.1.2_pre20060328-r3 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 1b98ffb4087025c7c38bae883ada8735 xine-lib-1.1.2cvs20060328.tar.gz 7996045 -RMD160 4e561e02b7cd9a10797925386ae7416a932c8431 xine-lib-1.1.2cvs20060328.tar.gz 7996045 -SHA256 fd95811d123e4a82c815674f3722faf3a769e3ba3760d5a4da8630c83f7c7e38 xine-lib-1.1.2cvs20060328.tar.gz 7996045 -MD5 563e95261c2f7c5e30484affad0d9f1c xine-lib-patches-34.tar.bz2 21247 -RMD160 e47cf12cee5f58699e4c7792e67a9032110a6ebf xine-lib-patches-34.tar.bz2 21247 -SHA256 12d74a8ed5b0e9ffd850db669c1f1ba290fbd2dc7b6f6b67d12adb836a34aa11 xine-lib-patches-34.tar.bz2 21247 diff --git a/media-libs/xine-lib/xine-lib-1.1.2_pre20060328-r3.ebuild b/media-libs/xine-lib/xine-lib-1.1.2_pre20060328-r3.ebuild deleted file mode 100644 index cd48769b4405..000000000000 --- a/media-libs/xine-lib/xine-lib-1.1.2_pre20060328-r3.ebuild +++ /dev/null @@ -1,266 +0,0 @@ -# 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.2_pre20060328-r3.ebuild,v 1.1 2006/04/26 01:48:34 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 - MY_PKG_SUFFIX="" - MY_P="${PN}-${PV/_/-}${MY_PKG_SUFFIX}" - S="${WORKDIR}/${MY_P}" - - SRC_URI="mirror://sourceforge/xine/${MY_P}.tar.gz" -else - MY_P="${PN}-${PV/_pre/cvs}" - S="${WORKDIR}/${MY_P/cvs*/cvs}" - - SRC_URI="mirror://gentoo/${MY_P}.tar.gz" -fi - -PATCHLEVEL="34" - -DESCRIPTION="Core libraries for Xine movie player" -HOMEPAGE="http://xine.sourceforge.net/" -SRC_URI="${SRC_URI} - mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2" - -LICENSE="GPL-2" -SLOT="1" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" - -IUSE_VIDEO_CARDS="video_cards_nvidia video_cards_via video_cards_i810" - -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 asf -ffmpeg debug modplug ${IUSE_VIDEO_CARDS}" - -RDEPEND="vorbis? ( media-libs/libvorbis ) - X? ( || ( ( - x11-libs/libXext - x11-libs/libX11 ) - virtual/x11 ) ) - xv? ( || ( x11-libs/libXv virtual/x11 ) ) - xvmc? ( - || ( x11-libs/libXvMC virtual/x11 ) - video_cards_nvidia? ( media-video/nvidia-glx ) - video_cards_via? ( || ( x11-drivers/xf86-video-via virtual/x11 ) ) - video_cards_i810? ( || ( x11-drivers/xf86-video-i810 virtual/x11 ) ) - ) - xinerama? ( || ( x11-libs/libXinerama virtual/x11 ) ) - win32codecs? ( >=media-libs/win32codecs-0.50 ) - esd? ( media-sound/esound ) - dvd? ( media-libs/libdvdnav - >=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.0.4 ) - sdl? ( >=media-libs/libsdl-1.1.5 ) - dxr3? ( >=media-libs/libfame-0.9.0 ) - theora? ( media-libs/libtheora ) - speex? ( media-libs/speex ) - libcaca? ( media-libs/libcaca ) - 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 ) - ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20051120 ) - modplug? ( media-libs/libmodplug ) - nls? ( virtual/libintl ) - virtual/libiconv - !=media-libs/xine-lib-0.9.13*" - -DEPEND="${RDEPEND} - X? ( || ( ( - x11-base/xorg-server - x11-libs/libXt - x11-proto/xextproto - x11-proto/xproto - x11-proto/videoproto - x11-proto/xf86vidmodeproto - xinerama? ( x11-proto/xineramaproto ) ) - virtual/x11 ) - ) - v4l? ( virtual/os-headers ) - dev-util/pkgconfig - nls? ( sys-devel/gettext )" - -src_unpack() { - unpack ${A} - cd ${S} - - EPATCH_EXCLUDE="patches/240_all_faad-interposing.patch" \ - EPATCH_SUFFIX="patch" epatch ${WORKDIR}/patches - - # ffmpeg doesn'g use libtool, so the condition for PIC code - # is __PIC__, not PIC. - sed -i -e 's/#\(\(.*def *\)\|\(.*defined *\)\|\(.*defined(*\)\)PIC/#\1__PIC__/' \ - src/libffmpeg/libavcodec/i386/dsputil_mmx{.c,_rnd.h,_avg.h} \ - src/libffmpeg/libavcodec/msmpeg4.c \ - || die "sed failed (__PIC__)" - - AT_M4DIR="m4" eautoreconf -} - -# check for the X11 path for a given library -get_x11_dir() { - if [[ -f "${ROOT}/usr/$(get_libdir)/$1" ]]; then - echo "${ROOT}/usr/$(get_libdir)" - elif [[ -f "${ROOT}/usr/$(get_libdir)/xorg/$1" ]]; then - echo "${ROOT}/usr/$(get_libdir)/xorg" - elif [[ -f "${ROOT}/usr/X11R6/$(get_libdir)/$1" ]]; then - echo "${ROOT}/usr/X11R6/$(get_libdir)" - fi -} - -src_compile() { - #prevent quicktime crashing - append-flags -frename-registers -ffunction-sections - - # Specific workarounds for too-few-registers arch... - if [[ $(tc-arch) == "x86" ]]; then - append-flags -UHAVE_MMX - filter-flags -fforce-addr # breaks ffmpeg module - filter-flags -momit-leaf-frame-pointer # break on gcc 3.4/4.x - append-flags -mno-sse -fomit-frame-pointer - is-flag -O? || append-flags -O2 - - ewarn "" - ewarn "Debug information will be almost useless as the frame pointer is omitted." - ewarn "This makes debugging harder, so crashes that has no fixed behavior are" - ewarn "difficult to fix. Please have that in mind." - ewarn "" - fi - - # debug useflag used to emulate debug make targets. See bug #112980 and the - # xine maintainers guide. - use debug && append-flags -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 - - if ! use xvmc; then - myconf="${myconf} --disable-xvmc" - else - count="0" - if use video_cards_nvidia; then - count="`expr ${count} + 1`" - xvmclib="XvMCNVIDIA" - fi - - if use video_cards_i810; then - count="`expr ${count} + 1`" - xvmclib="I810XvMC" - fi - - if use video_cards_via; then - count="`expr ${count} + 1`" - xvmclib="viaXvMC" - fi - - if [[ "${count}" -gt "1" ]]; then - eerror "Invalid combination of USE flags" - eerror "When building support for xvmc, you may only include support" - eerror "for none or one of the following VIDEO_CARDS:" - eerror "" - eerror "nvidia i810 via" - eerror "" - eerror "XvMC support will try to link against libXvMCW." - elif [[ -n "${xvmclib}" ]]; then - xvmcconf="--with-xvmc-lib=${xvmclib} --with-xxmc-lib=${xvmclib}" - xvmcdir=$(get_x11_dir libXvMC.so) - - [[ -z ${xvmcdir} ]] && die "Unable to find libXvMC.so." - - myconf="${myconf} ${xvmcconf} --with-xvmc-path=${xvmcdir} --with-xxmc-path=${xvmcdir}" - fi - fi - - if use xv; then - xvdir=$(get_x11_dir libXv.so) - - [[ -z ${xvdir} ]] && die "Unable to find libXv.so. Did you set USE=\"xv\" when you emerged xorg-x11?" - - myconf="${myconf} --with-xv-path=${xvdir}" - fi - - econf \ - $(use_enable gnome) \ - $(use_enable nls) \ - $(use_enable ipv6) \ - $(use_enable samba) \ - $(use_enable altivec) \ - \ - $(use_enable mng) \ - $(use_enable imagemagick) \ - \ - $(use_enable aac faad) \ - $(use_enable flac) \ - $(use_with vorbis ogg) $(use_with vorbis) \ - $(use_enable speex) \ - $(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_enable libcaca caca) \ - $(use_enable sdl) \ - \ - $(use_enable oss) \ - $(use_enable alsa) \ - $(use_enable arts) \ - $(use_enable esd) \ - $(use_enable vcd) --without-internal-vcdlibs \ - \ - $(use_enable asf) \ - $(use_enable win32codecs w32dll) \ - $(use_enable modplug) \ - $(use_with ffmpeg external-ffmpeg) \ - --disable-polypaudio \ - --disable-optimizations \ - ${myconf} \ - --with-external-dvdnav \ - --with-w32-path=/usr/lib/win32 \ - --disable-dependency-tracking || die "econf failed" - - emake -j1 || die "emake failed" -} - -src_install() { - make 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 -} - -pkg_postinst() { - if use win32codecs && ! use asf; then - einfo "You choose to build win32codecs support but disabled ASF" - einfo "demuxer. This way you'll have support for win32codecs in" - einfo "formats like AVI or Matroska, but not in WMV/WMA files." - einfo "" - einfo "To be able to play WMV/WMA files, please add asf useflag." - fi -} |