aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-books/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnome-books/APKBUILD')
-rw-r--r--community/gnome-books/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/gnome-books/APKBUILD b/community/gnome-books/APKBUILD
new file mode 100644
index 0000000000..a685af8212
--- /dev/null
+++ b/community/gnome-books/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=gnome-books
+pkgver=40.0
+pkgrel=0
+pkgdesc="GNOME Ebook Manager"
+url="https://wiki.gnome.org/Apps/Books"
+arch="all !s390x !mips !mips64" # missing gjs, librsvg
+license="LGPL-2.0-or-later"
+depends="gsettings-desktop-schemas libgepub tracker-miners"
+makedepends="meson gjs-dev evince-dev gnome-desktop-dev gtk+3.0-dev glib-dev
+ gobject-introspection-dev tracker-dev webkit2gtk-dev libgepub-dev librsvg"
+checkdepends="appstream-glib desktop-file-utils"
+# Don't conflict with other packages doing a shared link of libgd
+sonameprefix="$pkgname:"
+subpackages="$pkgname-lang $pkgname-doc"
+source="https://download.gnome.org/sources/gnome-books/${pkgver%.*}/gnome-books-$pkgver.tar.xz"
+
+build() {
+ abuild-meson . output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
+}
+
+check() {
+ meson test --no-rebuild -v -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
+}
+
+sha512sums="6fb6df65a493c0813cc742c08309d104ef4cc66c21d1a50e6e756824f16eec4350c89b8b7c23de35784e21197649e2390d69850632d279305ed172dfafe5ef41 gnome-books-40.0.tar.xz"