2018-02-10 01:45:37 +01: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-12 16:26:57 +02:00
|
|
|
# Depends on: gnutls gtk3 libpcre2
|
2022-09-25 11:43:25 +02:00
|
|
|
# Optional: gtk4 icu vala
|
2014-12-16 14:04:15 +01:00
|
|
|
|
2018-02-10 01:45:37 +01:00
|
|
|
name=vte3
|
2023-05-06 17:16:16 +02:00
|
|
|
version=0.72.1
|
2022-06-25 10:45:43 +02:00
|
|
|
release=1
|
2022-09-25 11:43:25 +02:00
|
|
|
source=(https://gitlab.gnome.org/GNOME/vte/-/archive/$version/vte-$version.tar.bz2)
|
2014-12-16 14:04:15 +01:00
|
|
|
|
|
|
|
build() {
|
2022-06-25 10:45:43 +02:00
|
|
|
prt-get isinst gtk4 && PKGMK_VTE+=' -D gtk4=true'
|
2020-06-12 16:26:57 +02:00
|
|
|
prt-get isinst vala || PKGMK_VTE+=' -D vapi=false'
|
|
|
|
prt-get isinst icu || PKGMK_VTE+=' -D icu=false'
|
2014-12-17 17:44:46 +01:00
|
|
|
|
2020-06-12 16:26:57 +02:00
|
|
|
meson build vte-$version ${PKGMK_VTE} \
|
2018-02-10 02:20:54 +01:00
|
|
|
--prefix=/usr \
|
2020-06-12 16:26:57 +02:00
|
|
|
--libexecdir=/usr/lib \
|
2023-05-06 17:16:16 +02:00
|
|
|
--buildtype=plain \
|
|
|
|
--wrap-mode nodownload \
|
2022-09-25 11:43:25 +02:00
|
|
|
-D b_pie=true \
|
2020-06-12 16:26:57 +02:00
|
|
|
-D _systemd=false
|
2019-02-21 12:00:18 +01:00
|
|
|
|
2023-05-06 17:16:16 +02:00
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2018-02-10 02:20:54 +01:00
|
|
|
|
2020-06-12 16:26:57 +02:00
|
|
|
rm -r $PKG/usr/share/locale
|
2014-12-16 14:04:15 +01:00
|
|
|
}
|