aboutsummaryrefslogtreecommitdiffstats
path: root/community/libqofono/APKBUILD
blob: 16649279060a88f61628c930990895096c5342b8 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libqofono
pkgver=0.103
pkgrel=0
pkgdesc="A library for accessing the ofono daemon, and a Qt declarative plugin for it"
url="https://git.merproject.org/mer-core/libqofono/"
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
license="LGPL-2.1-or-later"
depends_dev="
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="https://git.merproject.org/mer-core/libqofono/-/archive/$pkgver/libqofono-$pkgver.tar.gz"
options="!check" # Requires running Ofono

build() {
	qmake-qt5
	make
}

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

	# Remove installed tests
	rm -r "$pkgdir"/opt
	rm -r "$pkgdir"/usr/lib/libqofono-qt5/tests/
}

sha512sums="
7c1588f3c1a14ebefaaa54b0a027fa68ac82f1e4c5ac0f8a3926f07dd574d030dbbaee066f80ecc9714ccdd70788f91bc337379e1fbb2eca2d118c8f2dd399d6  libqofono-0.103.tar.gz
"