extra/mplayer fixes

This commit is contained in:
Kevin Mihelich 2016-05-07 00:25:07 +00:00
parent f8263fe5d2
commit 59b909e174
2 changed files with 3 additions and 23 deletions

View file

@ -1,12 +0,0 @@
Index: configure
===================================================================
--- configure (revision 37385)
+++ configure (revision 37386)
@@ -9212,6 +9212,7 @@
#define HAVE_MM_EMPTY 0
#define HAVE_PPC4XX 0
#define HAVE_RDTSC 0
+#define HAVE_SECTION_DATA_REL_RO 0
#define HAVE_SIMD_ALIGN_16 1
#define HAVE_STRERROR_R 0
#define HAVE_STRPTIME 0

View file

@ -6,8 +6,6 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - remove --enable-runtime-cpudetection from configure
# - --enable-armv5te to use v5 edsp (fails autodetect for v5)
# - patch to fix ARM build
# - use system ffmpeg on AArch64
pkgbase=mplayer
pkgname=('mplayer' 'mencoder')
@ -30,14 +28,12 @@ source=($pkgbase-$pkgver::svn://svn.mplayerhq.hu/mplayer/trunk#revision=$pkgver
mplayer.desktop
include-samba-4.0.patch
ffmpeg-libvpxenc-remove-some-unused-ctrl-id-mappings.patch
revert-icl-fixes.patch
37386.patch)
revert-icl-fixes.patch)
md5sums=('SKIP'
'62f44a58f072b2b1a3c3d3e4976d64b3'
'868a92bdef148df7f38bfa992b26ce9d'
'71be9bcd297cb9ce833bbc5d425c0470'
'3579402002b7302fdf2d146639333efd'
'9131fa5229c857174ab029ed9b0cb71b')
'3579402002b7302fdf2d146639333efd')
#pkgver() {
# cd $pkgbase-$pkgver
@ -51,7 +47,6 @@ 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
patch -p0 -i ../37386.patch
./version.sh
}
@ -59,8 +54,6 @@ prepare() {
build() {
cd $pkgbase-$pkgver
[[ $CARCH == "aarch64" ]] && CONFIG="--disable-ffmpeg_a"
./configure --prefix=/usr \
--enable-armv5te \
--disable-gui \
@ -80,7 +73,7 @@ build() {
--enable-radio-capture \
--enable-smb \
--language=all \
--confdir=/etc/mplayer $CONFIG
--confdir=/etc/mplayer
[[ "$CARCH" = "i686" ]] && sed 's|-march=i486|-march=i686|g' -i config.mak
make
@ -98,7 +91,6 @@ package_mplayer() {
'libass' 'libxxf86vm' 'libbluray' 'libcdio-paranoia' 'opus' 'rtmpdump'
'gsm' 'gnutls' 'libdvdnav' 'ffmpeg'
)
depends_aarch64=('ffmpeg')
cd $pkgbase-$pkgver
make DESTDIR="$pkgdir" install-mplayer install-mplayer-man