community/mplayer2 to 20120729-1

This commit is contained in:
Kevin Mihelich 2012-08-03 19:24:13 +00:00
parent 8997dfd532
commit e6b5b4695f

View file

@ -1,4 +1,4 @@
# $Id: PKGBUILD 73479 2012-07-08 09:30:47Z ibiru $
# $Id: PKGBUILD 74686 2012-08-02 07:31:37Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Martin Panter <vadmium+aur@gmail.com>
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
@ -7,8 +7,8 @@
# - removed --enable-runtime-cpudetection - not supported on ARM
pkgname=mplayer2
pkgver=20120517
pkgrel=4
pkgver=20120729
pkgrel=1
pkgdesc="An advanced general-purpose media player. A fork of the original MPlayer project"
arch=('i686' 'x86_64')
license=('GPL')
@ -18,18 +18,19 @@ depends=('a52dec' 'aalib' 'cdparanoia' 'desktop-file-utils' 'enca' 'faad2' 'ffmp
'freetype2' 'jack' 'ladspa' 'lame' 'libass' 'libbluray' 'libcaca' 'libcdio' 'libdca' 'libdvdcss'
'libdvdnav' 'libdvdread' 'libgl' 'libjpeg' 'libmad' 'libpulse' 'libtheora' 'libvdpau'
'libxinerama' 'libxss' 'libxv' 'libxxf86dga' 'libxxf86vm' 'lirc-utils' 'mpg123' 'ncurses' 'sdl' 'ttf-dejavu')
makedepends=('mesa' 'unzip' 'yasm')
makedepends=('mesa' 'unzip' 'yasm' 'python')
backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf')
provides=('mplayer')
conflicts=('mplayer')
options=(!emptydirs)
source=(ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.xz)
md5sums=('814cc9545937e13796df1d4747c3c5d0')
md5sums=('53a266106f4c0dd687af3f807727812c')
build() {
cd "${srcdir}"/$pkgname-$pkgver
sed 's/gmplayer/mplayer/g' -i etc/mplayer.desktop
find -type f -exec sed -e 's/python3/python/' -i {} \;
./configure --prefix=/usr --confdir=/etc/mplayer \
--enable-translation --language=all \