aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/libqofono/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/libqofono/APKBUILD b/community/libqofono/APKBUILD
new file mode 100644
index 0000000000..b5e6f62e04
--- /dev/null
+++ b/community/libqofono/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=libqofono
+pkgver=0.98
+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"
+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="917c3f8c58f6af5b166b3641750b114dae4eaf6b3d8018421c6e601e9742f413dc6aa758ce2f9b2ce98feff1d031bb30028d5634c5befab94aa1ae382e6504b7 libqofono-0.98.tar.gz"