mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
extra/mplayer: v8 fix
This commit is contained in:
parent
786bd045e4
commit
a7a011e36d
1 changed files with 5 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
# - 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')
|
||||
|
@ -60,6 +61,8 @@ prepare() {
|
|||
build() {
|
||||
cd $pkgbase-$pkgver
|
||||
|
||||
[[ $CARCH == "aarch64" ]] && CONFIG="--disable-ffmpeg_a"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--enable-armv5te \
|
||||
--disable-gui \
|
||||
|
@ -78,7 +81,7 @@ build() {
|
|||
--enable-radio-capture \
|
||||
--enable-smb \
|
||||
--language=all \
|
||||
--confdir=/etc/mplayer
|
||||
--confdir=/etc/mplayer $CONFIG
|
||||
[[ "$CARCH" = "i686" ]] && sed 's|-march=i486|-march=i686|g' -i config.mak
|
||||
|
||||
make
|
||||
|
@ -97,6 +100,7 @@ package_mplayer() {
|
|||
'libass' 'libxxf86vm' 'libbluray' 'libcdio-paranoia' 'opus' 'rtmpdump'
|
||||
'gsm' 'gnutls' 'libdvdnav'
|
||||
)
|
||||
depends_aarch64=('ffmpeg')
|
||||
|
||||
cd $pkgbase-$pkgver
|
||||
make DESTDIR="$pkgdir" install-mplayer install-mplayer-man
|
||||
|
|
Loading…
Reference in a new issue