aboutsummaryrefslogtreecommitdiffstats
path: root/community/phosh-mobile-settings/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/phosh-mobile-settings/APKBUILD')
-rw-r--r--community/phosh-mobile-settings/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/community/phosh-mobile-settings/APKBUILD b/community/phosh-mobile-settings/APKBUILD
new file mode 100644
index 00000000000..f81322b1858
--- /dev/null
+++ b/community/phosh-mobile-settings/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Newbyte <newbie13xd@gmail.com>
+# Maintainer: Newbyte <newbie13xd@gmail.com>
+pkgname=phosh-mobile-settings
+pkgver=0.38.0
+pkgrel=1
+pkgdesc="Settings app for mobile specific things"
+url="https://gitlab.gnome.org/guidog/phosh-mobile-settings"
+# blocked by phosh
+arch="all !armhf !s390x !ppc64le"
+license="GPL-3.0-or-later"
+makedepends="
+ desktop-file-utils
+ glib-dev>=2.62
+ gsound-dev
+ gtk4.0-dev
+ json-glib-dev
+ libadwaita-dev
+ lm-sensors-dev
+ meson
+ phosh-dev
+ "
+subpackages="$pkgname-lang"
+source="https://sources.phosh.mobi/releases/phosh-mobile-settings/phosh-mobile-settings-$pkgver.tar.xz
+ ignore-phoc-tests.patch"
+
+build() {
+ abuild-meson \
+ -Db_lto=true \
+ . output
+ meson compile -C output
+}
+
+check() {
+ meson test --no-rebuild --print-errorlogs -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install --no-rebuild --skip-subprojects -C output
+}
+
+sha512sums="
+7406ca631d0bb2d51bf405ffb1820496bbd3349927b677b208d623d7a792dbfbd5f6bfd6edc31bb3009490e4ea6c860660df5d983861d929b7b9300d69c8f9e8 phosh-mobile-settings-0.38.0.tar.xz
+41c5b8aa691556debc41aefa6d9987072f2069627aed60058d3b93b616134fec8e8cf4db80a5a8800a2443140f802f1cb283aeae3f6b9580324a8679f64a3748 ignore-phoc-tests.patch
+"