aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-05-27 20:14:18 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-05-27 20:15:25 +0000
commit7d0af0986a0fb1310fc0f1e372831b464f0207bc (patch)
tree4ebedf759a690e16c6a1bfadd0e0bc1d339192a9 /main
parentd8dd4667fcc7b28fb3a8f0e7c72f15bf291ae16b (diff)
downloadaports-7d0af0986a0fb1310fc0f1e372831b464f0207bc.tar.bz2
aports-7d0af0986a0fb1310fc0f1e372831b464f0207bc.tar.xz
main/vte: drop unused python2 bindings support, modernize apkbuild, enable tests
Diffstat (limited to 'main')
-rw-r--r--main/vte/APKBUILD32
1 files changed, 15 insertions, 17 deletions
diff --git a/main/vte/APKBUILD b/main/vte/APKBUILD
index 5a0a57f13f..d841d26f4d 100644
--- a/main/vte/APKBUILD
+++ b/main/vte/APKBUILD
@@ -1,36 +1,29 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vte
pkgver=0.28.2
-pkgrel=10
+pkgrel=11
pkgdesc="Virtual Terminal Emulator library"
url="http://www.gnome.org"
arch="all"
license="LGPL2+"
depends=""
options="suid"
-depends_dev="glib-dev pango-dev gtk+2.0-dev py-gtk-dev"
-makedepends="$depends_dev intltool python2 ncurses-dev"
+depends_dev="pango-dev gtk+2.0-dev"
+makedepends="$depends_dev intltool ncurses-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
allow_alt_in_terminal.patch
fix-includes.patch
"
-_builddir="$srcdir/$pkgname-$pkgver"
+builddir="$srcdir/$pkgname-$pkgver"
prepare() {
- cd $_builddir
- update_config_sub || return 1
- for i in $source; do
- case $i in
- *.patch)
- patch -p1 -i "$srcdir"/$i || return 1
- ;;
- esac
- done
+ default_prepare
+ update_config_sub
}
build() {
- cd $_builddir
+ cd $builddir
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -39,16 +32,21 @@ build() {
--libexecdir=/usr/lib/vte \
--localstatedir=/var \
--disable-static \
- || return 1
+ --disable-python
make
}
package() {
- cd $_builddir
- make DESTDIR="$pkgdir" install || return 1
+ cd $builddir
+ make DESTDIR="$pkgdir" install
ln -sf /usr/share/vte/termcap-0.0 "$pkgdir"/usr/share/vte/termcap
}
+check() {
+ cd $builddir
+ make check
+}
+
md5sums="f07a4bf943194f94b7f142db8f7f36dc vte-0.28.2.tar.bz2
6ae30139b7d7ca78b56a3b55426c83f2 allow_alt_in_terminal.patch
4872d596fb461f11e9aa753f5a65dd08 fix-includes.patch"