aboutsummaryrefslogtreecommitdiffstats
path: root/community/vte3/APKBUILD
blob: bba12168ddba3f01cc2bf5fc6bd9cbca7d0236f9 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=vte3
pkgver=0.60.1
pkgrel=1
pkgdesc="Virtual Terminal Emulator library"
url="https://developer.gnome.org/vte/"
arch="all"
license="LGPL-2.0-or-later"
subpackages="$pkgname-dev $pkgname-lang"
makedepends="pango-dev gtk+3.0-dev intltool
	ncurses-dev gobject-introspection-dev vala gnutls-dev
	linux-headers libxml2-utils pcre2-dev gperf
	meson gtk-doc icu-dev"
source="https://download.gnome.org/sources/vte/${pkgver%.*}/vte-$pkgver.tar.xz
	fix-W_EXITCODE.patch
	vte-ng.patch"
builddir="$srcdir/vte-$pkgver"

build() {
	meson \
		--buildtype=plain \
		-Ddocs=false \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/$pkgname \
		-D_systemd=false \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="123a8fcc14f4dba450411f95f43eb60108fee95c328d0e7331c9366d96ba2caa548dece3e95a8b779dda19d322d6879d02abc6ac68e36450e4e72f17a0963c30  vte-0.60.1.tar.xz
94de7160b71f1c41aa19e8f9dc4538cd493da1a33dda6482c332f8e8932213631ccc2355506a616772dae451d653f035c66c721bd839570d6cb55e4d2b12e8a3  fix-W_EXITCODE.patch
09caf90f7c280e484c40b4205d17b3921848dfb211b15f4126cca980eb7598c498dc0fd81fb38ca30c9f0bdab44fcb532819eab09b54d96badcffbf80695bb9b  vte-ng.patch"