summaryrefslogtreecommitdiff
path: root/nonprism/grilo-plugins/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'nonprism/grilo-plugins/PKGBUILD')
-rw-r--r--nonprism/grilo-plugins/PKGBUILD39
1 files changed, 28 insertions, 11 deletions
diff --git a/nonprism/grilo-plugins/PKGBUILD b/nonprism/grilo-plugins/PKGBUILD
index 70919ba5f..82e9120b4 100644
--- a/nonprism/grilo-plugins/PKGBUILD
+++ b/nonprism/grilo-plugins/PKGBUILD
@@ -1,34 +1,51 @@
-# $Id: PKGBUILD 276134 2016-09-10 16:22:34Z heftig $
+# $Id: PKGBUILD 276945 2016-09-25 12:40:13Z heftig $
# Maintainer (Arch): Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=grilo-plugins
-pkgver=0.3.3
+pkgver=0.3.3+7+gab5596b
pkgrel=1.nonprism1
-pkgdesc="Plugins for Grilo, without libgdata support"
-url="http://www.gnome.org"
+pkgdesc="A collection of plugins for the Grilo framework, without libgdata support"
+url="https://git.gnome.org/browse/grilo-plugins"
arch=(i686 x86_64)
license=(LGPL)
depends=(grilo lua libmediaart libtracker-sparql gom libdmapsharing chromaprint
gst-plugins-bad)
-makedepends=(intltool itstool yelp-tools)
+makedepends=(intltool itstool yelp-tools git gnome-common python)
optdepends=('dleyna-server: DLNA plugin'
'tracker: Tracker plugin')
replaces=(${pkgname}-nonprism)
conflicts=(${pkgname}-nonprism)
-options=('!emptydirs')
-groups=('gnome')
-source=(https://download.gnome.org/sources/${pkgname}/${pkgver:0:3}/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('fe66e887847fef9c361bcb7226047c43b2bc22b172aaf22afd5534947cc85b9c')
+groups=(gnome)
+_commit=ab5596b7372a3d9b4a74fc3ff4daa669797a6c5a
+source=("git://git.gnome.org/grilo-plugins#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^grilo-plugins-//;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ # Add missing tag for pkgver()
+ git tag -f grilo-plugins-0.3.3 7a29a3ba6b0874e39fc664407cfcb2298906163a
+ NOCONFIGURE=1 ./autogen.sh
+}
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc --disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
+check() {
+ cd $pkgname
+ make -k check || :
+}
+
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
}