aboutsummaryrefslogtreecommitdiffstats
path: root/main/mplayer/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-10-25 16:26:50 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-10-25 18:54:05 +0000
commit6d9a3f9a852feb0038ab73c6b007cb05107fbd4f (patch)
treecf7c072b13b72e4a8c8d88956bf69ad7a8b3c483 /main/mplayer/APKBUILD
parentd7459e0c5c46ac1ef8265f65893b3001c918ca0a (diff)
downloadaports-6d9a3f9a852feb0038ab73c6b007cb05107fbd4f.tar.bz2
aports-6d9a3f9a852feb0038ab73c6b007cb05107fbd4f.tar.xz
main/mplayer: rebuild against mesa-7.11
Diffstat (limited to 'main/mplayer/APKBUILD')
-rw-r--r--main/mplayer/APKBUILD20
1 files changed, 14 insertions, 6 deletions
diff --git a/main/mplayer/APKBUILD b/main/mplayer/APKBUILD
index c7eff9e030..28907bcdb3 100644
--- a/main/mplayer/APKBUILD
+++ b/main/mplayer/APKBUILD
@@ -2,7 +2,7 @@
pkgname=mplayer
pkgver=1.0_rc4
_ver=${pkgver%_*}${pkgver#*_}
-pkgrel=3
+pkgrel=4
pkgdesc="A movie player for linux"
url="http://www.mplayerhq.hu/"
arch="all"
@@ -14,11 +14,18 @@ makedepends="libxxf86dga-dev libxv-dev libmad-dev lame-dev libao-dev
x264-dev faac-dev ttf-dejavu libxvmc-dev alsa-lib-dev live-media-dev
mesa-dev"
-# cdparanoia libcaca lirc-utils libgl-dev smbclient-dev
-# aalib-dev jack-audio-connection-kit libmng-dev libxss-dev
-
-source="http://www.mplayerhq.hu/MPlayer/releases/MPlayer-$_ver.tar.bz2"
+source="http://www.mplayerhq.hu/MPlayer/releases/MPlayer-$_ver.tar.bz2
+ mplayer-libpng-1.5.patch
+ "
_builddir="$srcdir"/MPlayer-$_ver
+prepare() {
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) patch -p1 -i "$srcdir"/$i || return 1 ;;
+ esac;
+ done
+}
build() {
cd "$_builddir"
@@ -67,4 +74,5 @@ package() {
"$pkgdir"/usr/share/mplayer/subfont.ttf || return 1
rm -rf "$pkgdir"/usr/share/mplayer/font
}
-md5sums="1699c94de39da9c4c5d34e8f58e418f0 MPlayer-1.0rc4.tar.bz2"
+md5sums="1699c94de39da9c4c5d34e8f58e418f0 MPlayer-1.0rc4.tar.bz2
+f3f3bae09f6cee684ced1dbc7d7ed23c mplayer-libpng-1.5.patch"