summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4286508b337051f47a75d479eaae4ecc26695f58 (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
pkgname=grilo-plugins-git
_pkgname=grilo-plugins
pkgver=0.3.11+14+g29c5590
pkgrel=1
pkgdesc="A collection of plugins for the Grilo framework"
url="https://gitlab.gnome.org/GNOME/grilo-plugins"
arch=(x86_64)
license=(LGPL)
depends=('grilo' 'lua' 'libmediaart' 'libgdata' 'tracker' 'gom' 'libdmapsharing' 'chromaprint'
         'gst-plugins-bad' 'gmime3')
makedepends=('git' 'meson' 'gperf' 'yelp-tools')
checkdepends=('gst-plugins-good' 'gst-plugins-base')
optdepends=('dleyna-server: DLNA plugin'
            'tracker-miners: Tracker plugin')
provides=('grilo-plugins')
conflicts=('grilo-plugins')
source=("git+https://gitlab.gnome.org/GNOME/grilo-plugins.git")
sha512sums=('SKIP')

pkgver() {
  cd $_pkgname
  git describe --tags | sed 's/^grilo-plugins-//;s/-/+/g'
}

build() {
  arch-meson $_pkgname build
  ninja -C build
}

package() {
  depends+=(libgr{ilo,lnet,lpls}-0.3.so)
  DESTDIR="$pkgdir" meson install -C build
}