From: Diego Elio Pettenò Date: Sun, 10 Dec 2006 15:05:08 +0000 (+0000) Subject: Bump to version 0.8.6 final. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b6cffc9726b84e00ed51046788a23e1142d6f7e9;p=gentoo.git Bump to version 0.8.6 final. Package-Manager: portage-2.1.2_rc3 --- diff --git a/media-video/vlc/Manifest b/media-video/vlc/Manifest index 0a07c64ef2d6..7a122a3528a8 100644 --- a/media-video/vlc/Manifest +++ b/media-video/vlc/Manifest @@ -3,12 +3,10 @@ Hash: SHA1 DIST vlc-0.8.4a.tar.bz2 7191539 RMD160 50ea307c1aa70d7189a8c7cd09bf5e1d60e4856b SHA1 043462db25e6eeb7f648c600d2dbca1524056580 SHA256 003b6bb71255af006ac3a36ff0184e0cb9d5e08589b2d500f73b3c8052d6adf9 DIST vlc-0.8.5.tar.bz2 8562996 RMD160 d24140a5b4bf771754028090e103bb5c171e4fd8 SHA1 2f0a26a336a5211f32c7bcc653dfd0b27f1fb26b SHA256 48bc557bec16b48a304e5e760aef10e1c3cca2d74a011bc900bd1768d9ee79fa -DIST vlc-0.8.6-rc1.tar.bz2 10499652 RMD160 624dc44acdff2033e53d45aa27bb674c971891e3 SHA1 2220648e74f012526e0317b02dc512661ba6c31a SHA256 0d6678dfd99a00bee40b3965ff436bec380bbd5b1dc85b46fbc8a1728b63e7d9 -DIST vlc-0.8.6-test2a.tar.bz2 10212754 RMD160 4238df450a18031ef4d06c53c8fee76acd11ab7e SHA1 09615d3c2c7202fb7ead2bb1be0e4dcdca43d435 SHA256 eb07896fe987ae77f35640959008ff59eb071e3ffbda26d14076f47c787f4f2d +DIST vlc-0.8.6.tar.bz2 10506025 RMD160 0ec4cea5562d0aeaada9a9c533caa5489764d52d SHA1 86c038fdca2b6c8665e83e302a1a7a5e64a6b912 SHA256 17b114d1fe0177c6639b3fb0985c47362bcf1a405bf5fb401aeffb5dc9b3dba7 DIST vlc-patches-16.tar.bz2 10206 RMD160 e9edce6e298a74cb08eec00bcadac6097f772cbf SHA1 81864732b0669dd944c9b6c7efbb3e2362b66471 SHA256 d537ec6e05cbeef04179435e2aabcc9bc9c876063000fd5b037184fabad8c5aa DIST vlc-patches-25.tar.bz2 11370 RMD160 ee95b5698cff2f3ccf347b0ed5bc7c43c0c13502 SHA1 5b72ce53fced638747228f9eedb3eec80ce32b2b SHA256 be82dbf2ceb476b1dc035ee90e7c1bb01f6efe52c3679751416c2133ba3c0dde DIST vlc-patches-28.tar.bz2 12689 RMD160 32e0c7a35e8492b4885e3ca41af1dc4563a383c8 SHA1 80fd57a0aaa1f2fc3a57b2c7f44ceedac2aa6233 SHA256 5b7d4e3b14682e889e0ec00d66999d24bf4d4494b88887f3fb7c32e360dd5393 -DIST vlc-patches-29.tar.bz2 8544 RMD160 3c68001fc784329d72836ba7007020edcbfa9164 SHA1 8b42a78a71468bae5612361b73ba630cf69d2afe SHA256 c29f9588d6cfcc3b8ff13a1862a7d1e6edde9aac41c9dcbf7c032bf4c8fa2414 DIST vlc-patches-31.tar.bz2 9153 RMD160 bfd6b5207f55d057827128211770eb92dafd15d5 SHA1 80708be8996358524a72859fdced23ba909905b4 SHA256 dd0b4c797416fe1ad4f2a7c50fed140e4c860addae7672e01f04277650cd3ba3 EBUILD vlc-0.8.4a-r1.ebuild 7123 RMD160 7c33c38b070daff71acb59f83655d5c64b05b54a SHA1 767f5a46624002488571a443bc776a6efc72d330 SHA256 e3621a1941a365c4e5ee8d257b4d0d0878ac40d5a021627513cc4402053e5028 MD5 661adeff1292bb17ab516387be301479 vlc-0.8.4a-r1.ebuild 7123 @@ -22,18 +20,14 @@ EBUILD vlc-0.8.5-r5.ebuild 7479 RMD160 d87443d301afdc32f29b74beb908852bd309c737 MD5 81ff77133353f46a2181354d2978d73e vlc-0.8.5-r5.ebuild 7479 RMD160 d87443d301afdc32f29b74beb908852bd309c737 vlc-0.8.5-r5.ebuild 7479 SHA256 9a7e6659a999ac2749b9222d58ed8816ab7f0bae848a588f618837ed927f0761 vlc-0.8.5-r5.ebuild 7479 -EBUILD vlc-0.8.6_beta2.ebuild 7820 RMD160 cdd50208e57a5d84da9372f20f5f235dbca62217 SHA1 e3bb4f24c241d1c7aab4c34487761f92d9347eda SHA256 a19dcec045d2280aa47227731b6cd5c301fdd9a358711e63ad0252d073d88de4 -MD5 f5c285d2e8d551d31d022624f0eeb3ad vlc-0.8.6_beta2.ebuild 7820 -RMD160 cdd50208e57a5d84da9372f20f5f235dbca62217 vlc-0.8.6_beta2.ebuild 7820 -SHA256 a19dcec045d2280aa47227731b6cd5c301fdd9a358711e63ad0252d073d88de4 vlc-0.8.6_beta2.ebuild 7820 -EBUILD vlc-0.8.6_rc1.ebuild 8071 RMD160 782ea18246b99d2bfa0a159034b4fc5ca2b7614b SHA1 f3ad459f7c820f54caa82de92b13f37e0acd774b SHA256 d46dbabd68c14feec503c00b07ceec2fb1b338683a8ca9337941f48233eaec52 -MD5 4f9fc977591d5c2e0d313d34d22fe962 vlc-0.8.6_rc1.ebuild 8071 -RMD160 782ea18246b99d2bfa0a159034b4fc5ca2b7614b vlc-0.8.6_rc1.ebuild 8071 -SHA256 d46dbabd68c14feec503c00b07ceec2fb1b338683a8ca9337941f48233eaec52 vlc-0.8.6_rc1.ebuild 8071 -MISC ChangeLog 36982 RMD160 a64bc5ebd2c63b6fcf9304adeee4b2edbdf6b773 SHA1 e17a365402aeb7e83d6bb531c97be47b6484376b SHA256 4826c1080067737e39bd64fdbf062f5c7c49c57e9c24bb3ea5d41f6ff2be9b9d -MD5 0dc5c33941b1d29cd2e19981f6716ee9 ChangeLog 36982 -RMD160 a64bc5ebd2c63b6fcf9304adeee4b2edbdf6b773 ChangeLog 36982 -SHA256 4826c1080067737e39bd64fdbf062f5c7c49c57e9c24bb3ea5d41f6ff2be9b9d ChangeLog 36982 +EBUILD vlc-0.8.6.ebuild 8067 RMD160 d102df0e9a925918f38c0a61576eef582c7c732f SHA1 bab6218e4608f9ecc953bc122208153a0d927ec4 SHA256 ed29fc00d2e61ef069a705de99222c4dc409d1549266c8300715d3291aa641e8 +MD5 5efe0f3a0d46655f576145fef21914ea vlc-0.8.6.ebuild 8067 +RMD160 d102df0e9a925918f38c0a61576eef582c7c732f vlc-0.8.6.ebuild 8067 +SHA256 ed29fc00d2e61ef069a705de99222c4dc409d1549266c8300715d3291aa641e8 vlc-0.8.6.ebuild 8067 +MISC ChangeLog 37162 RMD160 8b8f7c13fb2cff899000d013834868f85dfd524a SHA1 242fc7ea8a5ff5208088b78ad4337b168fdb6694 SHA256 2d12badf90242dbe5cdfe1b321c855980e5334aa23e524597d90471b2c9e3456 +MD5 cbfb1009cfb8b9456c76d83e0ff64dd7 ChangeLog 37162 +RMD160 8b8f7c13fb2cff899000d013834868f85dfd524a ChangeLog 37162 +SHA256 2d12badf90242dbe5cdfe1b321c855980e5334aa23e524597d90471b2c9e3456 ChangeLog 37162 MISC metadata.xml 158 RMD160 d91ff64b3e5f86657b8b6ba02c41a26247a2fac7 SHA1 9ac37da489ebe6e58e32fe8e037b1ef2d99c6638 SHA256 f9dd4fb4a7f368e776ea0d7d394dad8f3a674e67f6103d6fb58a8a98971eeee4 MD5 7300a7b361fa9f48e37722c6952bd432 metadata.xml 158 RMD160 d91ff64b3e5f86657b8b6ba02c41a26247a2fac7 metadata.xml 158 @@ -47,16 +41,13 @@ SHA256 bfd1f44477c295414873d4caa10fe213eed6a193d129c1b0f2a619fa8b3db1f8 files/di MD5 cf41ef50eba316f28accddd936186d61 files/digest-vlc-0.8.5-r5 479 RMD160 1e715798d907f8e77c151260cc5b130bdec6741a files/digest-vlc-0.8.5-r5 479 SHA256 71ab8cd26defa0b2ab1517c7fc93188a38657475a9099907c87f7ed03dca32b4 files/digest-vlc-0.8.5-r5 479 -MD5 3b81236426f547ff24a72bda792e7d21 files/digest-vlc-0.8.6_beta2 500 -RMD160 467fe195b1d17ac594807ea5b3c9c1b8f336df5c files/digest-vlc-0.8.6_beta2 500 -SHA256 8ee2b8cad31d5d39f1db30c2e54c506eb983c2963a4cd137f39ef4812417dc0f files/digest-vlc-0.8.6_beta2 500 -MD5 aec9791355d2fb2338da2172317608b7 files/digest-vlc-0.8.6_rc1 491 -RMD160 7bf18df65b3ce7073c54681b2f9ec774436a1c6b files/digest-vlc-0.8.6_rc1 491 -SHA256 432cf2f8e50fc827d4ad97460f96614df61f7dc6cbae69dc175a894d56e18900 files/digest-vlc-0.8.6_rc1 491 +MD5 b995d133a0026052f951b0397d7d5c66 files/digest-vlc-0.8.6 479 +RMD160 61aa9cee004dea950ee4e75055ce3e566e7cbe9d files/digest-vlc-0.8.6 479 +SHA256 3221d684e5644bd346c7b72d62a543d600bbdd4413cd50ce166ee75792490ef8 files/digest-vlc-0.8.6 479 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) -iD8DBQFFevuSAiZjviIA2XgRAk47AKDiRcjuNsdTnDsknhcLhqc6Psuq7ACdFK6L -CWYSJfM3mFzRZ7FrJFc/qJc= -=l0eC +iD8DBQFFfCIjAiZjviIA2XgRAjHVAKDS4fQRLyqMVy5Vb4MzY8cz6TtrNQCgiyfF +iriEiXZlTNX+6jCMF0nrugk= +=vPRj -----END PGP SIGNATURE----- diff --git a/media-video/vlc/files/digest-vlc-0.8.6_beta2 b/media-video/vlc/files/digest-vlc-0.8.6_beta2 deleted file mode 100644 index 0e77de2d3a51..000000000000 --- a/media-video/vlc/files/digest-vlc-0.8.6_beta2 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 5c9f205988f374d9d39bd62a4f6b6cc7 vlc-0.8.6-test2a.tar.bz2 10212754 -RMD160 4238df450a18031ef4d06c53c8fee76acd11ab7e vlc-0.8.6-test2a.tar.bz2 10212754 -SHA256 eb07896fe987ae77f35640959008ff59eb071e3ffbda26d14076f47c787f4f2d vlc-0.8.6-test2a.tar.bz2 10212754 -MD5 e531679fb9b61a92f4d9b328f9b1c9ee vlc-patches-29.tar.bz2 8544 -RMD160 3c68001fc784329d72836ba7007020edcbfa9164 vlc-patches-29.tar.bz2 8544 -SHA256 c29f9588d6cfcc3b8ff13a1862a7d1e6edde9aac41c9dcbf7c032bf4c8fa2414 vlc-patches-29.tar.bz2 8544 diff --git a/media-video/vlc/files/digest-vlc-0.8.6_rc1 b/media-video/vlc/files/digest-vlc-0.8.6_rc1 deleted file mode 100644 index f192e695c134..000000000000 --- a/media-video/vlc/files/digest-vlc-0.8.6_rc1 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 edbd60bf285df32dd393bc1fd04be0c2 vlc-0.8.6-rc1.tar.bz2 10499652 -RMD160 624dc44acdff2033e53d45aa27bb674c971891e3 vlc-0.8.6-rc1.tar.bz2 10499652 -SHA256 0d6678dfd99a00bee40b3965ff436bec380bbd5b1dc85b46fbc8a1728b63e7d9 vlc-0.8.6-rc1.tar.bz2 10499652 -MD5 4183603323a21b2aa38717051c8a3487 vlc-patches-31.tar.bz2 9153 -RMD160 bfd6b5207f55d057827128211770eb92dafd15d5 vlc-patches-31.tar.bz2 9153 -SHA256 dd0b4c797416fe1ad4f2a7c50fed140e4c860addae7672e01f04277650cd3ba3 vlc-patches-31.tar.bz2 9153 diff --git a/media-video/vlc/vlc-0.8.6_beta2.ebuild b/media-video/vlc/vlc-0.8.6_beta2.ebuild deleted file mode 100644 index 188639097bd0..000000000000 --- a/media-video/vlc/vlc-0.8.6_beta2.ebuild +++ /dev/null @@ -1,264 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-0.8.6_beta2.ebuild,v 1.3 2006/11/17 15:41:43 flameeyes Exp $ - -WANT_AUTOMAKE=latest -WANT_AUTOCONF=latest - -inherit eutils wxwidgets multilib autotools toolchain-funcs gnome2 nsplugins - -RESTRICT="confcache" - -MY_P="${P/_beta/-test}" - -PATCHLEVEL="29" -DESCRIPTION="VLC media player - Video player and streamer" -HOMEPAGE="http://www.videolan.org/vlc/" - -[[ ${MY_P} != "${P}" ]] && \ - SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}a.tar.bz2" \ - || SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2" - -SRC_URI="${SRC_URI} - mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" - -KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" -IUSE="a52 3dfx debug altivec httpd vlm gnutls live v4l cdda ogg matroska -dvb dvd vcd dts flac mpeg vorbis theora X opengl truetype svg fbcon svga -oss aalib ggi libcaca esd arts alsa wxwindows ncurses xosd lirc stream -mp3 xv bidi sdl png xml samba daap corba mod speex shout rtsp -win32codecs skins hal avahi xinerama cddb directfb upnp nsplugin seamonkey -optimisememory libnotify" - -RDEPEND=" - >=media-video/ffmpeg-0.4.9_p20050226-r1 - cdda? ( >=dev-libs/libcdio-0.71 - cddb? ( >=media-libs/libcddb-1.2.0 ) ) - live? ( >=media-plugins/live-2005.01.29 ) - dvd? ( media-libs/libdvdread - media-libs/libdvdcss - >=media-libs/libdvdnav-0.1.9 - media-libs/libdvdplay ) - esd? ( media-sound/esound ) - ogg? ( media-libs/libogg ) - matroska? ( - >=dev-libs/libebml-0.7.6 - >=media-libs/libmatroska-0.7.5 ) - mp3? ( media-libs/libmad ) - a52? ( >=media-libs/a52dec-0.7.4-r3 ) - dts? ( >=media-libs/libdts-0.0.2-r3 ) - flac? ( ~media-libs/flac-1.1.2 ) - mpeg? ( >=media-libs/libmpeg2-0.3.2 ) - vorbis? ( media-libs/libvorbis ) - theora? ( media-libs/libtheora ) - truetype? ( media-libs/freetype - media-fonts/ttf-bitstream-vera ) - svga? ( media-libs/svgalib ) - ggi? ( media-libs/libggi ) - aalib? ( media-libs/aalib ) - libcaca? ( media-libs/libcaca ) - arts? ( kde-base/arts ) - alsa? ( media-libs/alsa-lib ) - wxwindows? ( >=x11-libs/wxGTK-2.6.2-r1 ) - ncurses? ( sys-libs/ncurses ) - xosd? ( x11-libs/xosd ) - lirc? ( app-misc/lirc ) - 3dfx? ( media-libs/glide-v3 ) - bidi? ( >=dev-libs/fribidi-0.10.4 ) - gnutls? ( >=net-libs/gnutls-1.0.17 ) - sys-libs/zlib - png? ( media-libs/libpng ) - media-libs/libdvbpsi - sdl? ( >=media-libs/libsdl-1.2.8 ) - xml? ( dev-libs/libxml2 ) - samba? ( net-fs/samba ) - vcd? ( >=dev-libs/libcdio-0.72 - >=media-video/vcdimager-0.7.21 ) - daap? ( >=media-libs/libopendaap-0.3.0 ) - corba? ( >=gnome-base/orbit-2.8.0 - >=dev-libs/glib-2.3.2 ) - v4l? ( sys-kernel/linux-headers ) - dvb? ( sys-kernel/linux-headers ) - mod? ( media-libs/libmodplug ) - speex? ( media-libs/speex ) - svg? ( >=gnome-base/librsvg-2.5.0 ) - shout? ( media-libs/libshout ) - win32codecs? ( media-libs/win32codecs ) - hal? ( sys-apps/hal ) - avahi? ( >=net-dns/avahi-0.6 ) - X? ( || ( ( - x11-libs/libX11 - x11-libs/libXext - xv? ( x11-libs/libXv ) - xinerama? ( x11-libs/libXinerama ) - ) =net-misc/upnp-1.2 ) - nsplugin? ( - !seamonkey? ( www-client/mozilla-firefox ) - seamonkey? ( www-client/seamonkey ) - ) - libnotify? ( x11-libs/libnotify )" - -DEPEND="${RDEPEND} - X? ( xinerama? ( || ( x11-proto/xineramaproto =dev-libs/libcdio-0.78' || \ - export EPATCH_EXCLUDE="230_all_libcdio-0.78.2.patch" - - EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" - AT_M4DIR="m4" eautoreconf - - # Replace install-sh with libtool's copy - cp /usr/share/libtool/install-sh "${S}/autotools" -} - -src_compile () { - use wxwindows && \ - myconf="${myconf} --with-wx-config=$(basename ${WX_CONFIG}) --with-wx-config-path=$(dirname ${WX_CONFIG})" - - use vlm && \ - myconf="${myconf} --enable-vlm --enable-sout" || \ - myconf="${myconf} --disable-vlm" - - if use directfb; then - myconf="${myconf} --enable-directfb --with-directfb=/usr" - append-flags "-I /usr/include/directfb" - else - myconf="${myconf} --disable-directfb" - fi - - if use nsplugin; then - use seamonkey && \ - myconf="${myconf} --enable-mozilla=seamonkey" || \ - myconf="${myconf} --enable-mozilla=firefox" - fi - - econf \ - $(use_enable altivec) \ - $(use_enable stream sout) \ - $(use_enable httpd) \ - $(use_enable gnutls) \ - $(use_enable v4l) \ - $(use_enable cdda) $(use_enable cdda cddax)\ - $(use_enable cddb libcddb) \ - $(use_enable vcd) $(use_enable vcd vcdx) \ - $(use_enable dvb) $(use_enable dvb pvr) \ - $(use_enable ogg) \ - $(use_enable matroska mkv) \ - $(use_enable flac) \ - $(use_enable vorbis) \ - $(use_enable theora) \ - $(use_enable X x11) \ - $(use_enable xv xvideo) \ - $(use_enable xinerama) \ - $(use_enable opengl glx) $(use_enable opengl) \ - $(use_enable truetype freetype) \ - $(use_enable bidi fribidi) \ - $(use_enable dvd dvdread) $(use_enable dvd dvdplay) $(use_enable dvd dvdnav) \ - $(use_enable fbcon fb) \ - $(use_enable svga svgalib) \ - $(use_enable 3dfx glide) \ - $(use_enable aalib aa) \ - $(use_enable libcaca caca) \ - $(use_enable oss) \ - $(use_enable esd) \ - $(use_enable arts) \ - $(use_enable alsa) \ - $(use_enable wxwindows wxwidgets) \ - $(use_enable ncurses) \ - $(use_enable xosd) \ - $(use_enable lirc) \ - $(use_enable live live555) $(use_with live live555-tree /usr/lib/live) \ - $(use_enable mp3 mad) \ - $(use_enable a52) \ - $(use_enable dts) \ - $(use_enable mpeg libmpeg2) \ - $(use_enable ggi) \ - $(use_enable 3dfx glide) \ - $(use_enable sdl) \ - $(use_enable png) \ - $(use_enable xml libxml2) \ - $(use_enable samba smb) \ - $(use_enable daap) \ - $(use_enable corba) \ - $(use_enable mod) \ - $(use_enable speex) \ - $(use_enable shout) \ - $(use_enable rtsp) $(use_enable rtsp realrtsp) \ - $(use_enable win32codecs loader) \ - $(use_enable skins skins2) \ - $(use_enable hal) \ - $(use_enable avahi bonjour) \ - $(use_enable upnp) \ - $(use_enable optimisememory optimize-memory) \ - $(use_enable libnotify) \ - --enable-ffmpeg \ - --disable-faad \ - --disable-jack \ - --disable-dv \ - --disable-libvc1 \ - --disable-snapshot \ - --disable-growl \ - --disable-pth \ - --disable-portaudio \ - --disable-x264 \ - --enable-utf8 \ - --enable-libtool \ - ${myconf} || die "configuration failed" - - if [[ $(gcc-major-version) == 2 ]]; then - sed -i -e s:"-fomit-frame-pointer":: vlc-config || die "-fomit-frame-pointer patching failed" - fi - - emake || die "make of VLC failed" -} - -src_install() { - # First install the library, to avoid screwups during relinking.select - emake -C src DESTDIR="${D}" install || die "make -C src install failed" - emake DESTDIR="${D}" install || die "make install failed" - - dodoc AUTHORS MAINTAINERS HACKING THANKS TODO NEWS README \ - doc/fortunes.txt doc/intf-cdda.txt doc/intf-vcd.txt - - dodir "/usr/$(get_libdir)/${PLUGINS_DIR}" - mv "${D}"/usr/$(get_libdir)/mozilla/{components,plugins}/* \ - "${D}/usr/$(get_libdir)/${PLUGINS_DIR}/" - - rm -rf "${D}/usr/share/doc/vlc" \ - "${D}"/usr/share/vlc/vlc{16x16,32x32,48x48,128x128}.{png,xpm,ico} - - use skins || rm -rf "${D}/usr/share/vlc/skins2" - - for res in 16 32 48; do - insinto /usr/share/icons/hicolor/${res}x${res}/apps/ - newins "${S}"/share/vlc${res}x${res}.png vlc.png - done - - use wxwindows && domenu "${S}/debian/vlc.desktop" -} diff --git a/media-video/vlc/vlc-0.8.6_rc1.ebuild b/media-video/vlc/vlc-0.8.6_rc1.ebuild deleted file mode 100644 index 755be009d70f..000000000000 --- a/media-video/vlc/vlc-0.8.6_rc1.ebuild +++ /dev/null @@ -1,277 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-0.8.6_rc1.ebuild,v 1.3 2006/12/09 18:08:01 flameeyes Exp $ - -WANT_AUTOMAKE=latest -WANT_AUTOCONF=latest - -inherit eutils wxwidgets multilib autotools toolchain-funcs gnome2 nsplugins - -RESTRICT="confcache" - -MY_PV="${PV/_/-}" -MY_PV="${MY_PV/-beta/-test}" -MY_P="${PN}-${MY_PV}" - -PATCHLEVEL="31" -DESCRIPTION="VLC media player - Video player and streamer" -HOMEPAGE="http://www.videolan.org/vlc/" - -[[ ${MY_P} != "${P}" ]] && \ - SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_PV}/${MY_P}.tar.bz2" \ - || SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2" - -SRC_URI="${SRC_URI} - mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" - -KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" -IUSE="a52 3dfx debug altivec httpd vlm gnutls live v4l cdda ogg matroska -dvb dvd vcd dts flac mpeg vorbis theora X opengl truetype svg fbcon svga -oss aalib ggi libcaca esd arts alsa wxwindows ncurses xosd lirc stream -mp3 xv bidi sdl png xml samba daap corba mod speex shout rtsp -win32codecs skins hal avahi xinerama cddb directfb upnp nsplugin seamonkey -optimisememory libnotify" - -RDEPEND=" - >=media-video/ffmpeg-0.4.9_p20050226-r1 - cdda? ( >=dev-libs/libcdio-0.71 - cddb? ( >=media-libs/libcddb-1.2.0 ) ) - live? ( >=media-plugins/live-2005.01.29 ) - dvd? ( media-libs/libdvdread - media-libs/libdvdcss - >=media-libs/libdvdnav-0.1.9 - media-libs/libdvdplay ) - esd? ( media-sound/esound ) - ogg? ( media-libs/libogg ) - matroska? ( - >=dev-libs/libebml-0.7.6 - >=media-libs/libmatroska-0.7.5 ) - mp3? ( media-libs/libmad ) - a52? ( >=media-libs/a52dec-0.7.4-r3 ) - dts? ( >=media-libs/libdts-0.0.2-r3 ) - flac? ( media-libs/libogg - >=media-libs/flac-1.1.2 ) - mpeg? ( >=media-libs/libmpeg2-0.3.2 ) - vorbis? ( media-libs/libvorbis ) - theora? ( media-libs/libtheora ) - truetype? ( media-libs/freetype - media-fonts/ttf-bitstream-vera ) - svga? ( media-libs/svgalib ) - ggi? ( media-libs/libggi ) - aalib? ( media-libs/aalib ) - libcaca? ( media-libs/libcaca ) - arts? ( kde-base/arts ) - alsa? ( media-libs/alsa-lib ) - wxwindows? ( >=x11-libs/wxGTK-2.6.2-r1 ) - ncurses? ( sys-libs/ncurses ) - xosd? ( x11-libs/xosd ) - lirc? ( app-misc/lirc ) - 3dfx? ( media-libs/glide-v3 ) - bidi? ( >=dev-libs/fribidi-0.10.4 ) - gnutls? ( >=net-libs/gnutls-1.0.17 ) - sys-libs/zlib - png? ( media-libs/libpng ) - media-libs/libdvbpsi - sdl? ( >=media-libs/libsdl-1.2.8 ) - xml? ( dev-libs/libxml2 ) - samba? ( net-fs/samba ) - vcd? ( >=dev-libs/libcdio-0.72 - >=media-video/vcdimager-0.7.21 ) - daap? ( >=media-libs/libopendaap-0.3.0 ) - corba? ( >=gnome-base/orbit-2.8.0 - >=dev-libs/glib-2.3.2 ) - v4l? ( sys-kernel/linux-headers ) - dvb? ( sys-kernel/linux-headers ) - mod? ( media-libs/libmodplug ) - speex? ( media-libs/speex ) - svg? ( >=gnome-base/librsvg-2.5.0 ) - shout? ( media-libs/libshout ) - win32codecs? ( media-libs/win32codecs ) - hal? ( sys-apps/hal ) - avahi? ( >=net-dns/avahi-0.6 ) - X? ( || ( ( - x11-libs/libX11 - x11-libs/libXext - xv? ( x11-libs/libXv ) - xinerama? ( x11-libs/libXinerama ) - ) =net-misc/upnp-1.2 ) - nsplugin? ( - !seamonkey? ( www-client/mozilla-firefox ) - seamonkey? ( www-client/seamonkey ) - ) - libnotify? ( x11-libs/libnotify )" - -DEPEND="${RDEPEND} - X? ( xinerama? ( || ( x11-proto/xineramaproto =dev-libs/libcdio-0.78' || \ - export EPATCH_EXCLUDE="230_all_libcdio-0.78.2.patch" - - EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" - AT_M4DIR="m4" eautoreconf - - # Replace install-sh with libtool's copy - cp /usr/share/libtool/install-sh "${S}/autotools" -} - -src_compile () { - local XPIDL="" - local MOZILLA_CONFIG="" - - use wxwindows && \ - myconf="${myconf} --with-wx-config=$(basename ${WX_CONFIG}) --with-wx-config-path=$(dirname ${WX_CONFIG})" - - use vlm && \ - myconf="${myconf} --enable-vlm --enable-sout" || \ - myconf="${myconf} --disable-vlm" - - if use directfb; then - myconf="${myconf} --enable-directfb --with-directfb=/usr" - append-flags "-I /usr/include/directfb" - else - myconf="${myconf} --disable-directfb" - fi - - if use nsplugin; then - if use seamonkey; then - XPIDL=/usr/lib/seamonkey - MOZILLA_CONFIG=/usr/lib/seamonkey/seamonkey-config - else - XPIDL=/usr/lib/mozilla-firefox - MOZILLA_CONFIG=/usr/lib/mozilla-firefox/firefox-config - fi - fi - - econf \ - $(use_enable altivec) \ - $(use_enable stream sout) \ - $(use_enable httpd) \ - $(use_enable gnutls) \ - $(use_enable v4l) \ - $(use_enable cdda) $(use_enable cdda cddax)\ - $(use_enable cddb libcddb) \ - $(use_enable vcd) $(use_enable vcd vcdx) \ - $(use_enable dvb) $(use_enable dvb pvr) \ - $(use_enable ogg) \ - $(use_enable matroska mkv) \ - $(use_enable flac) \ - $(use_enable vorbis) \ - $(use_enable theora) \ - $(use_enable X x11) \ - $(use_enable xv xvideo) \ - $(use_enable xinerama) \ - $(use_enable opengl glx) $(use_enable opengl) \ - $(use_enable truetype freetype) \ - $(use_enable bidi fribidi) \ - $(use_enable dvd dvdread) $(use_enable dvd dvdplay) $(use_enable dvd dvdnav) \ - $(use_enable fbcon fb) \ - $(use_enable svga svgalib) \ - $(use_enable 3dfx glide) \ - $(use_enable aalib aa) \ - $(use_enable libcaca caca) \ - $(use_enable oss) \ - $(use_enable esd) \ - $(use_enable arts) \ - $(use_enable alsa) \ - $(use_enable wxwindows wxwidgets) \ - $(use_enable ncurses) \ - $(use_enable xosd) \ - $(use_enable lirc) \ - $(use_enable live live555) $(use_with live live555-tree /usr/lib/live) \ - $(use_enable mp3 mad) \ - $(use_enable a52) \ - $(use_enable dts) \ - $(use_enable mpeg libmpeg2) \ - $(use_enable ggi) \ - $(use_enable 3dfx glide) \ - $(use_enable sdl) \ - $(use_enable png) \ - $(use_enable xml libxml2) \ - $(use_enable samba smb) \ - $(use_enable daap) \ - $(use_enable corba) \ - $(use_enable mod) \ - $(use_enable speex) \ - $(use_enable shout) \ - $(use_enable rtsp) $(use_enable rtsp realrtsp) \ - $(use_enable win32codecs loader) \ - $(use_enable skins skins2) \ - $(use_enable hal) \ - $(use_enable avahi bonjour) \ - $(use_enable upnp) \ - $(use_enable optimisememory optimize-memory) \ - $(use_enable libnotify) \ - --enable-ffmpeg \ - --disable-faad \ - --disable-jack \ - --disable-dv \ - --disable-libvc1 \ - --disable-snapshot \ - --disable-growl \ - --disable-pth \ - --disable-portaudio \ - --disable-x264 \ - --enable-utf8 \ - --enable-libtool \ - $(use_enable nsplugin mozilla) \ - XPIDL="${XPIDL}" MOZILLA_CONFIG="${MOZILLA_CONFIG}" \ - ${myconf} || die "configuration failed" - - if [[ $(gcc-major-version) == 2 ]]; then - sed -i -e s:"-fomit-frame-pointer":: vlc-config || die "-fomit-frame-pointer patching failed" - fi - - emake || die "make of VLC failed" -} - -src_install() { - # First install the library, to avoid screwups during relinking.select - emake -j1 DESTDIR="${D}" install || die "make install failed" - - dodoc AUTHORS MAINTAINERS HACKING THANKS TODO NEWS README \ - doc/fortunes.txt doc/intf-cdda.txt doc/intf-vcd.txt - - if use nsplugin; then - dodir "/usr/$(get_libdir)/${PLUGINS_DIR}" - mv "${D}"/usr/$(get_libdir)/mozilla/{components,plugins}/* \ - "${D}/usr/$(get_libdir)/${PLUGINS_DIR}/" - - rm -rf "${D}/usr/share/doc/vlc" \ - "${D}"/usr/share/vlc/vlc{16x16,32x32,48x48,128x128}.{png,xpm,ico} - fi - - use skins || rm -rf "${D}/usr/share/vlc/skins2" - - for res in 16 32 48; do - insinto /usr/share/icons/hicolor/${res}x${res}/apps/ - newins "${S}"/share/vlc${res}x${res}.png vlc.png - done - - use wxwindows && domenu "${S}/debian/vlc.desktop" -}