opt/vte3/Pkgfile

41 lines
1.2 KiB
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
# Depends on: gnutls gtk3 libgmp libpcre2 util-linux
2014-12-16 14:04:15 +01:00
2018-02-10 01:45:37 +01:00
name=vte3
version=0.50.2
2014-12-16 14:04:15 +01:00
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)
2014-12-16 14:04:15 +01:00
build() {
cd vte-$version
2014-12-17 17:44:46 +01: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 14:04:15 +01: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 14:04:15 +01: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 14:04:15 +01: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 14:04:15 +01:00
}