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