aboutsummaryrefslogtreecommitdiff
path: root/gtksourceview4/Pkgfile
diff options
context:
space:
mode:
authorJay Lanagan <j@lngn.net>2025-09-29 09:51:28 -0400
committerJay Lanagan <j@lngn.net>2025-09-29 09:51:28 -0400
commit9a6af577ce42cb73efc98c09ab1ef6f9e0083153 (patch)
tree883063343f20fe827c5aecdaa40fa9ddde2ecaf2 /gtksourceview4/Pkgfile
parentab119e4809a15d37522b7aea45d55911f8d43ac9 (diff)
downloadcrux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.tar.gz
crux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.zip
xfce4: initial migration
Diffstat (limited to 'gtksourceview4/Pkgfile')
-rw-r--r--gtksourceview4/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/gtksourceview4/Pkgfile b/gtksourceview4/Pkgfile
new file mode 100644
index 0000000..1932cbf
--- /dev/null
+++ b/gtksourceview4/Pkgfile
@@ -0,0 +1,27 @@
+# Description: A text widget adding syntax highlighting.
+# URL: https://gnome.org
+# Maintainer: mac-a-r0ni, j at lngn dot net
+# Depends on: glade gtk-doc
+# Optional: vala
+
+name=gtksourceview4
+version=4.8.4
+release=3
+source=(https://download.gnome.org/sources/gtksourceview/4.8/gtksourceview-$version.tar.xz)
+
+build() {
+ prt-get isinst vala && PKGMK_GTKSV+=' -Dvapi=true' || PKGMK_GTKSV+=' -Dvapi=false'
+ mv gtksourceview-$version $name-$version
+
+ meson setup $name-$version build $PKGMK_GTKSV \
+ --prefix=/usr \
+ --buildtype=plain \
+ -Dgir=true \
+ -Db_lto=true \
+ -Db_pie=true
+
+ meson compile -C build
+ DESTDIR=$PKG meson install -C build
+
+ rm -rf $PKG/usr/share/locale
+}