mirror of
https://github.com/mac-a-r0ni/crux-xfce4.git
synced 2025-01-22 14:52:19 +01:00
28 lines
701 B
Plaintext
28 lines
701 B
Plaintext
# 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
|
|
}
|