blob: 82e9120b476529d5b62ccc61f3500361555ff624 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# $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+7+gab5596b
pkgrel=1.nonprism1
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 git gnome-common python)
optdepends=('dleyna-server: DLNA plugin'
'tracker: Tracker plugin')
replaces=(${pkgname}-nonprism)
conflicts=(${pkgname}-nonprism)
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
./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
make DESTDIR="$pkgdir" install
}
|