2018-02-10 11:45:37 +11:00
|
|
|
# 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
|
2020-06-13 00:26:57 +10:00
|
|
|
# Depends on: gnutls gtk3 libpcre2
|
|
|
|
# Optional: icu vala
|
2014-12-16 13:04:15 +00:00
|
|
|
|
2018-02-10 11:45:37 +11:00
|
|
|
name=vte3
|
2021-12-11 14:43:12 +01:00
|
|
|
version=0.66.2
|
2021-11-28 19:42:00 +11:00
|
|
|
release=2
|
|
|
|
source=(https://gitlab.gnome.org/GNOME/vte/-/archive/$version/vte-$version.tar.bz2
|
|
|
|
vte-cntnr-precmd-preexec-scroll.patch)
|
2014-12-16 13:04:15 +00:00
|
|
|
|
|
|
|
build() {
|
2020-06-13 00:26:57 +10:00
|
|
|
prt-get isinst vala || PKGMK_VTE+=' -D vapi=false'
|
|
|
|
prt-get isinst icu || PKGMK_VTE+=' -D icu=false'
|
2014-12-17 16:44:46 +00:00
|
|
|
|
2021-11-28 19:42:00 +11:00
|
|
|
# https://bugzilla.gnome.org/show_bug.cgi?id=711059
|
|
|
|
patch -d vte-$version -p1 -i $SRC/vte-cntnr-precmd-preexec-scroll.patch
|
|
|
|
|
2020-06-13 00:26:57 +10:00
|
|
|
meson build vte-$version ${PKGMK_VTE} \
|
2018-02-10 12:20:54 +11:00
|
|
|
--prefix=/usr \
|
2020-06-13 00:26:57 +10:00
|
|
|
--libexecdir=/usr/lib \
|
|
|
|
-D _systemd=false
|
2019-02-21 22:00:18 +11:00
|
|
|
|
2018-02-10 12:20:54 +11:00
|
|
|
|
2020-06-13 00:26:57 +10:00
|
|
|
ninja -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG ninja -C build install
|
2018-02-10 12:20:54 +11:00
|
|
|
|
2020-06-13 00:26:57 +10:00
|
|
|
rm -r $PKG/usr/share/locale
|
2014-12-16 13:04:15 +00:00
|
|
|
}
|