mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/mplayer to 38017-1
This commit is contained in:
parent
2b1afbbe5b
commit
b6ce908184
1 changed files with 8 additions and 4 deletions
|
@ -9,8 +9,8 @@
|
|||
|
||||
pkgbase=mplayer
|
||||
pkgname=('mplayer' 'mencoder')
|
||||
pkgver=37998
|
||||
pkgrel=3
|
||||
pkgver=38017
|
||||
pkgrel=1
|
||||
pkgdesc='Media player for Linux'
|
||||
url='http://www.mplayerhq.hu/'
|
||||
arch=('x86_64')
|
||||
|
@ -19,7 +19,7 @@ makedepends=('libxxf86dga' 'libmad' 'libxinerama' 'libmng' 'libxss' 'smbclient'
|
|||
'libcaca' 'faac' 'faad2' 'lirc' 'libxvmc' 'enca' 'libdca' 'a52dec' 'libvpx' 'unzip'
|
||||
'mesa' 'live-media' 'yasm' 'git' 'mpg123' 'ladspa' 'libcdio-paranoia' 'subversion'
|
||||
'x264' 'libx264' 'rtmpdump' 'libdvdcss' 'libdvdread' 'libdvdnav' 'ffmpeg')
|
||||
options=('!buildflags' '!emptydirs')
|
||||
options=('!emptydirs')
|
||||
source=(${pkgbase}-${pkgver}::"svn://svn.mplayerhq.hu/mplayer/trunk#revision=${pkgver}"
|
||||
mplayer.desktop
|
||||
include-samba-4.0.patch
|
||||
|
@ -38,6 +38,8 @@ prepare() {
|
|||
|
||||
build() {
|
||||
cd ${pkgbase}-${pkgver}
|
||||
export LDFLAGS="${LDFLAGS/,O1/}"
|
||||
export LDFLAGS="${LDFLAGS/,--sort-common/}"
|
||||
./configure --prefix=/usr \
|
||||
--enable-armv5te \
|
||||
--disable-gui \
|
||||
|
@ -57,7 +59,9 @@ build() {
|
|||
--enable-radio-capture \
|
||||
--enable-smb \
|
||||
--language=all \
|
||||
--confdir=/etc/mplayer
|
||||
--confdir=/etc/mplayer \
|
||||
--extra-cflags="${CFLAGS}" \
|
||||
--extra-ldflags="${LDFLAGS}"
|
||||
[[ "${CARCH}" = "i686" ]] && sed 's|-march=i486|-march=i686|g' -i config.mak
|
||||
make
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue