opt/vte3/Pkgfile

31 lines
840 B
Plaintext

# Description: Virtual Terminal Emulator widget for use with GTK3
# URL: https://wiki.gnome.org/action/show/Apps/Terminal/VTE
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: gnutls gtk3 libpcre2
# Optional: icu vala
name=vte3
version=0.66.1
release=2
source=(https://gitlab.gnome.org/GNOME/vte/-/archive/$version/vte-$version.tar.bz2
vte-cntnr-precmd-preexec-scroll.patch)
build() {
prt-get isinst vala || PKGMK_VTE+=' -D vapi=false'
prt-get isinst icu || PKGMK_VTE+=' -D icu=false'
# https://bugzilla.gnome.org/show_bug.cgi?id=711059
patch -d vte-$version -p1 -i $SRC/vte-cntnr-precmd-preexec-scroll.patch
meson build vte-$version ${PKGMK_VTE} \
--prefix=/usr \
--libexecdir=/usr/lib \
-D _systemd=false
ninja -C build -j ${JOBS:-1}
DESTDIR=$PKG ninja -C build install
rm -r $PKG/usr/share/locale
}