summaryrefslogtreecommitdiff
path: root/repo/vte3/vte3.xibuild
blob: 9d490a185e591b77c42760a0b49ce0d4d0deafd2 (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
#!/bin/sh

NAME="vte3"
DESC="Virtual Terminal Emulator library"

MAKEDEPS="bash gnutls gobject-introspection gperf gtk3 gtk2 icu intltool libxml2 linux-headers meson ncurses pango pcre2 vala"

PKG_VER=0.68.0
SOURCE="https://gitlab.gnome.org/GNOME/vte/-/archive/$PKG_VER/vte-$PKG_VER.tar.gz"

ADDITIONAL="
fix-W_EXITCODE.patch
syscall.patch
"

prepare () {
    apply_patches
}

build() {
	meson --prefix=/usr \
		-Ddocs=false \
		-D_systemd=false \
        . output 
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$PKG_DEST" meson install --no-rebuild -C output
}