summaryrefslogtreecommitdiff
path: root/extra/grilo-plugins
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-25 00:01:35 +0000
committerroot <root@rshg054.dnsready.net>2012-04-25 00:01:35 +0000
commit98bf2ac3fdd6f7bcb6ce45c932fc13c07fecc03f (patch)
tree00d9cdbfdc8ef5d7a4a7159a8c6439008509e662 /extra/grilo-plugins
parent9988621f899d7d4ae5fd0a4a32a4ba3abc5a527d (diff)
Wed Apr 25 00:01:35 UTC 2012
Diffstat (limited to 'extra/grilo-plugins')
-rw-r--r--extra/grilo-plugins/PKGBUILD24
-rw-r--r--extra/grilo-plugins/tracker-0.14.patch32
2 files changed, 46 insertions, 10 deletions
diff --git a/extra/grilo-plugins/PKGBUILD b/extra/grilo-plugins/PKGBUILD
index 22a211769..d248642f9 100644
--- a/extra/grilo-plugins/PKGBUILD
+++ b/extra/grilo-plugins/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 146719 2012-01-16 19:50:53Z dreisner $
-# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
+# $Id: PKGBUILD 156867 2012-04-23 09:07:54Z ibiru $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
pkgname=grilo-plugins
pkgver=0.1.18
-pkgrel=2
+pkgrel=3
pkgdesc="Plugins for Grilo"
url="http://www.gnome.org"
arch=('i686' 'x86_64')
license=('LGPL')
depends=('grilo')
makedepends=('gupnp-av' 'libgdata' 'libquvi' 'sqlite3' 'gmime' 'libgcrypt'
- 'rest' 'libtracker-sparql')
+ 'rest' 'libtracker-sparql' 'gnome-common')
optdepends=('gupnp-av: uPnP plugin'
'libgdata: Youtube plugin'
'libquvi: Youtube plugin'
@@ -22,18 +22,22 @@ optdepends=('gupnp-av: uPnP plugin'
'rest: Blip.tv plugin'
'libtracker-sparql: Tracker plugin')
options=('!libtool' '!emptydirs')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('7e382f402119f4f270380627a2f49b30a6c43a47ecd645bf5ffe4e0cd99a1c79')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz
+ tracker-0.14.patch)
+sha256sums=('7e382f402119f4f270380627a2f49b30a6c43a47ecd645bf5ffe4e0cd99a1c79'
+ 'c48201ed1633e2b0eb5132ef823d7b060e9c2cddb808c6981fb546133cd4ea63')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd $pkgname-$pkgver
+
+ patch -Np1 -i ../tracker-0.14.patch
- ./configure --prefix=/usr --sysconfdir=/etc --disable-static \
+ gnome-autogen.sh --prefix=/usr --sysconfdir=/etc --disable-static \
--enable-shoutcast
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
}
diff --git a/extra/grilo-plugins/tracker-0.14.patch b/extra/grilo-plugins/tracker-0.14.patch
new file mode 100644
index 000000000..c9c79fe7c
--- /dev/null
+++ b/extra/grilo-plugins/tracker-0.14.patch
@@ -0,0 +1,32 @@
+From 9e00790f40ee498a7359b00e0b11a7523fdd1b3e Mon Sep 17 00:00:00 2001
+From: Vincent Untz <vuntz@gnome.org>
+Date: Thu, 19 Jan 2012 09:30:28 +0000
+Subject: build: Support build against tracker 0.13/0.14
+
+https://bugzilla.gnome.org/show_bug.cgi?id=667855
+---
+diff --git a/configure.ac b/configure.ac
+index 1fd6743..71aceed 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -134,11 +134,17 @@ PKG_CHECK_MODULES(GMIME, gmime-2.6,
+ HAVE_GMIME=yes,
+ HAVE_GMIME=no)])
+
+-PKG_CHECK_MODULES(TRACKER_SPARQL, tracker-sparql-0.12,
++PKG_CHECK_MODULES(TRACKER_SPARQL, tracker-sparql-0.14,
+ HAVE_TRACKER_SPARQL=yes,
+ HAVE_TRACKER_SPARQL=no)
+
+ if test "x$HAVE_TRACKER_SPARQL" = "xno"; then
++ PKG_CHECK_MODULES(TRACKER_SPARQL, tracker-sparql-0.12,
++ HAVE_TRACKER_SPARQL=yes,
++ HAVE_TRACKER_SPARQL=no)
++fi
++
++if test "x$HAVE_TRACKER_SPARQL" = "xno"; then
+ PKG_CHECK_MODULES(TRACKER_SPARQL, tracker-sparql-0.11,
+ HAVE_TRACKER_SPARQL=yes,
+ HAVE_TRACKER_SPARQL=no)
+--
+cgit v0.9.0.2