aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-documents
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-03-20 09:45:52 +0100
committerRasmus Thomsen <oss@cogitri.dev>2020-03-20 09:45:52 +0100
commit50f02d733b18639509b42fb580de801ab73772aa (patch)
treee34f5bbf2a2a7a406b6e8a7fe85386eb08263b5a /community/gnome-documents
parent4144bd692facc041a2fd6f75e64e365eab574104 (diff)
downloadaports-50f02d733b18639509b42fb580de801ab73772aa.tar.bz2
aports-50f02d733b18639509b42fb580de801ab73772aa.tar.xz
community/gnome-documents: move from testing
Diffstat (limited to 'community/gnome-documents')
-rw-r--r--community/gnome-documents/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/gnome-documents/APKBUILD b/community/gnome-documents/APKBUILD
new file mode 100644
index 0000000000..19896ee065
--- /dev/null
+++ b/community/gnome-documents/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=gnome-documents
+pkgver=3.34.0
+pkgrel=0
+pkgdesc="GNOME Documents is a document manager for GNOME 3"
+url="https://wiki.gnome.org/Apps/Documents"
+arch="all !s390x" # gjs
+license="GPL-2.0-or-later"
+# Needs the GIR data of these during runtime
+depends="gnome-online-accounts libgdata libzapojit"
+makedepends="meson gtk-doc gtk+3.0-dev evince-dev gnome-desktop-dev glib-dev
+ gjs-dev gobject-introspection-dev tracker-dev libsoup-dev webkit2gtk-dev
+ libgdata-dev gnome-online-accounts-dev libzapojit-dev librsvg itstool"
+checkdepends="appstream-glib desktop-file-utils"
+# Don't conflict with other packages which do a shared link of libgd
+sonameprefix="$pkgname:"
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://download.gnome.org/sources/gnome-documents/${pkgver%.*}/gnome-documents-$pkgver.tar.xz"
+
+build() {
+ meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ . output
+ ninja -C output
+}
+
+check() {
+ ninja -C output test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="5867b148aaffd02089e4f1148cf0fbce37ba0ed40c7d255f9261cd225757f56b68293d59476ab7c11ebbe310cc7935081b2770e7bc24bdbddb5934da5ea0cf87 gnome-documents-3.34.0.tar.xz"