aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2020-03-04 00:46:27 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-03-04 04:14:51 -0300
commit52bcd564639be3f67b5ed0e4e1413817b01f5e9a (patch)
treecc47c42bad9d76ff927af573dfdf11f5ba02e24d /testing
parent1e7120d5de6dc1c21ca134cd0221c27c0e2f7252 (diff)
downloadaports-52bcd564639be3f67b5ed0e4e1413817b01f5e9a.tar.bz2
aports-52bcd564639be3f67b5ed0e4e1413817b01f5e9a.tar.xz
testing/libportal: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/libportal/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/libportal/APKBUILD b/testing/libportal/APKBUILD
new file mode 100644
index 0000000000..8bbc301f50
--- /dev/null
+++ b/testing/libportal/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: TBK <alpine@jjtc.eu>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=libportal
+pkgver=0.3
+pkgrel=0
+pkgdesc="GIO-style async APIs for most Flatpak portals"
+url="https://github.com/flatpak/libportal"
+arch="all"
+license="GPL-2.0-or-later"
+makedepends="meson glib-dev gtk-doc"
+subpackages="$pkgname-dev $pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/flatpak/libportal/archive/$pkgver.tar.gz"
+
+build() {
+ meson \
+ --prefix=/usr \
+ --buildtype=plain \
+ . output
+ ninja -C output
+}
+
+check() {
+ meson test -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+}
+sha512sums="eb62d786a9988a39b39d6238bbd420642e7bfc6b879952b6dac8aa407b81ec05ff01f0afda039e385ffa4794905d28edfb37bb77340f67625e252622c7ab2472 libportal-0.3.tar.gz"