aboutsummaryrefslogtreecommitdiffstats
path: root/main/mplayer/APKBUILD
diff options
context:
space:
mode:
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"