diff options
-rw-r--r-- | user/vte/APKBUILD | 39 | ||||
-rw-r--r-- | user/vte/exitcode.patch | 12 |
2 files changed, 51 insertions, 0 deletions
diff --git a/user/vte/APKBUILD b/user/vte/APKBUILD new file mode 100644 index 000000000..91e0cac34 --- /dev/null +++ b/user/vte/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=vte +pkgver=0.54.0 +pkgrel=0 +pkgdesc="Virtual terminal emulator library for Gnome" +url="https://www.gnome.org" +arch="all" +license="LGPL-2.1+ AND GPL-3.0+ AND LGPL-3.0+ AND MIT AND LGPL-2.0+" +makedepends="intltool gtk+3.0-dev gnutls-dev zlib-dev pcre2-dev + gobject-introspection-dev vala vala-dev libxml2-utils" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="https://download.gnome.org/sources/vte/0.54/vte-$pkgver.tar.xz + exitcode.patch" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="69dd0caae4eacc179f84eccf98625a31140286beca4244a8f06420bd36ac62dcaddf9e9d8b114549ca97927e94b562df3e7daa9fad971484f05ebdd1c0f7b787 vte-0.54.0.tar.xz +4987254439a136f66a7b7be1300f5efbf85db74bdb64fdd8d0c9a555173a172b4fd519174f932e73d58a2618ef37273e82fe681bb129891f2792a414025f6c61 exitcode.patch" diff --git a/user/vte/exitcode.patch b/user/vte/exitcode.patch new file mode 100644 index 000000000..52de63858 --- /dev/null +++ b/user/vte/exitcode.patch @@ -0,0 +1,12 @@ +--- vte-0.54.0/src/widget.cc.old 2018-09-02 13:20:15.000000000 +0000 ++++ vte-0.54.0/src/widget.cc 2018-09-08 21:20:16.000000000 +0000 +@@ -21,6 +21,9 @@ + #include "widget.hh" + + #include <sys/wait.h> // for W_EXITCODE ++#ifndef W_EXITCODE ++# define W_EXITCODE(ret, sig) ((unsigned int)(ret) << 8 | sig) ++#endif + + #include <new> + #include <string> |