summaryrefslogtreecommitdiff
path: root/community/mplayer2/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-10 00:13:24 -0700
committerroot <root@rshg054.dnsready.net>2013-06-10 00:13:24 -0700
commit3f6e6048fea3b61c4d0b2c1e7385bc76882007a4 (patch)
treea5908cd9ffcf64cb46a2a661aff666dd4c9cccbf /community/mplayer2/PKGBUILD
parent7b378b1b5b346bd49a5ab1652214fb34d03de3a9 (diff)
Mon Jun 10 00:13:23 PDT 2013
Diffstat (limited to 'community/mplayer2/PKGBUILD')
-rw-r--r--community/mplayer2/PKGBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/community/mplayer2/PKGBUILD b/community/mplayer2/PKGBUILD
index 4f04a4680..7eb0e78e8 100644
--- a/community/mplayer2/PKGBUILD
+++ b/community/mplayer2/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 90062 2013-05-06 19:38:27Z foutrelis $
+# $Id: PKGBUILD 92601 2013-06-09 16:56:19Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Martin Panter <vadmium+aur@gmail.com>
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
pkgname=mplayer2
-pkgver=20130309
-pkgrel=2
+pkgver=20130428
+pkgrel=1
pkgdesc='Advanced general-purpose media player. A fork of the original MPlayer project'
arch=('i686' 'x86_64')
license=('GPL')
@@ -17,23 +17,22 @@ depends=('a52dec' 'aalib' 'cdparanoia' 'desktop-file-utils' 'enca' 'faad2' 'ffmp
'libgl' 'libjpeg' 'libmad' 'libpulse' 'libquvi' 'libtheora' 'libvdpau'
'libxinerama' 'libxss' 'libxv' 'libxxf86dga' 'libxxf86vm' 'lirc-utils'
'mpg123' 'ncurses' 'sdl' 'ttf-dejavu')
-makedepends=('mesa' 'mesa-libgl' 'unzip' 'yasm' 'python' 'python-docutils')
+makedepends=('mesa' 'mesa-libgl' 'unzip' 'yasm' 'python' 'python-docutils' 'git')
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{,.sig})
-sha256sums=('03aeccbd82b3598e0656b54ae6ab60c79afdb78eabe1b2915e7912db7efbd343'
- 'SKIP')
+source=(git://git.mplayer2.org/mplayer2.git#commit=6c87a981baa)
+sha256sums=('SKIP')
prepare() {
- cd $pkgname-$pkgver
+ cd $pkgname
sed 's/gmplayer/mplayer/g' -i etc/mplayer.desktop
find -type f -exec sed -e 's/python3/python/' -i {} \;
}
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
./configure --prefix=/usr --confdir=/etc/mplayer \
--enable-translation --language=all \
@@ -47,7 +46,7 @@ build() {
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR=$pkgdir install
install -Dm644 etc/{codecs.conf,input.conf,example.conf} $pkgdir/etc/mplayer/