summaryrefslogtreecommitdiff
path: root/libre/mplayer/PKGBUILD
diff options
context:
space:
mode:
authorIsaac David <isacdaavid@isacdaavid.info>2015-11-25 13:29:52 -0600
committerIsaac David <isacdaavid@isacdaavid.info>2015-11-25 13:29:52 -0600
commitd7de8596c3877a545321776e8ebe9d7a41eb3ed6 (patch)
treeadeca3b7b7cbbc1fe088a23d5ae3000794f84bf0 /libre/mplayer/PKGBUILD
parentf3a4512c7a1a11d74330ff2fda6d28f692e85e06 (diff)
downloadabslibre-d7de8596c3877a545321776e8ebe9d7a41eb3ed6.tar.gz
abslibre-d7de8596c3877a545321776e8ebe9d7a41eb3ed6.tar.bz2
abslibre-d7de8596c3877a545321776e8ebe9d7a41eb3ed6.zip
libre/mplayer: armv7h port
Diffstat (limited to 'libre/mplayer/PKGBUILD')
-rw-r--r--libre/mplayer/PKGBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/libre/mplayer/PKGBUILD b/libre/mplayer/PKGBUILD
index 2d9766f70..a9780385e 100644
--- a/libre/mplayer/PKGBUILD
+++ b/libre/mplayer/PKGBUILD
@@ -8,7 +8,7 @@
pkgbase=mplayer
pkgname=('mplayer' 'mencoder')
pkgver=37379
-pkgrel=6.parabola1
+pkgrel=6.parabola2
arch=('i686' 'x86_64' 'armv7h')
makedepends=(
'libxxf86dga' 'libxxf86vm' 'libmad' 'libxinerama' 'sdl' 'lame' 'libtheora'
@@ -28,14 +28,16 @@ source=($pkgbase-$pkgver::svn://svn.mplayerhq.hu/mplayer/trunk#revision=$pkgver
cdio-includes.patch
include-samba-4.0.patch
ffmpeg-libvpxenc-remove-some-unused-ctrl-id-mappings.patch
- revert-icl-fixes.patch)
+ revert-icl-fixes.patch
+ 37386.patch)
md5sums=('SKIP'
'e75d598921285d6775f20164a91936ac'
'62f44a58f072b2b1a3c3d3e4976d64b3'
'7b5be7191aafbea64218dc4916343bbc'
'868a92bdef148df7f38bfa992b26ce9d'
'71be9bcd297cb9ce833bbc5d425c0470'
- '3579402002b7302fdf2d146639333efd')
+ '3579402002b7302fdf2d146639333efd'
+ '9131fa5229c857174ab029ed9b0cb71b')
pkgver() {
cd $pkgbase-$pkgver
@@ -50,6 +52,8 @@ prepare() {
patch -Np1 -i ../include-samba-4.0.patch
patch -Np0 -i ../revert-icl-fixes.patch
patch -d ffmpeg -Np1 <../ffmpeg-libvpxenc-remove-some-unused-ctrl-id-mappings.patch
+ # fix ffmpeg/libav linkage for ARM
+ patch -p0 -i ../37386.patch
./version.sh
}
@@ -57,9 +61,8 @@ prepare() {
build() {
cd $pkgbase-$pkgver
- if [ "$CARCH" = "armv7h" ]; then
- extra=--enable-armv5te
- else
+ # CPU detection doesn't work in ARM
+ if [ "$CARCH" != "armv7h" ]; then
extra=--enable-runtime-cpudetection
fi