summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2018-05-14 15:50:07 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2018-05-14 15:51:41 -0400
commit379b0ecfddbb5b9d628dfe1efe03e2d2305e49b7 (patch)
treeadc28d6fa63fbfe9fcd6d81e78d6a96c1bfca3d2 /libre
parent272cde204b636804754171e77c994008900a0ef9 (diff)
downloadabslibre-379b0ecfddbb5b9d628dfe1efe03e2d2305e49b7.tar.gz
abslibre-379b0ecfddbb5b9d628dfe1efe03e2d2305e49b7.tar.bz2
abslibre-379b0ecfddbb5b9d628dfe1efe03e2d2305e49b7.zip
[mplayer]: upgrade
Diffstat (limited to 'libre')
-rw-r--r--libre/mplayer/PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/libre/mplayer/PKGBUILD b/libre/mplayer/PKGBUILD
index 10d117f17..7a49f1256 100644
--- a/libre/mplayer/PKGBUILD
+++ b/libre/mplayer/PKGBUILD
@@ -11,9 +11,9 @@
pkgbase=mplayer
pkgname=('mplayer' 'mencoder')
-pkgver=38017
-pkgrel=1.parabola3
-pkgdesc='Media player for GNU/Linux, without using of UnRAR executable and nonfree faac support'
+pkgver=38101
+pkgrel=1.parabola1
+pkgdesc='Media player for GNU/Linux, without nonfree UnRAR and FAAC'
url='http://www.mplayerhq.hu/'
arch=('x86_64' 'i686' 'armv7h')
license=('GPL')
@@ -44,8 +44,10 @@ build() {
# CPU detection doesn't work in ARM
if [ "$CARCH" != "armv7h" ]; then
extra=--enable-runtime-cpudetection
+ elif [ "$CARCH" != "x86_64" ]; then
+ export CFLAGS="${CFLAGS/-march=x86-64/}"
+ export CFLAGS="${CFLAGS/-mtune=generic/}"
fi
-
export LDFLAGS="${LDFLAGS/,O1/}"
export LDFLAGS="${LDFLAGS/,--sort-common/}"
./configure --prefix=/usr \
@@ -77,7 +79,7 @@ build() {
}
package_mplayer() {
- pkgdesc='Media player for GNU/Linux, without using of UnRAR executable and nonfree faac support'
+ pkgdesc='Media player for GNU/Linux, without nonfree UnRAR and FAAC'
backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf')
depends=('desktop-file-utils' 'ttf-font' 'enca' 'libxss' 'a52dec' 'libvpx'
'lirc' 'libx264' 'libmng' 'libdca' 'aalib' 'libxinerama' 'smbclient'
@@ -93,12 +95,10 @@ package_mplayer() {
}
package_mencoder() {
- pkgdesc='Free command line video decoding, encoding and filtering tool, without using of UnRAR executable and nonfree faac support'
+ pkgdesc='Free command line video decoding, encoding and filtering tool, without nonfree FAAC'
depends=('enca' 'a52dec' 'libvpx' 'libx264' 'libmng' 'libdca' 'smbclient' 'libmad'
'faad2' 'mpg123' 'libcdio-paranoia' 'rtmpdump' 'libdvdnav' 'ffmpeg')
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 {} +
}
-
-# vim: ts=2 sw=2 et: