summaryrefslogtreecommitdiff
path: root/user/mplayer/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-07 21:45:58 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-07 21:45:58 +0000
commit48fc3e1d497404db1b7e39b8e95f32dff65a3421 (patch)
tree6fee98398e6954776aeb76d67514851aa3c4e8bc /user/mplayer/APKBUILD
parent7fffafdd3a49caacab7d1391cdf420c2bd4887a6 (diff)
downloadpackages-48fc3e1d497404db1b7e39b8e95f32dff65a3421.tar.gz
packages-48fc3e1d497404db1b7e39b8e95f32dff65a3421.tar.bz2
packages-48fc3e1d497404db1b7e39b8e95f32dff65a3421.tar.xz
packages-48fc3e1d497404db1b7e39b8e95f32dff65a3421.zip
user/mplayer: unblock on pmmx
Diffstat (limited to 'user/mplayer/APKBUILD')
-rw-r--r--user/mplayer/APKBUILD16
1 files changed, 13 insertions, 3 deletions
diff --git a/user/mplayer/APKBUILD b/user/mplayer/APKBUILD
index fc57b5ace..4324b3565 100644
--- a/user/mplayer/APKBUILD
+++ b/user/mplayer/APKBUILD
@@ -21,15 +21,24 @@ makedepends="yasm ncurses-dev openssl-dev freetype-dev fribidi-dev
cdparanoia-dev libbluray-dev a52dec-dev
"
subpackages="$pkgname-doc"
-source="http://mplayerhq.hu/MPlayer/releases/MPlayer-$pkgver.tar.xz"
+source="http://mplayerhq.hu/MPlayer/releases/MPlayer-$pkgver.tar.xz
+ ldt.patch
+ "
builddir="$srcdir/MPlayer-$pkgver"
build() {
+ _extra_conf=""
+ case $CTARGET_ARCH in
+ pmmx) _extra_conf="--disable-sse2 --disable-sse4 --disable-qtx";;
+ esac
+
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--confdir=/etc/mplayer \
- --disable-ffmpeg_a
+ --disable-ffmpeg_a \
+ --enable-debug=3 \
+ $_extra_conf
make
}
@@ -38,4 +47,5 @@ package() {
rm -r "$pkgdir/etc"
}
-sha512sums="8ef71cad187d8c8f81c837279bd3a421b440c892d3347a667670b21c954007e35cf0d15828f0901f347b9c1b053e8da4bc7f0fb6de34382d1e463074923d7b34 MPlayer-1.4.tar.xz"
+sha512sums="8ef71cad187d8c8f81c837279bd3a421b440c892d3347a667670b21c954007e35cf0d15828f0901f347b9c1b053e8da4bc7f0fb6de34382d1e463074923d7b34 MPlayer-1.4.tar.xz
+07efeaf1294fb3f0a4d8dd9885641ee919c17e93e1ada505c825645e1f04d18f615fbd0318e0cc09231b67881b18847e853b434f5d8164bd3178ab220c4523df ldt.patch"