summaryrefslogtreecommitdiff
path: root/user/gtksourceview4
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-06-12 04:25:12 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:34:02 -0500
commitc7d37b22778fb7ae52e30ab816ab84d439dc1b0c (patch)
treeff57d8860d36086a52d47417f1b33db4217637f5 /user/gtksourceview4
parent847296817dcbd7e401010603d06daa5d3a6fe6cf (diff)
downloadpackages-c7d37b22778fb7ae52e30ab816ab84d439dc1b0c.tar.gz
packages-c7d37b22778fb7ae52e30ab816ab84d439dc1b0c.tar.bz2
packages-c7d37b22778fb7ae52e30ab816ab84d439dc1b0c.tar.xz
packages-c7d37b22778fb7ae52e30ab816ab84d439dc1b0c.zip
user/gtksourceview4: new package
Diffstat (limited to 'user/gtksourceview4')
-rw-r--r--user/gtksourceview4/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/gtksourceview4/APKBUILD b/user/gtksourceview4/APKBUILD
new file mode 100644
index 000000000..52ef634a8
--- /dev/null
+++ b/user/gtksourceview4/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=gtksourceview4
+_pkgreal=${pkgname%4}
+pkgver=4.8.3
+pkgrel=0
+pkgdesc="GNOME library for syntax-highlighting code"
+url="https://www.gnome.org/"
+arch="all"
+options="!check" # majority of tests fail with SIGTRAP
+license="LGPL-2.1+ AND LGPL-2.0+ AND (Apache-2.0 or MIT~unspecified and/or LGPL-2.1+)"
+depends=""
+makedepends="glib-dev gobject-introspection-dev gtk-doc gtk+3.0-dev libxml2-dev meson ninja vala-dev"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="https://download.gnome.org/sources/$_pkgreal/${pkgver%.*}/$_pkgreal-$pkgver.tar.xz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ --wrap-mode=nofallback \
+ -Dgtk_doc=true \
+ . output
+ ninja -C output
+}
+
+check() {
+ ninja -C output test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="406fae70301336eb31a05474db28b792212fa82db5acc209322587838655416955f8a91a6e081a1d0a22330e199d1815b5dd9d3299bfc9894e127b38ed6be418 gtksourceview-4.8.3.tar.xz"