30 lines
804 B
Plaintext
30 lines
804 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: gtk4 icu vala
|
|
|
|
name=vte3
|
|
version=0.72.1
|
|
release=1
|
|
source=(https://gitlab.gnome.org/GNOME/vte/-/archive/$version/vte-$version.tar.bz2)
|
|
|
|
build() {
|
|
prt-get isinst gtk4 && PKGMK_VTE+=' -D gtk4=true'
|
|
prt-get isinst vala || PKGMK_VTE+=' -D vapi=false'
|
|
prt-get isinst icu || PKGMK_VTE+=' -D icu=false'
|
|
|
|
meson build vte-$version ${PKGMK_VTE} \
|
|
--prefix=/usr \
|
|
--libexecdir=/usr/lib \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_pie=true \
|
|
-D _systemd=false
|
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -r $PKG/usr/share/locale
|
|
}
|