opt/vte3/Pkgfile

28 lines
747 B
Plaintext
Raw Normal View History

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
2022-10-23 09:38:46 +02:00
version=0.70.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} \
--prefix=/usr \
2020-06-12 16:26:57 +02:00
--libexecdir=/usr/lib \
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
2020-06-12 16:26:57 +02:00
ninja -C build -j ${JOBS:-1}
DESTDIR=$PKG ninja -C build install
2020-06-12 16:26:57 +02:00
rm -r $PKG/usr/share/locale
2014-12-16 14:04:15 +01:00
}