summaryrefslogtreecommitdiff
path: root/user/gcr3
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2023-11-25 05:40:47 -0800
committerA. Wilcox <awilcox@wilcox-tech.com>2023-11-27 09:59:05 +0000
commitaf60b310151c8d4d9cd0aa4db46ca87be2c6131e (patch)
tree5d00bd73a87677a57d79c860bf284a14c8d2e194 /user/gcr3
parentb813ad7cdc300d392e26397ac57a95257f244b99 (diff)
downloadpackages-af60b310151c8d4d9cd0aa4db46ca87be2c6131e.tar.gz
packages-af60b310151c8d4d9cd0aa4db46ca87be2c6131e.tar.bz2
packages-af60b310151c8d4d9cd0aa4db46ca87be2c6131e.tar.xz
packages-af60b310151c8d4d9cd0aa4db46ca87be2c6131e.zip
user/gcr3: new package
Diffstat (limited to 'user/gcr3')
-rw-r--r--user/gcr3/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/gcr3/APKBUILD b/user/gcr3/APKBUILD
new file mode 100644
index 000000000..4e6694d13
--- /dev/null
+++ b/user/gcr3/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=gcr3
+pkgver=3.41.1
+pkgrel=0
+pkgdesc="Gnome cryptography user interface library"
+url="https://gnome.pages.gitlab.gnome.org/gcr/gcr-3/"
+arch="all"
+options="!check" # https://gitlab.gnome.org/GNOME/gcr/-/issues/114
+license="LGPL-2.1+ AND LGPL-2.0+ AND LGPL-2.1-only AND GPL-2.0+ AND (GPL-2.0+ OR LGPL-2.1+ OR MPL-1.1) AND (LGPL-2.0+ OR LGPL-2.1+)"
+depends=""
+checkdepends="dbus-x11"
+makedepends="meson ninja gi-docgen glib-dev gnupg gobject-introspection-dev
+ gtk+3.0-dev libgcrypt-dev libsecret-dev p11-kit-dev vala-dev"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="https://download.gnome.org/sources/gcr/${pkgver%.*}/gcr-$pkgver.tar.xz"
+builddir="$srcdir"/gcr-$pkgver
+
+build() {
+ meson setup \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ --wrap-mode=nofallback \
+ . output
+ meson compile -C output
+}
+
+check() {
+ dbus-run-session meson test -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C output
+}
+
+sha512sums="dd70d41636ede863d05824b26823a8f572902f7a9b6f09b0c70586ef0d4c046864e6956130b9231850a515a9fbfcd56faf20354c1cf8f697f005827c048a2325 gcr-3.41.1.tar.xz"