opt/vte3/Pkgfile
2018-02-10 12:20:54 +11:00

41 lines
1.2 KiB
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 libgmp libpcre2 util-linux
name=vte3
version=0.50.2
release=1
source=(https://download.gnome.org/sources/vte/${version%.*}/vte-$version.tar.xz
$name-790539.patch
$name-pty_memory_leak.patch
$name-790536.patch)
build() {
cd vte-$version
# https://bugzilla.gnome.org/show_bug.cgi?id=790539
# https://git.gnome.org/browse/vte/commit/?h=vte-0-50&id=1d200a63ac4e39035af35e80881aa4fdae5556c6
patch -p1 -i $SRC/$name-790539.patch
# pty: Fix memory leak
# https://git.gnome.org/browse/vte/commit/?h=vte-0-50&id=ddd6dc998d9842369ec20f8e83c380401a8aed02
patch -p1 -i $SRC/$name-pty_memory_leak.patch
# https://bugzilla.gnome.org/show_bug.cgi?id=790536
# https://git.gnome.org/browse/vte/commit/?h=vte-0-50&id=504db1b97f684778ee52f6e280a9e734936be20f
patch -p1 -i $SRC/$name-790536.patch
./configure \
--prefix=/usr \
--libexecdir=/usr/lib/vte \
--disable-static \
--disable-gtk-doc \
--enable-vala=no
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/{gtk-doc,locale}
}