aboutsummaryrefslogtreecommitdiffstats
path: root/community/libqofono/APKBUILD
blob: 4dbc5d3cae01edc405ba4dfb752b3f25aece4534 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libqofono
pkgver=0.102
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="10eee9dd29c34387faaef7e7bdfb2fb36f6b38356941317267857d9c39e3366df14c528327d9d62f3c7548679de10202c93f8254e3a9f70f3ded122c97a8a636  libqofono-0.102.tar.gz"