diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2018-02-07 06:23:53 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2018-02-07 08:15:07 +0100 |
commit | 87ccfa6f7f53ade7c48b24ac4227adce811411b6 (patch) | |
tree | 1d0a9b5ab5a39832fef4620441ff050bec41e0e9 /libre/mplayer/PKGBUILD | |
parent | a7f10291040d1c3182d2d46142b29ee200193a6b (diff) | |
download | abslibre-87ccfa6f7f53ade7c48b24ac4227adce811411b6.tar.gz abslibre-87ccfa6f7f53ade7c48b24ac4227adce811411b6.tar.bz2 abslibre-87ccfa6f7f53ade7c48b24ac4227adce811411b6.zip |
libre/mplayer: updated to 38017
Diffstat (limited to 'libre/mplayer/PKGBUILD')
-rw-r--r-- | libre/mplayer/PKGBUILD | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/libre/mplayer/PKGBUILD b/libre/mplayer/PKGBUILD index c512ae873..72554a3e8 100644 --- a/libre/mplayer/PKGBUILD +++ b/libre/mplayer/PKGBUILD @@ -2,23 +2,26 @@ # Contributor (Arch): Ionut Biru <ibiru@archlinux.org> # Contributor (Arch): Bartłomiej Piotrowski <bpiotrowski@archlinux.org> # Contributor (Arch): Hugo Doria <hugo@archlinux.org> -# Maintainer (Hyperbola): André Silva <emulatorman@hyperbola.info> -# Contributor (Hyperbola): Márcio Silva <coadde@hyperbola.info> # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> +# Contributor: André Silva <emulatorman@hyperbola.info> +# Contributor: Márcio Silva <coadde@hyperbola.info> + +# parabola changes and rationale: +# - removed support for unrar und faac pkgbase=mplayer pkgname=('mplayer' 'mencoder') -pkgver=37998 -pkgrel=2.parabola1 +pkgver=38017 +pkgrel=1.parabola1 pkgdesc='Media player for GNU/Linux, without using of UnRAR executable and nonfree faac support' url='http://www.mplayerhq.hu/' -arch=('i686' 'x86_64' 'armv7h') +arch=('x86_64' 'i686' 'armv7h') license=('GPL') makedepends=('libxxf86dga' 'libmad' 'libxinerama' 'libmng' 'libxss' 'smbclient' 'aalib' 'jack' 'libcaca' '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 @@ -37,13 +40,12 @@ prepare() { build() { cd ${pkgbase}-${pkgver} - - # CPU detection doesn't work in ARM - if [ "$CARCH" != "armv7h" ]; then - extra=--enable-runtime-cpudetection - fi - + export CFLAGS="${CFLAGS/-march=x86-64/}" + export CFLAGS="${CFLAGS/-mtune=generic/}" + export LDFLAGS="${LDFLAGS/,O1/}" + export LDFLAGS="${LDFLAGS/,--sort-common/}" ./configure --prefix=/usr \ + --enable-runtime-cpudetection \ --disable-gui \ --disable-arts \ --disable-liblzo \ @@ -64,7 +66,8 @@ build() { --enable-smb \ --language=all \ --confdir=/etc/mplayer \ - $extra + --extra-cflags="${CFLAGS}" \ + --extra-ldflags="${LDFLAGS}" [[ "${CARCH}" = "i686" ]] && sed 's|-march=i486|-march=i686|g' -i config.mak make } @@ -76,8 +79,6 @@ package_mplayer() { 'lirc' 'libx264' 'libmng' 'libdca' 'aalib' 'libxinerama' 'smbclient' 'jack' 'libmad' 'libcaca' 'libxxf86dga' 'faad2' 'libxvmc' 'mpg123' 'libcdio-paranoia' 'rtmpdump' 'libdvdnav' 'ffmpeg') - replaces=('mplayer-libre' 'mplayer-parabola') - conflicts=('mplayer-libre' 'mplayer-parabola') cd ${pkgbase}-${pkgver} make DESTDIR="${pkgdir}" install-mplayer install-mplayer-man @@ -91,8 +92,6 @@ package_mencoder() { pkgdesc='Free command line video decoding, encoding and filtering tool, without using of UnRAR executable and nonfree faac support' depends=('enca' 'a52dec' 'libvpx' 'libx264' 'libmng' 'libdca' 'smbclient' 'libmad' 'faad2' 'mpg123' 'libcdio-paranoia' 'rtmpdump' 'libdvdnav' 'ffmpeg') - replaces=('mencoder-libre' 'mencoder-parabola') - conflicts=('mencoder-libre' 'mencoder-parabola') make -C ${pkgbase}-${pkgver} DESTDIR="${pkgdir}" install-mencoder install-mencoder-man find "${pkgdir}/usr/share/man" -name mplayer.1 -exec rename mplayer.1 mencoder.1 {} + |