diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-11 18:41:04 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-11 18:41:04 (GMT) |
commit | bcf5ec3fa5da5bbac9a1eaba782bbcea0278d9b7 (patch) | |
tree | 1db739b5689e79de25ff05521ff1ef620478df50 /abs/extra-testing/mplayer/PKGBUILD | |
parent | 22cb9c31cde8a125c3b7d159d8b50941cb5c7714 (diff) | |
download | linhes_pkgbuild-bcf5ec3fa5da5bbac9a1eaba782bbcea0278d9b7.zip linhes_pkgbuild-bcf5ec3fa5da5bbac9a1eaba782bbcea0278d9b7.tar.gz linhes_pkgbuild-bcf5ec3fa5da5bbac9a1eaba782bbcea0278d9b7.tar.bz2 |
Updated various packages.
Diffstat (limited to 'abs/extra-testing/mplayer/PKGBUILD')
-rw-r--r-- | abs/extra-testing/mplayer/PKGBUILD | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/abs/extra-testing/mplayer/PKGBUILD b/abs/extra-testing/mplayer/PKGBUILD index 43dad94..c1fdb7c 100644 --- a/abs/extra-testing/mplayer/PKGBUILD +++ b/abs/extra-testing/mplayer/PKGBUILD @@ -1,14 +1,14 @@ -# $Id: PKGBUILD 3632 2008-06-26 11:48:49Z paul $ +# $Id: PKGBUILD 20619 2008-12-06 02:41:24Z allan $ # Maintainer: Thomas Bächler <thomas@archlinux.org> pkgname=mplayer pkgver=1.0rc2 -pkgrel=6 +pkgrel=9 pkgdesc="A movie player for linux" arch=(i686 x86_64) depends=('libxxf86dga' 'libxv' 'libmad' 'giflib' 'cdparanoia' 'gtk2' - 'sdl' 'lame' 'libtheora' 'xvidcore' + 'sdl' 'lame' 'libtheora' 'xvidcore' 'zlib' 'libgl' 'smbclient' 'aalib' 'jack-audio-connection-kit' - 'x264>=20080625' 'faac' 'lirc-utils' 'ttf-dejavu') + 'x264>=20080625' 'faac' 'lirc-utils' 'ttf-dejavu' 'fribidi') license=('GPL') url="http://www.mplayerhq.hu/" makedepends=('libcaca' 'unzip' 'live-media' 'libdca' 'mesa') @@ -19,17 +19,14 @@ source=(http://www.mplayerhq.hu/MPlayer/releases/MPlayer-${pkgver}.tar.bz2 http://www.mplayerhq.hu/MPlayer/patches/demux_mov_fix_20080129.diff http://www.mplayerhq.hu/MPlayer/patches/url_fix_20080120.diff http://www.mplayerhq.hu/MPlayer/patches/stream_cddb_fix_20080120.diff - ivtv_2.6.24.patch) -md5sums=('7e27e535c2d267637df34898f1b91707' - 'e4e2020d11b681aac898103b3ba723c4' - '320af7daa1b248ee8e8c15d34d7923e3' - 'ce999929155f509a3e6bee41d9d613ed' - '6a2c124586e1e6c44ae4ca1b4be9b6e4' - 'c7d1bcdd61fcceb7598d61fe2213c587' - '1ef35068587f6b6dbc99342567895236') + ivtv_2.6.24.patch mplayer_desktop.patch) +md5sums=('7e27e535c2d267637df34898f1b91707' 'e4e2020d11b681aac898103b3ba723c4'\ + '320af7daa1b248ee8e8c15d34d7923e3' 'ce999929155f509a3e6bee41d9d613ed'\ + '6a2c124586e1e6c44ae4ca1b4be9b6e4' 'c7d1bcdd61fcceb7598d61fe2213c587'\ + '1ef35068587f6b6dbc99342567895236' '4c49195a4a1702f0cb321abdc3c07741') build() { - cd $startdir/src/MPlayer-${pkgver} + cd ${srcdir}/MPlayer-${pkgver} # Custom CFLAGS break the mplayer build unset CFLAGS @@ -39,19 +36,22 @@ build() { # Workaround for changed ivtv interface since it went mainline in 2.6.24 patch -p1 -i ../ivtv_2.6.24.patch || return 1 - + + # mplayer.desktop fix + patch -p1 -i ../mplayer_desktop.patch || return 1 + # Fix security issues for p in demux_audio_fix_20080129.diff demux_mov_fix_20080129.diff url_fix_20080120.diff stream_cddb_fix_20080120.diff; do patch -p0 -i ../${p} done - cd $startdir/src/MPlayer-${pkgver} + cd ${srcdir}/MPlayer-${pkgver} ./configure --prefix=/usr --enable-gui --disable-arts --enable-x11 \ --enable-runtime-cpudetection --confdir=/etc/mplayer --disable-nas \ --enable-gl --enable-tv-v4l1 --enable-tv-v4l2 --enable-largefiles \ --disable-liblzo --disable-speex --disable-openal \ - --disable-fribidi --disable-libdv --disable-musepack \ + --enable-fribidi --disable-libdv --disable-musepack \ --language=all --disable-dvdnav --disable-esd --disable-mga \ --disable-libamr_nb \ --with-extraincdir=/usr/lib/live-media @@ -59,9 +59,9 @@ build() { [ "$CARCH" = "i686" ] && sed 's|-march=i486|-march=i686|g' -i config.mak make || return 1 - make -j1 DESTDIR=${startdir}/pkg install - cp etc/{codecs.conf,input.conf,example.conf} ${startdir}/pkg/etc/mplayer/ - ln -s /usr/share/fonts/TTF/DejaVuSans.ttf ${startdir}/pkg/usr/share/mplayer/subfont.ttf - rm -rf ${startdir}/pkg/usr/share/mplayer/font - mv ${startdir}/src/Blue ${startdir}/pkg/usr/share/mplayer/skins/default + make -j1 DESTDIR=${pkgdir} install + cp etc/{codecs.conf,input.conf,example.conf} ${pkgdir}/etc/mplayer/ + ln -s /usr/share/fonts/TTF/DejaVuSans.ttf ${pkgdir}/usr/share/mplayer/subfont.ttf + rm -rf ${pkgdir}/usr/share/mplayer/font + mv ${srcdir}/Blue ${pkgdir}/usr/share/mplayer/skins/default } |