aboutsummaryrefslogtreecommitdiffstats
path: root/main/vte3/APKBUILD
blob: a436e1691767c7bf3404cb2048e8ec05a9e55bda (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vte3
pkgver=0.52.2
pkgrel=0
pkgdesc="Virtual Terminal Emulator library"
url="https://developer.gnome.org/vte/"
arch="all"
license="LGPL-2.0-or-later"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
makedepends="pango-dev gtk+3.0-dev intltool python2-dev
	ncurses-dev gobject-introspection-dev vala gnutls-dev
	linux-headers libxml2-utils pcre2-dev gperf
	autoconf automake libtool"
source="https://download.gnome.org/sources/vte/${pkgver%.*}/vte-$pkgver.tar.xz
	allow_alt_in_terminal.patch
	fix-empty-options-struct.patch
	werror.patch"
builddir="$srcdir/vte-$pkgver"

prepare() {
	cd "$builddir"
	default_prepare
	autoreconf -vif
}

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
	make V=1
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="fc760973efa1eb1f100447cdf0d9b944b74f5ba7e3ae1ae1d0acadaebd540fff19f7edc741685ba944147c151223942a80f8f3dad3602469f1aff5c44f6cc846  vte-0.52.2.tar.xz
a4786a97a5caa42db3b29808c3542777684fcf7d931a116d4e3d847e859a64fb59a2d5b60927dc8e5c2733efc55c29aa4d30aeb02597aff5f034c172cc528833  allow_alt_in_terminal.patch
61dcd0ee6202bba6140cecc191f328f65ccdb3ce396680a276f0a10c68f433eddfd911e390e3d3dd6089e287c4cca873b6690d1dfaab03fb3c78dbf6658e18c3  fix-empty-options-struct.patch
ff199ede8e415d141d897e9c922db84d33c2c28d07958a5ec44b3688809809885f45275cc1aeed56fa2d8de46e9cc2527f5e9682a8ea28af7e39b275340c85c4  werror.patch"