diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-06-07 06:56:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-06-07 06:56:37 +0000 |
commit | 4f0dd649aa7295650113a7a9f229657ac55ac810 (patch) | |
tree | 0387cd6b0d3fadf43cbc3824930e2c1868a21406 /main/mplayer/APKBUILD | |
parent | 34443f76a9ffdd037ed62921751901a0f3bca4e1 (diff) | |
download | aports-4f0dd649aa7295650113a7a9f229657ac55ac810.tar.bz2 aports-4f0dd649aa7295650113a7a9f229657ac55ac810.tar.xz |
main/mplayer: upgrade to 1.1
Diffstat (limited to 'main/mplayer/APKBUILD')
-rw-r--r-- | main/mplayer/APKBUILD | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/main/mplayer/APKBUILD b/main/mplayer/APKBUILD index a9a46a078e..fa1227d98c 100644 --- a/main/mplayer/APKBUILD +++ b/main/mplayer/APKBUILD @@ -1,8 +1,8 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=mplayer -pkgver=1.0_rc4 -_ver=${pkgver%_*}${pkgver#*_} -pkgrel=9 +pkgver=1.1 +_ver=${pkgver/_/} +pkgrel=0 pkgdesc="A movie player for linux" url="http://www.mplayerhq.hu/" arch="all" @@ -12,20 +12,17 @@ subpackages="$pkgname-doc" makedepends="libxxf86dga-dev libxv-dev libmad-dev lame-dev libao-dev libtheora-dev xvidcore-dev zlib-dev sdl-dev freetype-dev x264-dev faac-dev ttf-dejavu libxvmc-dev alsa-lib-dev live-media-dev - mesa-dev" + mesa-dev yasm" -source="http://www.mplayerhq.hu/MPlayer/releases/MPlayer-$_ver.tar.bz2 - mplayer-gcc-4.6-audio-fix.patch - mplayer-libpng-1.5.patch +source="ftp://ftp1.mplayerhq.hu/MPlayer/releases/MPlayer-$pkgver.tar.xz x11-libs.patch - live555.patch " _builddir="$srcdir"/MPlayer-$_ver prepare() { cd "$_builddir" for i in $source; do case $i in - *.patch) patch -p1 -i "$srcdir"/$i || return 1 ;; + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1 ;; esac; done } @@ -45,7 +42,6 @@ build() { --enable-gl \ --disable-tv-v4l1 \ --enable-tv-v4l2 \ - --enable-largefiles \ --disable-liblzo \ --disable-speex \ --disable-openal \ @@ -77,8 +73,5 @@ package() { "$pkgdir"/usr/share/mplayer/subfont.ttf || return 1 rm -rf "$pkgdir"/usr/share/mplayer/font } -md5sums="1699c94de39da9c4c5d34e8f58e418f0 MPlayer-1.0rc4.tar.bz2 -5f261813c5dfa70ba2378c2535428e5d mplayer-gcc-4.6-audio-fix.patch -f3f3bae09f6cee684ced1dbc7d7ed23c mplayer-libpng-1.5.patch -01bcc935a6b429347e8e77e1a70bf2b2 x11-libs.patch -d194e74e35d5bfb460e1ecba0d976cc3 live555.patch" +md5sums="ac7bf1cfedc1c5c24bfc83107eefb1d9 MPlayer-1.1.tar.xz +01bcc935a6b429347e8e77e1a70bf2b2 x11-libs.patch" |