aboutsummaryrefslogtreecommitdiffstats
path: root/community/libcontacts/APKBUILD
blob: ffee6e5f1af6db5fe45905232c59be2a263e866a (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libcontacts
pkgver=0.2.11.2
pkgrel=0
pkgdesc="A contact cache and various helper functions"
url="https://git.sailfishos.org/mer-core/libcontacts"
arch="all"
license="BSD-3-Clause"
makedepends="
	libmlocale-dev
	libphonenumber-dev
	mce-dev
	mlite-dev
	qt5-qtbase-dev
	qt5-qtpim-dev
	qt5-qttools-dev
	qtchooser
	qtcontacts-sqlite-dev
	"
source="https://git.sailfishos.org/mer-core/libcontacts/-/archive/$pkgver/libcontacts-$pkgver.tar.gz
	0001-update-api-for-qtpim-5.9.patch
	0002-add-missing-include-paths.patch
	"
subpackages="$pkgname-dev"
options="!check" # No tests

build() {
	qmake-qt5 PREFIX=/usr
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install

	# Remove installed tests
	rm -r "$pkgdir"/opt
}

sha512sums="3a78204571eba5145815a38f0aafe46b880e4269328eb83e5546f532dc1434669d741b44143682724081a8e6ce6955db67f027d306e1658efa27ac28335ed9fc  libcontacts-0.2.11.2.tar.gz
b42e503ec33f9a8279041e3307b5e99544853993b50cf2a5853b0b8639e5dddcb73f585fe6cdeb2054e065d5d03cad6dae197cc4985e7e85457767a6408fa219  0001-update-api-for-qtpim-5.9.patch
d170aff9e3c5fd1cbb10091c02f1160b2211cea36f54b79f9ea204f32fe8dee0bd54668f3b12818085b1c833ccf0df2918d5a2a53d12c4ba1f1095940eca80da  0002-add-missing-include-paths.patch"