summaryrefslogtreecommitdiff
path: root/nonprism/grilo-plugins/PKGBUILD
blob: 020814d2701a30b2c4e0ec43cc7cd290b89eee22 (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
# $Id: PKGBUILD 239561 2015-05-19 19:26:57Z heftig $
# Maintainer (Arch): Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Maintainer: André Silva <emulatorman@parabola.nu>

pkgname=grilo-plugins
pkgver=0.2.14
pkgrel=4.nonprism1
pkgdesc="Plugins for Grilo, without libgdata support"
url="http://www.gnome.org"
arch=(i686 x86_64)
license=(LGPL)
replaces=(${pkgname}-nonprism)
conflicts=(${pkgname}-nonprism)
depends=(grilo lua libmediaart libtracker-sparql gom libdmapsharing)
makedepends=(intltool itstool yelp-tools)
optdepends=('dleyna-server: DLNA plugin'
            'tracker: Tracker plugin')
options=('!emptydirs')
groups=('gnome')
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver:0:3}/${pkgname}-${pkgver}.tar.xz
        local-metadata-crash.patch
        0002-local-metadata-Fixes-to-video_sanitise_string-non-al.patch)
sha256sums=('d0f18116675058c7e8c178b1fe26d6d73998a0452f85a73b1696df740c83d3ab'
            '221f770b064309635b52095d21d325707d45de03772da5cc579252b7795ced1b'
            'f95343c6433d438c6d67dfe0cf81804a9a19db1744606279159c008fce289aa7')

prepare() {
  cd $pkgname-$pkgver
  patch -Np1 -i ../local-metadata-crash.patch
  patch -Np1 -i ../0002-local-metadata-Fixes-to-video_sanitise_string-non-al.patch
}

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc --disable-static
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}