blob: f3fd477dd81799d78862edca4ebeb3d864b180f0 (
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
52
53
54
55
56
57
58
59
|
# $Id: PKGBUILD 289119 2017-02-17 22:41:29Z heftig $
# Maintainer (Arch): Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Maintainer: André Silva <emulatorman@hyperbola.info>
pkgname=grilo-plugins
pkgver=0.3.4
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=(git meson gperf)
checkdepends=(gst-plugins-good gst-plugins-base)
optdepends=('dleyna-server: DLNA plugin'
'tracker: Tracker plugin')
replaces=(${pkgname}-nonprism)
conflicts=(${pkgname}-nonprism)
groups=(gnome)
_commit=9e4026978b4069468a6fe6d3e961c4d1a9c88051 # tags/grilo-plugins-0.3.4^0
source=("git+https://git.gnome.org/browse/grilo-plugins#commit=$_commit"
0001-lua-factory-Remove-bad-prototype-for-html_entity_has.patch
0002-lua-factory-Remove-generated-htmlentity.c.patch
0001-meson-Fix-library-name-of-optical-media-plugin.patch)
sha256sums=('SKIP'
'f13466194a7f6f923189563814aa40c2cafe2cee7a9f5b86d5e0208bd1840111'
'4c9a2eaa9bba70e39fe65eb0ef06207f7553341c51d0d8bcab9c5934b30e7aea'
'a1a48c04892adc3dab9b71d59eb464eadf5c72fffe3a13a9e5c078421288baee')
pkgver() {
cd $pkgname
git describe --tags | sed 's/^grilo-plugins-//;s/-/+/g'
}
prepare() {
mkdir build
cd $pkgname
patch -Np1 -i ../0001-lua-factory-Remove-bad-prototype-for-html_entity_has.patch
patch -Np1 -i ../0002-lua-factory-Remove-generated-htmlentity.c.patch
patch -Np1 -i ../0001-meson-Fix-library-name-of-optical-media-plugin.patch
}
build() {
cd build
export LANG=en_US.UTF-8
meson --prefix=/usr --buildtype=plain ../$pkgname
ninja
}
check() {
cd build
ninja test
}
package() {
cd build
DESTDIR="$pkgdir" ninja install
}
|