[arch-commits] Commit in mplayer2/trunk (PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Sun Jun 9 16:56:05 UTC 2013
Date: Sunday, June 9, 2013 @ 18:56:05
Author: bpiotrowski
Revision: 92600
upgpkg: mplayer2 20130428-1
- update to latest commit
- fetch sources from git repository
Modified:
mplayer2/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-06-09 16:04:05 UTC (rev 92599)
+++ PKGBUILD 2013-06-09 16:56:05 UTC (rev 92600)
@@ -4,8 +4,8 @@
# Contributor: Stéphane Gaudreault <stephane at 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 @@
'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 @@
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR=$pkgdir install
install -Dm644 etc/{codecs.conf,input.conf,example.conf} $pkgdir/etc/mplayer/
More information about the arch-commits
mailing list