diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 40 |
1 files changed, 23 insertions, 17 deletions
@@ -1,30 +1,35 @@ # Maintainer: Felipe Contreras <felipe.contreras@gmail.com> +# shellcheck disable=SC2034,SC2154,SC2115 + pkgname=vte3-nohang -pkgver=0.64.0 -pkgrel=2 -pkgdesc="Virtual Terminal Emulator widget (plus no-hang patch)" -url="https://wiki.gnome.org/Apps/Terminal/VTE" +pkgver=0.72.2 +pkgrel=1 +pkgdesc='Virtual Terminal Emulator widget (GTK3) (plus no-hang patch)' +url='https://wiki.gnome.org/Apps/Terminal/VTE' arch=(x86_64) license=(LGPL) -depends=(gtk3 pcre2 gnutls fribidi systemd-libs) -makedepends=(gobject-introspection vala git gtk-doc gperf meson) -source=("git+https://gitlab.gnome.org/GNOME/vte.git#tag=$pkgver" - fix-exit-regression.patch) -sha256sums=('SKIP' - '582edbac0c92cb023a4c0a8f70cb74c85606c139ab8c8f83f6093a21e3033a5c') - -depends+=(vte-common) -provides=("vte3=$pkgver" libvte-2.91.so) -conflicts=(vte3) +depends=(fribidi gnutls gtk3 pcre2 systemd-libs vte-common) +makedepends=(gobject-introspection gperf meson vala) +options=('!lto') +source=("https://gitlab.gnome.org/GNOME/vte/-/archive/$pkgver/vte-$pkgver.tar.bz2" + fix-exit-regression.patch + desktop-notification.patch) +sha256sums=('5c8f789aaf76154de9d58205fda3b90790092d93791a5229c8b67c50d3f01068' + 'f43611e7f8ffdc5f1fe52a6e1fe274cc0b2d421d88abb7c2b0d073cfea61f6eb' + '905672bd0e2b5685aeddd035e502a7062c4ada16f8a8eae9813cca1974ea0f77') + +provides=("vte3=$pkgver" "vte3-notification=$pkgver" 'libvte-2.91.so') +conflicts=('vte3') prepare() { - cd vte + cd "vte-$pkgver" || exit 1 patch -p1 -i "$srcdir/fix-exit-regression.patch" + patch -p1 -i "$srcdir/desktop-notification.patch" } build() { - arch-meson vte build -D docs=true -D b_lto=false + arch-meson "vte-$pkgver" build -D docs=false -D b_lto=false -D gtk4=false meson compile -C build } @@ -33,11 +38,12 @@ check() { } package() { - DESTDIR="$pkgdir" meson install -C build + meson install -C build --destdir "$pkgdir" # remove vte-common rm -r "$pkgdir"/etc rm -r "$pkgdir"/usr/lib/{systemd,vte-urlencode-cwd} + rm -r "$pkgdir"/usr/share/locale/ } # vim: ts=2 et |