summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-06-04 19:04:41 +0000
committerZach van Rijn <me@zv.io>2022-06-12 23:51:59 +0000
commit46f667fc189d8a841fe7391cd31c337df972fb9b (patch)
treebccfc974beaae0bf3b76921505a204604470c1d0
parentc12eabab298c84e6c6636ed9658a69ec5f30386d (diff)
downloadpackages-46f667fc189d8a841fe7391cd31c337df972fb9b.tar.gz
packages-46f667fc189d8a841fe7391cd31c337df972fb9b.tar.bz2
packages-46f667fc189d8a841fe7391cd31c337df972fb9b.tar.xz
packages-46f667fc189d8a841fe7391cd31c337df972fb9b.zip
user/gtksourceview4: new package.
-rw-r--r--user/gtksourceview4/APKBUILD57
1 files changed, 57 insertions, 0 deletions
diff --git a/user/gtksourceview4/APKBUILD b/user/gtksourceview4/APKBUILD
new file mode 100644
index 000000000..2418a782e
--- /dev/null
+++ b/user/gtksourceview4/APKBUILD
@@ -0,0 +1,57 @@
+# Contributor: Síle Ekaterin Liszka <sheila@adelielinux.org>
+# Maintainer: Síle Ekaterin Liszka <sheila@adelielinux.org>
+pkgname=gtksourceview4
+pkgver=5.4.1
+pkgrel=0
+pkgdesc="GTK widget for syntax-highlighting source code"
+url="https://wiki.gnome.org/Projects/GtkSourceView/"
+arch="all"
+license="LGPL-2.1+ AND LGPL-2.0+ AND (Apache-2.0 OR MIT OR LGPL-2.1+) AND CC-BY-SA-3.0"
+depends=""
+# MAINTAINERS: if you see any 'git clone' in the build logs,
+# ensure that the dependency is added to this list to use ours.
+makedepends="
+ cmake
+ cairo-dev
+ pango-dev
+ harfbuzz-dev
+ glib-dev
+ gtk4-dev
+ meson
+ ninja
+ pcre2-dev
+ libjpeg-turbo-dev
+ libxkbcommon-dev
+ wayland-dev
+ libxrandr-dev
+ libxi-dev
+ libxcursor-dev
+ libxinerama-dev
+ gi-docgen `# will be needed for docs`
+ "
+subpackages="$pkgname-dev `#$pkgname-doc`"
+source="https://download.gnome.org/sources/gtksourceview/${pkgver%.*}/gtksourceview-$pkgver.tar.xz"
+builddir="$srcdir/gtksourceview-$pkgver"
+
+build() {
+ meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ `#-Dgtk_doc=true` \
+ . output
+ ninja -C output
+}
+
+check() {
+# Add test instructions here.
+:
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="5270db969455ad29498a02a851802228575c9b4b6cf6d4f9736bff95f869f1052550034fe6cc4f0c8d29174559d147068dcd088ab09b2008399f7a717aced298 gtksourceview-5.4.1.tar.xz"