diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-09-16 07:07:25 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-09-16 07:07:25 +0000 |
commit | f84578c146b00e14292908d9b0b4e7367626bcf0 (patch) | |
tree | 9ce09fdf5dad00963573c88aa156c5abaf108f27 /media-video | |
parent | version bump (diff) | |
download | historical-f84578c146b00e14292908d9b0b4e7367626bcf0.tar.gz historical-f84578c146b00e14292908d9b0b4e7367626bcf0.tar.bz2 historical-f84578c146b00e14292908d9b0b4e7367626bcf0.zip |
new upstream release
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26.3 x86_64
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/vlc/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/vlc/Manifest | 10 | ||||
-rw-r--r-- | media-video/vlc/vlc-0.9.2.ebuild | 357 |
3 files changed, 369 insertions, 5 deletions
diff --git a/media-video/vlc/ChangeLog b/media-video/vlc/ChangeLog index 196ec53141cb..16e7fb45e80e 100644 --- a/media-video/vlc/ChangeLog +++ b/media-video/vlc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/vlc # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.384 2008/09/08 05:52:52 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.385 2008/09/16 07:07:25 aballier Exp $ + +*vlc-0.9.2 (16 Sep 2008) + + 16 Sep 2008; Alexis Ballier <aballier@gentoo.org> +vlc-0.9.2.ebuild: + new upstream release 08 Sep 2008; Alexis Ballier <aballier@gentoo.org> vlc-0.9.1.ebuild: support also older revisions of ffmpeg diff --git a/media-video/vlc/Manifest b/media-video/vlc/Manifest index 6333b283f7c6..420afb9cb493 100644 --- a/media-video/vlc/Manifest +++ b/media-video/vlc/Manifest @@ -4,18 +4,20 @@ Hash: SHA1 DIST vlc-0.8.6i.tar.bz2 11786172 RMD160 a5da4e1e0980594c678c04016491c8a373df4017 SHA1 4c6f45dffe3a8309ce201897040dc1f82b9cde99 SHA256 a866768f7dd8254c62e059327094073800ed968214b5b35e2682eb81f448214f DIST vlc-0.9.0-test3.tar.bz2 15400271 RMD160 edc5fd17611da7e27f83cfadf4f27d8e4e1ad6c8 SHA1 a41d11aaa35fd18e27167f750d841dd7d9ef83a2 SHA256 25afd66a2dd3e573258f455a514eec2eafa80582861e0b0aa8f2818b11c55bb8 DIST vlc-0.9.1.tar.bz2 15795447 RMD160 0dac8f648140833c6bca41608caba7bd2faf3bb0 SHA1 c9202b0333acfde998d329a4973034212bbe3542 SHA256 97031e622f54081ab34c7140792b738d732f30a38303758f213e0892e267ebdf +DIST vlc-0.9.2.tar.bz2 16163031 RMD160 00dd848b794ac5ebd99503fdb6ec653a67e41766 SHA1 04b1fa46964bee98a4dc5b07f21d2980c1081f59 SHA256 b839353694fa5d47b8874573525a6612ce22654774c7cd2d9d4a16f7044b7854 DIST vlc-m4-1.tar.bz2 1685 RMD160 14775ca0d23a348d0d2809f8fa0a6b86e2f1623f SHA1 0310423bf9157b402f66107c365dd39abedb0d33 SHA256 6feee6c520c8fcfa45c1bcc07475304c7a68d31985bb1b432b5b7b174a277a54 DIST vlc-patches-59.tar.bz2 4685 RMD160 a01cba6d4af12ebd26faed4a7f8894529dc42e57 SHA1 387934801502ff82045ab446fb1421b14233cf03 SHA256 cf38f9398e62fad8c51dc1b0c8467236cbffb1d465ddbf5ab62d2bf4bbd1ec35 DIST vlc-patches-61.tar.bz2 11855 RMD160 8f79c5594eca44c0f5bb4ed19e48ae39a8b17013 SHA1 6c7cc969ae4abbaccc8e1e8d3323d5a33bccf364 SHA256 01800e30ca1db5c5bbab8317195be1dc4c074452bbe41ed7f061e491baac6e24 EBUILD vlc-0.8.6i-r2.ebuild 9095 RMD160 fa8c121127749ac5c21bc66e8646d4c6e2cf148a SHA1 1d1e5d6b5fe28df220314a1855c64facbb9670e8 SHA256 cf5e7e0727b694372b9a9d4cf77972089fb61d99d7accab6d0f6e5ea6fcceace EBUILD vlc-0.9.0_beta3.ebuild 10840 RMD160 cc6b3317023175bbe0a04ed3c631d758c2cf5df5 SHA1 b8af07c935f38ac457f067a45264632c680dc43a SHA256 dd0b00a8641d324077fb5ebf4b31cc4d8e5a830630c516bc4987c3b7a75f7660 EBUILD vlc-0.9.1.ebuild 11071 RMD160 3120f4547c05ebf521d79125a74e4b3e19b38a92 SHA1 1f77d6b68fba00b53c795857395ea50e6245f230 SHA256 516aab80bb07e3b2cb95a955cd3348db05e1fe90b5148f690c514bf74dc02ea0 -MISC ChangeLog 63021 RMD160 54ec7543e739b358fd91703503c1540e6cea5abd SHA1 00f9d6f40961e1651313a9974386dbd305b15d34 SHA256 a4f8a3cbf5ecef23ded6a13c3f16487736cf6608124239914bfeb30cbecccd1e +EBUILD vlc-0.9.2.ebuild 10794 RMD160 313a29b049d1229fd55996ae6cfe73658fecfed4 SHA1 41efac0aa0a0c7c77cda9262768dca098ebfad33 SHA256 2b1e1ddb193997cbb73d5f39f4a2f39cfdb7bf9c08f096c07b22109b8f7ebb8b +MISC ChangeLog 63142 RMD160 788b22af89bbb64287d0b5522f2f55f7d147dd14 SHA1 0baa6c94c94bdb608b39eb2cc2762abea5cb8568 SHA256 ce540f037f4f5cf40618f9a9d2e05d4d952923178183ca9f315fe952148b9eab MISC metadata.xml 2460 RMD160 eef5dc2d2e6816ab114c6547dc35119938e7d7d0 SHA1 97bd28e7066b7b9cf7b3f3efcdca70c84d8886c8 SHA256 00f93ca0ae6f777a7b245b0da3e6840b562b6545a5ddd2d6d93452f70bf156d5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkjEvbsACgkQvFcC4BYPU0pcswCfcgWgigWgkepdEodkycbV+jmG -PnEAnjrjjXxW+7ijW4pskd4EP4NgTDQn -=DQWL +iEYEARECAAYFAkjPWzYACgkQvFcC4BYPU0pbkACfZ6efbutK3AKKYafPiy2bas4L +3LEAn1I/6ecT6XlVAFV3ncDGXmrG2Z6n +=Ph35 -----END PGP SIGNATURE----- diff --git a/media-video/vlc/vlc-0.9.2.ebuild b/media-video/vlc/vlc-0.9.2.ebuild new file mode 100644 index 000000000000..040027be3345 --- /dev/null +++ b/media-video/vlc/vlc-0.9.2.ebuild @@ -0,0 +1,357 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-0.9.2.ebuild,v 1.1 2008/09/16 07:07:25 aballier Exp $ + +EAPI="1" + +WANT_AUTOMAKE=latest +WANT_AUTOCONF=latest + +inherit eutils multilib autotools toolchain-funcs gnome2 nsplugins qt4 flag-o-matic + +MY_PV="${PV/_/-}" +MY_PV="${MY_PV/-beta/-test}" +MY_P="${PN}-${MY_PV}" +VLC_SNAPSHOT_TIME="0013" + +PATCHLEVEL="59" +M4_TARBALL_VERSION="1" +DESCRIPTION="VLC media player - Video player and streamer" +HOMEPAGE="http://www.videolan.org/vlc/" +if [[ "${P}" == *_alpha* ]]; then # Snapshots taken from nightlies.videolan.org + SRC_URI="http://nightlies.videolan.org/build/source/trunk-${PV/*_alpha/}-${VLC_SNAPSHOT_TIME}/${PN}-snapshot-${PV/*_alpha/}.tar.bz2" + MY_P="${P/_alpha*/}-git" +elif [[ "${P}" == *_p* ]]; then # Snapshots + SRC_URI="mirror://gentoo/${P}.tar.bz2" + MY_P="${P}" +elif [[ "${MY_P}" == "${P}" ]]; then + SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2" +else + SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.bz2" +fi + +SRC_URI="${SRC_URI} + mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2 + mirror://gentoo/${PN}-m4-${M4_TARBALL_VERSION}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~alpha ~amd64 ~sparc ~x86 ~x86-fbsd" +IUSE="a52 aac aalib alsa altivec arts atmo avahi bidi cdda cddb cdio dbus dc1394 + debug dirac directfb dts dvb dvd esd fbcon fluidsynth +ffmpeg flac fontconfig ggi gnome gnutls hal httpd + id3tag jack libass libcaca +libgcrypt libnotify lirc live lua matroska mmx modplug mp3 mpeg + musepack ncurses nsplugin ogg opengl optimisememory oss png pulseaudio pvr +qt4 + remoteosd rtsp samba schroedinger sdl sdl-image seamonkey shout skins speex sse stream svg svga taglib + theora truetype twolame upnp v4l v4l2 vcd vcdx vlm vorbis win32codecs + X x264 xinerama xml xosd xv" + +RDEPEND=" + sys-libs/zlib + media-libs/libdvbpsi + a52? ( >=media-libs/a52dec-0.7.4-r3 ) + aalib? ( media-libs/aalib ) + aac? ( >=media-libs/faad2-2.6.1 ) + alsa? ( media-libs/alsa-lib ) + arts? ( kde-base/arts ) + avahi? ( >=net-dns/avahi-0.6 ) + bidi? ( >=dev-libs/fribidi-0.10.4 ) + cdda? ( >=dev-libs/libcdio-0.72 + cddb? ( >=media-libs/libcddb-1.2.0 ) ) + cdio? ( >=dev-libs/libcdio-0.78.2 + >=media-video/vcdimager-0.7.22 ) + dbus? ( >=sys-apps/dbus-1.0.2 ) + dc1394? ( sys-libs/libraw1394 + <media-libs/libdc1394-1.9.99 ) + dirac? ( >=media-video/dirac-0.10.0 ) + directfb? ( dev-libs/DirectFB ) + dts? ( media-libs/libdca ) + dvd? ( media-libs/libdvdread + media-libs/libdvdcss + >=media-libs/libdvdnav-0.1.9 + media-libs/libdvdplay ) + esd? ( media-sound/esound ) + ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20070616 ) + flac? ( media-libs/libogg + >=media-libs/flac-1.1.2 ) + fluidsynth? ( media-sound/fluidsynth ) + fontconfig? ( media-libs/fontconfig ) + ggi? ( media-libs/libggi ) + gnome? ( gnome-base/gnome-vfs ) + gnutls? ( >=net-libs/gnutls-1.3.3 ) + hal? ( sys-apps/hal ) + id3tag? ( media-libs/libid3tag + sys-libs/zlib ) + jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 ) + libass? ( >=media-libs/libass-0.9.5 media-libs/fontconfig ) + libcaca? ( media-libs/libcaca ) + libgcrypt? ( >=dev-libs/libgcrypt-1.2.0 ) + libnotify? ( x11-libs/libnotify ) + lirc? ( app-misc/lirc ) + live? ( >=media-plugins/live-2008.07.06 ) + lua? ( >=dev-lang/lua-5.1 ) + matroska? ( + >=dev-libs/libebml-0.7.6 + >=media-libs/libmatroska-0.8.0 ) + modplug? ( media-libs/libmodplug ) + mp3? ( media-libs/libmad ) + mpeg? ( >=media-libs/libmpeg2-0.3.2 ) + musepack? ( media-libs/libmpcdec ) + ncurses? ( sys-libs/ncurses ) + nsplugin? ( + seamonkey? ( =www-client/seamonkey-1* ) + !seamonkey? ( >=net-libs/xulrunner-1.8 ) + ) + ogg? ( media-libs/libogg ) + png? ( media-libs/libpng ) + pulseaudio? ( >=media-sound/pulseaudio-0.9.8 ) + qt4? ( || ( ( x11-libs/qt-gui x11-libs/qt-core ) =x11-libs/qt-4.3*:4 ) ) + remoteosd? ( >=dev-libs/libgcrypt-1.2.0 ) + samba? ( net-fs/samba ) + schroedinger? ( >=media-libs/schroedinger-1.0 ) + sdl? ( >=media-libs/libsdl-1.2.8 + sdl-image? ( media-libs/sdl-image ) ) + shout? ( media-libs/libshout ) + skins? ( || ( ( x11-libs/qt-gui x11-libs/qt-core ) =x11-libs/qt-4.3*:4 ) ) + speex? ( media-libs/speex ) + svg? ( >=gnome-base/librsvg-2.9.0 ) + svga? ( media-libs/svgalib ) + taglib? ( media-libs/taglib ) + theora? ( media-libs/libtheora ) + truetype? ( media-libs/freetype + media-fonts/ttf-bitstream-vera ) + twolame? ( media-sound/twolame ) + upnp? ( net-libs/libupnp ) + vorbis? ( media-libs/libvorbis ) + win32codecs? ( media-libs/win32codecs ) + X? ( + x11-libs/libX11 + x11-libs/libXext + xv? ( x11-libs/libXv ) + xinerama? ( x11-libs/libXinerama ) + opengl? ( virtual/opengl ) + ) + x264? ( media-libs/x264 ) + xml? ( dev-libs/libxml2 ) + xosd? ( x11-libs/xosd ) + " + +# Disabled features and reasons: +# xvmc? ( x11-libs/libXvMC ) +# Will probably compile only on x86 +# zvbi? ( >=media-libs/zvbi-0.2.25 ) +# Dep not up to date enough +# kate? ( >=media-libs/libkate-0.1.1 ) +# No package yet + +DEPEND="${RDEPEND} + dvb? ( sys-kernel/linux-headers ) + v4l? ( sys-kernel/linux-headers ) + v4l2? ( sys-kernel/linux-headers ) + X? ( xinerama? ( x11-proto/xineramaproto ) ) + dev-util/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +# Dispalys a warning if the first use flag is set but not the second +vlc_use_needs() { + use $1 && use !$2 && ewarn "USE=$1 requires $2, $1 will be disabled." +} + +# Notify the user that some useflag have been forced on +vlc_use_force() { + use $1 && use !$2 && ewarn "USE=$1 requires $2, $2 will be enabled." +} + +# Use when $2 depends strictly on $3 +# if use $1 then enable $2 and $3, otherwise disable $2 +vlc_use_enable_force() { + if use $1 ; then + echo "--enable-$2 --enable-$3" + else + echo "--disable-$2" + fi +} + +# Prints the configure argument for the ffmpeg scaling api to use +vlc_ffmpeg_scaling_api() { + if use ffmpeg ; then + if has_version ">=media-video/ffmpeg-0.4.9_p20070616-r20" || has_version "=media-video/ffmpeg-0.4.9_p20070616-r2" || has_version "=media-video/ffmpeg-0.4.9_p20070616-r1"; then + echo "--enable-swscale --disable-imgresample" + else + echo "--disable-swscale --enable-imgresample" + fi + else + echo "--disable-swscale --disable-imgresample" + fi +} + +pkg_setup() { + vlc_use_needs skins truetype + vlc_use_force skins qt4 + vlc_use_needs cdda cdio + vlc_use_needs vcdx cdio + vlc_use_needs bidi truetype + vlc_use_force remoteosd libgcrypt + vlc_use_needs fontconfig truetype +} + +src_unpack() { + unpack ${A} + cd "${S}" + + EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" + AT_M4DIR="m4 ${WORKDIR}/${PN}-m4" eautoreconf +} + +src_compile () { + + # It would fail if -fforce-addr is used due to too few registers... + use x86 && filter-flags -fforce-addr + + local MOZILLA_PC + + if use nsplugin; then + if use seamonkey; then + MOZILLA_PC=seamonkey-plugin + else + if has_version 'net-libs/xulrunner:1.9' ; then + MOZILLA_PC=libxul + else + MOZILLA_PC=xulrunner-plugin + fi + fi + fi + + econf \ + $(use_enable a52) \ + $(use_enable aalib aa) \ + $(use_enable aac faad) \ + $(use_enable alsa) \ + $(use_enable altivec) \ + $(use_enable arts) \ + --disable-asademux \ + $(use_enable atmo) \ + $(use_enable avahi bonjour) \ + $(use_enable bidi fribidi) \ + $(use_enable cdda) $(use_enable cdda cddax)\ + $(use_enable cddb libcddb) \ + $(use_enable cdio libcdio) \ + --disable-csri \ + $(use_enable dbus) $(use_enable dbus dbus-control) \ + $(use_enable dirac) \ + $(use_enable directfb) \ + $(use_enable dc1394) \ + $(use_enable debug) \ + $(use_enable dts dca) \ + --disable-dv \ + $(use_enable dvb) \ + $(use_enable dvd dvdread) $(use_enable dvd dvdnav) \ + $(use_enable esd) \ + $(use_enable fbcon fb) \ + $(use_enable ffmpeg avcodec) $(use_enable ffmpeg avformat) $(vlc_ffmpeg_scaling_api) $(use_enable ffmpeg postproc) \ + $(use_enable flac) \ + $(use_enable fluidsynth) \ + $(use_enable fontconfig) \ + $(use_enable ggi) \ + $(use_enable gnome gnomevfs) \ + $(use_enable gnutls) \ + $(use_enable hal) \ + $(use_enable httpd) \ + $(use_enable id3tag) \ + $(use_enable jack) \ + --disable-kate \ + $(use_enable libass) \ + $(use_enable libcaca caca) \ + $(use_enable libgcrypt) \ + $(use_enable libnotify notify) \ + --disable-libproxy \ + --disable-libtar \ + $(use_enable lirc) \ + $(use_enable live live555) \ + $(use_enable lua) \ + $(use_enable matroska mkv) \ + $(use_enable mmx) \ + $(use_enable modplug mod) \ + $(use_enable mp3 mad) \ + $(use_enable mpeg libmpeg2) \ + $(use_enable musepack mpc) \ + $(use_enable ncurses) \ + $(use_enable nsplugin mozilla) --with-mozilla-pkg="${MOZILLA_PC}" \ + $(use_enable ogg) \ + $(use_enable opengl glx) $(use_enable opengl) $(use_enable opengl galaktos) \ + $(use_enable optimisememory optimize-memory) \ + $(use_enable oss) \ + $(use_enable png) \ + --disable-portaudio \ + $(use_enable pulseaudio pulse) \ + $(use_enable pvr) \ + $(use_enable qt4) \ + $(use_enable rtsp realrtsp) \ + $(use_enable samba smb) \ + $(use_enable schroedinger) \ + $(use_enable sdl) \ + $(use_enable sdl-image) \ + $(use_enable shout) \ + $(use_enable skins skins2) \ + $(use_enable speex) \ + $(use_enable sse) \ + $(use_enable stream sout) \ + $(use_enable svg) \ + $(use_enable svga svgalib) \ + $(use_enable taglib) \ + $(use_enable theora) \ + $(use_enable truetype freetype) \ + $(use_enable twolame) \ + $(use_enable upnp) \ + $(use_enable v4l) \ + $(use_enable v4l2) \ + $(use_enable vcd) \ + $(use_enable vcdx) \ + $(use_enable vorbis) \ + $(use_enable win32codecs loader) \ + $(use_enable X x11) $(use_enable X screen) \ + $(use_enable x264) \ + $(use_enable xinerama) \ + $(use_enable xml libxml2) \ + $(use_enable xosd) \ + $(use_enable xv xvideo) \ + --disable-xvmc \ + --disable-zvbi \ + --disable-snapshot \ + --disable-growl \ + --disable-optimizations \ + --enable-fast-install \ + $(vlc_use_enable_force vlm vlm sout) \ + $(vlc_use_enable_force skins skins2 qt4) \ + $(vlc_use_enable_force remoteosd remoteosd libgcrypt) + + 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() { + emake DESTDIR="${D}" install || die "make install failed" + + dodoc AUTHORS MAINTAINERS HACKING THANKS NEWS README \ + doc/fortunes.txt doc/intf-cdda.txt doc/intf-vcd.txt + + rm -rf "${D}/usr/share/doc/vlc" \ + "${D}"/usr/share/vlc/vlc{16x16,32x32,48x48,128x128}.{png,xpm,ico} + + if use nsplugin; then + dodir "/usr/$(get_libdir)/${PLUGINS_DIR}" + mv "${D}"/usr/$(get_libdir)/mozilla/plugins/* \ + "${D}/usr/$(get_libdir)/${PLUGINS_DIR}/" + 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 +} |