aports/community/vte3/APKBUILD
2025-05-25 18:38:06 +00:00

86 lines
1.6 KiB
Text

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vte3
pkgver=0.80.2
pkgrel=0
pkgdesc="Virtual Terminal Emulator library"
url="https://gitlab.gnome.org/GNOME/vte"
arch="all"
license="LGPL-2.0-or-later"
subpackages="
$pkgname-app
$pkgname-dbg
$pkgname-dev
$pkgname-gtk4
$pkgname-lang
$pkgname-profile::noarch
"
depends="adwaita-fonts $pkgname-profile"
makedepends="
bash
fast_float
gnutls-dev
gobject-introspection-dev
gperf
gtk+3.0-dev
gtk4.0-dev
gtk-doc
icu-dev
libxml2-utils
linux-headers
lz4-dev
meson
ncurses-dev
pango-dev
pcre2-dev
vala
"
source="https://gitlab.gnome.org/GNOME/vte/-/archive/$pkgver/vte-$pkgver.tar.gz
fix-W_EXITCODE.patch
"
builddir="$srcdir/vte-$pkgver"
build() {
abuild-meson \
-Dgtk4=true \
-Ddocs=false \
-D_systemd=false \
. output
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
gtk4() {
pkgdesc="$pkgdesc (gtk4 component)"
depends="adwaita-fonts $pkgname-profile"
amove usr/lib/libvte-*-gtk4.so.*
amove usr/lib/girepository-1.0/Vte-3.*.typelib
}
profile() {
pkgdesc="$pkgdesc (profile files)"
amove etc/profile.d
}
app() {
pkgdesc="$pkgdesc (apps)"
amove usr/bin
amove usr/share/xdg-terminals
amove usr/share/applications
}
sha512sums="
0d092981c36f8fb453bc92696344f7897a7263a9a68411a3a8f28dd4ca2a8069c3ac75647e598a24c5931d1e1eb447f1d193341802c961c3e5937d23998bd805 vte-0.80.2.tar.gz
b6c1856bf075c2e3e91a0d4aff700c59e738bd6abe4122a11d680f104a2dab9d99f7d836a3ef3020b25ceff0a37231a6561eb917f0e4b9f90837eb634d8f7f20 fix-W_EXITCODE.patch
"