contrib/vte3-ng/Pkgfile
2018-02-10 12:51:04 +11:00

41 lines
1.2 KiB
Plaintext

# Description: Enhanced Virtual Terminal Emulator widget for use with GTK3
# URL: https://github.com/thestinger/vte-ng
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: gnutls gtk3 libgmp libpcre2 util-linux gtk-doc
name=vte3-ng
version=0.50.2
release=1
source=(https://github.com/thestinger/vte-ng/archive/$version/vte-ng-$version.tar.gz
vte3-790539.patch
vte3-pty_memory_leak.patch
vte3-790536.patch)
build() {
cd vte-ng-$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/vte3-790539.patch
# pty: Fix memory leak
# https://git.gnome.org/browse/vte/commit/?h=vte-0-50&id=ddd6dc998d9842369ec20f8e83c380401a8aed02
patch -p1 -i $SRC/vte3-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/vte3-790536.patch
./autogen.sh \
--prefix=/usr \
--libexecdir=/usr/lib/vte \
--disable-static \
--disable-gtk-doc \
--disable-vala
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/locale
}