summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-08 16:37:47 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-08 17:58:58 -0500
commit561c030e556234acbed6932f73e5174cb0fcb17a (patch)
treeadbbbf86fa58d00e135f42716d246a60ce720a76
parent2fe10c397e720d575fdd2c013be9bb552198a2a7 (diff)
downloadpackages-561c030e556234acbed6932f73e5174cb0fcb17a.tar.gz
packages-561c030e556234acbed6932f73e5174cb0fcb17a.tar.bz2
packages-561c030e556234acbed6932f73e5174cb0fcb17a.tar.xz
packages-561c030e556234acbed6932f73e5174cb0fcb17a.zip
user/vte: new package
-rw-r--r--user/vte/APKBUILD39
-rw-r--r--user/vte/exitcode.patch12
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>