[arch-commits] Commit in gnome-mplayer/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Sat Jan 20 18:20:02 UTC 2018
Date: Saturday, January 20, 2018 @ 18:20:01
Author: bgyorgy
Revision: 284316
upgpkg: gnome-mplayer 1.0.9-5
Adopt the package, enable libgda and libgpod support
Modified:
gnome-mplayer/trunk/PKGBUILD
----------+
PKGBUILD | 40 ++++++++++++++++++++--------------------
1 file changed, 20 insertions(+), 20 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-20 18:16:44 UTC (rev 284315)
+++ PKGBUILD 2018-01-20 18:20:01 UTC (rev 284316)
@@ -1,40 +1,40 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Lukas Fleischer <lfleischer at archlinux.org>
# Contributor: Allan McRae <mcrae_allan at hotmail.com>
# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
pkgname=gnome-mplayer
pkgver=1.0.9
-pkgrel=4
-pkgdesc='A simple MPlayer GUI.'
+pkgrel=5
+pkgdesc='GTK/Gnome interface around MPlayer'
arch=('x86_64')
url='https://sites.google.com/site/kdekorte2/gnomemplayer'
license=('GPL')
-depends=('mplayer' 'dbus-glib' 'libnotify' 'gmtk')
-makedepends=('nautilus' 'nemo' 'caja' 'gconf')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/kdekorte/${pkgname}/archive/v${pkgver}.tar.gz"
+depends=('dbus-glib' 'libgda' 'libgpod' 'libnotify' 'gmtk')
+makedepends=('caja' 'gconf' 'nautilus' 'nemo' 'python')
+optdepends=('caja: file manager integration for Caja'
+ 'nautilus: file manager integration for Nautilus'
+ 'nemo: file manager integration for Nemo')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/kdekorte/$pkgname/archive/v$pkgver.tar.gz"
"caja.patch")
-md5sums=('b8cd76d54fef7e2a18484b8721fbcb94'
- '60e40a9a3de78f82a99582bc70aa9f91')
+sha256sums=('07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde'
+ '52dbf11e64042c03ec94677ee667d88306f5f45521b7a1da82e5e5f02f59ed28')
prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- patch -Np0 -i "${srcdir}/caja.patch"
+ cd $pkgname-$pkgver
+ patch -Np0 -i ../caja.patch
+ sed -i 's/Exec=gnome-mplayer %U/Exec=gnome-mplayer %F/' $pkgname.desktop
autoreconf -fi
}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-install
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-
- sed -i 's at Exec=gnome-mplayer %U at Exec=gnome-mplayer %F@' \
- "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list