aboutsummaryrefslogtreecommitdiffstats
path: root/community/mplayer/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mplayer/APKBUILD')
-rw-r--r--community/mplayer/APKBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/community/mplayer/APKBUILD b/community/mplayer/APKBUILD
index 448e82adee..b515ce0de7 100644
--- a/community/mplayer/APKBUILD
+++ b/community/mplayer/APKBUILD
@@ -1,14 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mplayer
pkgver=1.4.0
-pkgrel=3
+pkgrel=5
pkgdesc="A movie player for linux"
url="http://www.mplayerhq.hu/design7/news.html"
arch="x86_64 aarch64"
license="GPL-2.0-or-later"
subpackages="$pkgname-doc"
makedepends="libxxf86dga-dev libxv-dev libmad-dev lame-dev libao-dev
- libtheora-dev xvidcore-dev zlib-dev sdl-dev freetype-dev libdvdread-dev
+ libtheora-dev xvidcore-dev zlib-dev sdl2-dev freetype-dev libdvdread-dev
x264-dev faac-dev fontconfig-dev libxvmc-dev alsa-lib-dev live-media-dev
mesa-dev yasm libpng-dev libvdpau-dev libvpx-dev libcdio-paranoia-dev"
@@ -17,8 +17,9 @@ source="http://www.mplayerhq.hu/MPlayer/releases/MPlayer-${pkgver%.*}.tar.xz
mplayer_alpine_aarch64.patch
"
builddir="$srcdir"/MPlayer-${pkgver%.*}
+
build() {
-case "$CARCH" in
+ case "$CARCH" in
aarch64)
cpudetection="disable-runtime-cpudetection"
;;
@@ -59,10 +60,13 @@ case "$CARCH" in
}
package() {
- make -j1 DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install
install -Dm644 etc/codecs.conf etc/input.conf etc/example.conf \
"$pkgdir"/etc/mplayer/
}
-sha512sums="8ef71cad187d8c8f81c837279bd3a421b440c892d3347a667670b21c954007e35cf0d15828f0901f347b9c1b053e8da4bc7f0fb6de34382d1e463074923d7b34 MPlayer-1.4.tar.xz
+
+sha512sums="
+8ef71cad187d8c8f81c837279bd3a421b440c892d3347a667670b21c954007e35cf0d15828f0901f347b9c1b053e8da4bc7f0fb6de34382d1e463074923d7b34 MPlayer-1.4.tar.xz
bba012c5a116cbc6715955a0a563c89a33a1d8ad3c44301a083ce65296ba9112a88a58e38c874d9347f9c3133054e62bd16d3b3367383f207ee40ddae105081c x11-libs.patch
-7bcb79de0627903ae1016487f9623283d3b2b186c4f2e5686093558f8d9b5d884e3357a93f43862e14fc261e587c50cd38821896ae2bdaff3f32290194fa4b55 mplayer_alpine_aarch64.patch"
+7bcb79de0627903ae1016487f9623283d3b2b186c4f2e5686093558f8d9b5d884e3357a93f43862e14fc261e587c50cd38821896ae2bdaff3f32290194fa4b55 mplayer_alpine_aarch64.patch
+"