summaryrefslogtreecommitdiff
path: root/community/mplayer2
diff options
context:
space:
mode:
Diffstat (limited to 'community/mplayer2')
-rw-r--r--community/mplayer2/PKGBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/community/mplayer2/PKGBUILD b/community/mplayer2/PKGBUILD
index 156dacde6..047f8a063 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' 'mips64el')
license=('GPL')
@@ -17,7 +17,7 @@ depends=('a52dec' 'aalib' 'cdparanoia' 'desktop-file-utils' 'enca' 'faad2' 'ffmp
'libjpeg' 'libmad' 'libpulse' 'libquvi' 'libtheora'
'libxinerama' 'libxss' 'libxv' 'libxxf86dga' 'libxxf86vm'
'mpg123' 'ncurses' 'sdl' 'ttf-dejavu')
-makedepends=('unzip' 'python' 'python-docutils')
+makedepends=('unzip' 'python' 'python-docutils' 'git')
if [ "$CARCH" != "mips64el" ]; then
depends+=('libgl' 'libvdpau' 'lirc-utils')
makedepends+=('mesa' 'mesa-libgl' 'yasm')
@@ -26,18 +26,17 @@ 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
[ "$CARCH" != "mips64el" ] && extra="--enable-runtime-cpudetection"
@@ -53,7 +52,7 @@ build() {
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR=$pkgdir install
install -Dm644 etc/{codecs.conf,input.conf,example.conf} $pkgdir/etc/mplayer/