blob: d2d96ab04db6fd6c4efed7c9cefea792aba17da0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vte3
pkgver=0.48.2
pkgrel=0
pkgdesc="Virtual Terminal Emulator library"
url="https://developer.gnome.org/vte/"
arch="all"
license="LGPL2+"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=
depends_dev="pango-dev gtk+3.0-dev"
makedepends="$depends_dev intltool python2 ncurses-dev gobject-introspection-dev
vala gnutls-dev linux-headers libxml2-utils pcre2-dev gperf
autoconf automake libtool"
source="http://ftp.gnome.org/pub/GNOME/sources/vte/${pkgver%.*}/vte-$pkgver.tar.xz
allow_alt_in_terminal.patch
werror.patch
"
_builddir="$srcdir"/vte-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch)
patch -p1 -i "$srcdir"/$i || return 1
;;
esac
done
autoreconf -vif || return 1
}
build() {
cd "$_builddir"
export CFLAGS="$CFLAGS -D_GNU_SOURCE"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/$pkgname \
--localstatedir=/var \
--disable-static \
--enable-introspection \
|| return 1
make V=1 || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
sha512sums="cbb2835618c554d72a790e16f1ac5b3c06a8a810d8d517c475ed7ca46eeb56d7c9f9226918e13c5c84c04ce1ccb5467e62af7c4453f317a0aad197a4c179d76a vte-0.48.2.tar.xz
a4786a97a5caa42db3b29808c3542777684fcf7d931a116d4e3d847e859a64fb59a2d5b60927dc8e5c2733efc55c29aa4d30aeb02597aff5f034c172cc528833 allow_alt_in_terminal.patch
ff199ede8e415d141d897e9c922db84d33c2c28d07958a5ec44b3688809809885f45275cc1aeed56fa2d8de46e9cc2527f5e9682a8ea28af7e39b275340c85c4 werror.patch"
|