aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-online-miners/APKBUILD
blob: 39d44eaca32179388e0a49e6e5b794ae921bdc6b (plain) (blame)
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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-online-miners
pkgver=3.34.0
pkgrel=1
pkgdesc="A set of crawlers that go through your online content and index them locally"
url="https://wiki.gnome.org/Projects/GnomeOnlineMiners"
arch="all"
license="GPL-2.0-or-later"
makedepends="libgdata-dev glib-dev gnome-online-accounts-dev grilo-dev tracker-dev
	gfbgraph-dev autoconf automake libtool"
subpackages="$pkgname-static $pkgname-doc"
source="https://download.gnome.org/sources/gnome-online-miners/${pkgver%.*}/gnome-online-miners-$pkgver.tar.xz
	tracker3.patch
	remove-configure-ac-debug.patch
	"

prepare() {
	default_prepare

	autoreconf -fi
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--enable-media-server \
		--disable-windows-live
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="bfcdd7f11607663eda491314c34a9b50f2885f6fb39e7c9e68a77927bbcc326979fb8900ab5dfac1494ac575dbf0e3f3b7459ec3f38cb1eb8961158e3fe44464  gnome-online-miners-3.34.0.tar.xz
630701cfd204ed16f35f11819276e2ff4b8216bc58fbe289a4cc9e62b10adb9b97fce4d0363b7f49770b68943be20ce7b050915838fb7d297e6c04550bca2de8  tracker3.patch
f98e6e4a990c95ad0a3ea43df4517f5d25ee12d56a757b47a84e2d78fbc723c433e77046b5706e1806972b6cd6beed5824a598b5d782c66de1bf749924b7b876  remove-configure-ac-debug.patch"