summaryrefslogtreecommitdiff
path: root/libre/mplayer/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/mplayer/PKGBUILD')
-rw-r--r--libre/mplayer/PKGBUILD29
1 files changed, 13 insertions, 16 deletions
diff --git a/libre/mplayer/PKGBUILD b/libre/mplayer/PKGBUILD
index 76f74a62f..e571c5aab 100644
--- a/libre/mplayer/PKGBUILD
+++ b/libre/mplayer/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 258706 2016-01-30 18:20:43Z bpiotrowski $
+# $Id: PKGBUILD 266899 2016-05-04 21:39:36Z arojas $
# Maintainer (Arch): Ionut Biru <ibiru@archlinux.org>
# Contributor (Arch): Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor (Arch): Hugo Doria <hugo@archlinux.org>
@@ -7,8 +7,8 @@
pkgbase=mplayer
pkgname=('mplayer' 'mencoder')
-pkgver=37379
-pkgrel=7.parabola1
+pkgver=37857
+pkgrel=1.parabola1
arch=('i686' 'x86_64' 'armv7h')
makedepends=(
'libxxf86dga' 'libxxf86vm' 'libmad' 'libxinerama' 'sdl' 'lame' 'libtheora'
@@ -17,15 +17,13 @@ makedepends=(
'libdca' 'a52dec' 'schroedinger' 'libvpx' 'libpulse' 'fribidi' 'unzip' 'mesa'
'live-media' 'yasm' 'git' 'fontconfig' 'mpg123' 'ladspa' 'libass' 'libbluray'
'libcdio-paranoia' 'opus' 'subversion' 'x264' 'libx264' 'rtmpdump' 'gnutls'
- 'gsm' 'libdvdcss' 'libdvdread' 'libdvdnav'
+ 'gsm' 'libdvdcss' 'libdvdread' 'libdvdnav' 'ffmpeg'
)
license=('GPL')
url='http://www.mplayerhq.hu/'
options=('!buildflags' '!emptydirs')
source=($pkgbase-$pkgver::svn://svn.mplayerhq.hu/mplayer/trunk#revision=$pkgver
- http://ffmpeg.org/releases/ffmpeg-2.6.7.tar.bz2
mplayer.desktop
- cdio-includes.patch
include-samba-4.0.patch
ffmpeg-libvpxenc-remove-some-unused-ctrl-id-mappings.patch
revert-icl-fixes.patch
@@ -39,19 +37,18 @@ md5sums=('SKIP'
'3579402002b7302fdf2d146639333efd'
'9131fa5229c857174ab029ed9b0cb71b')
-pkgver() {
- cd $pkgbase-$pkgver
- svnversion
-}
+#pkgver() {
+# cd $pkgbase-$pkgver
+# svnversion
+#}
prepare() {
cd $pkgbase-$pkgver
- mv ../ffmpeg-*/ ./ffmpeg
+# mv ../ffmpeg-*/ ./ffmpeg
- patch -Np0 -i ../cdio-includes.patch
patch -Np1 -i ../include-samba-4.0.patch
patch -Np0 -i ../revert-icl-fixes.patch
- patch -d ffmpeg -Np1 <../ffmpeg-libvpxenc-remove-some-unused-ctrl-id-mappings.patch
+# patch -d ffmpeg -Np1 <../ffmpeg-libvpxenc-remove-some-unused-ctrl-id-mappings.patch
# fix ffmpeg/libav linkage for ARM
patch -p0 -i ../37386.patch
@@ -80,6 +77,7 @@ build() {
--disable-faac \
--disable-unrarexec \
--disable-cdparanoia \
+ --disable-ffmpeg_a \
--enable-xvmc \
--enable-radio \
--enable-radio-capture \
@@ -94,7 +92,6 @@ build() {
package_mplayer() {
pkgdesc='Media player for GNU/Linux, without using of UnRAR executable and nonfree faac support'
- install=mplayer.install
backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf')
depends=(
'desktop-file-utils' 'ttf-font' 'enca' 'libxss' 'a52dec' 'libvpx'
@@ -103,7 +100,7 @@ package_mplayer() {
'opencore-amr' 'jack' 'libmad' 'sdl' 'libtheora' 'libcaca' 'libxxf86dga'
'fribidi' 'libjpeg' 'faad2' 'libxvmc' 'schroedinger' 'mpg123'
'libass' 'libxxf86vm' 'libbluray' 'libcdio-paranoia' 'opus' 'rtmpdump'
- 'gsm' 'gnutls' 'libdvdnav'
+ 'gsm' 'gnutls' 'libdvdnav' 'ffmpeg'
)
replaces=('mplayer-libre' 'mplayer-parabola')
conflicts=('mplayer-libre' 'mplayer-parabola')
@@ -128,7 +125,7 @@ package_mencoder() {
'alsa-lib' 'fontconfig' 'giflib' 'libpng' 'smbclient' 'xvidcore'
'opencore-amr' 'libmad' 'libtheora' 'fribidi' 'libjpeg' 'faad2'
'schroedinger' 'mpg123' 'libass' 'libbluray' 'libcdio-paranoia'
- 'libvorbis' 'opus' 'rtmpdump' 'gsm' 'libdvdnav'
+ 'libvorbis' 'opus' 'rtmpdump' 'gsm' 'libdvdnav' 'ffmpeg'
)
replaces=('mencoder-libre' 'mencoder-parabola')
conflicts=('mencoder-libre' 'mencoder-parabola')