2018-02-10 11:45:37 +11: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
|
2018-02-10 12:20:54 +11:00
|
|
|
# Depends on: gnutls gtk3 libgmp libpcre2 util-linux
|
2014-12-16 13:04:15 +00:00
|
|
|
|
2018-02-10 11:45:37 +11:00
|
|
|
name=vte3
|
2018-02-10 12:20:54 +11:00
|
|
|
version=0.50.2
|
2014-12-16 13:04:15 +00:00
|
|
|
release=1
|
2018-02-10 12:20:54 +11:00
|
|
|
source=(https://download.gnome.org/sources/vte/${version%.*}/vte-$version.tar.xz
|
|
|
|
$name-790539.patch
|
|
|
|
$name-pty_memory_leak.patch
|
|
|
|
$name-790536.patch)
|
2014-12-16 13:04:15 +00:00
|
|
|
|
|
|
|
build() {
|
2018-02-10 12:20:54 +11:00
|
|
|
cd vte-$version
|
2014-12-17 16:44:46 +00:00
|
|
|
|
2018-02-10 12:20:54 +11:00
|
|
|
# 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
|
2014-12-16 13:04:15 +00:00
|
|
|
|
2018-02-10 12:20:54 +11:00
|
|
|
# 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
|
2014-12-16 13:04:15 +00:00
|
|
|
|
2018-02-10 12:20:54 +11:00
|
|
|
# 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
|
2014-12-16 13:04:15 +00:00
|
|
|
|
2018-02-10 12:20:54 +11:00
|
|
|
./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}
|
2014-12-16 13:04:15 +00:00
|
|
|
}
|