1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
5 pkgname=(vte-common vte3 vte4 vte-docs)
8 pkgdesc="Virtual Terminal Emulator widget"
9 url="https://wiki.gnome.org/Apps/Terminal/VTE"
27 _commit=e86822b8b7013f96f3b3d2d86839395492cb1470 # tags/0.72.1^0
28 source=("git+https://gitlab.gnome.org/GNOME/vte.git#commit=$_commit")
33 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
47 arch-meson vte build "${meson_options[@]}"
48 meson compile -C build
52 meson test -C build --print-errorlogs
56 local p="$1" f d; shift
58 d="$srcdir/$p/${f#$pkgdir/}"
59 mkdir -p "$(dirname "$d")"
61 rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
65 package_vte-common() {
66 pkgdesc+=" (common files)"
69 meson install -C build --destdir "$pkgdir"
73 _pick gtk3 usr/bin/vte-2.91
74 _pick gtk3 usr/include/vte-2.91
75 _pick gtk3 usr/lib/libvte-2.91.so*
76 _pick gtk3 usr/lib/pkgconfig/vte-2.91.pc
77 _pick gtk3 usr/lib/girepository-1.0/Vte-2.91.typelib
78 _pick gtk3 usr/share/gir-1.0/Vte-2.91.gir
79 _pick gtk3 usr/share/glade
80 _pick gtk3 usr/share/vala/vapi/vte-2.91.{deps,vapi}
82 _pick gtk4 usr/bin/vte-2.91-gtk4
83 _pick gtk4 usr/include/vte-2.91-gtk4
84 _pick gtk4 usr/lib/libvte-2.91-gtk4.so*
85 _pick gtk4 usr/lib/pkgconfig/vte-2.91-gtk4.pc
86 _pick gtk4 usr/lib/girepository-1.0/Vte-3.91.typelib
87 _pick gtk4 usr/share/gir-1.0/Vte-3.91.gir
88 _pick gtk4 usr/share/vala/vapi/vte-2.91-gtk4.{deps,vapi}
90 _pick docs usr/share/doc
104 provides+=(libvte-2.91.so)
119 provides+=(libvte-2.91-gtk4.so)
125 pkgdesc+=" (documentation)"
130 # vim:set sw=2 sts=-1 et: