Skip to content

Instantly share code, notes, and snippets.

@felipec
Created February 25, 2023 00:13
Show Gist options
  • Save felipec/4adfb9f12d07e0b0be5832ceb637f76a to your computer and use it in GitHub Desktop.
Save felipec/4adfb9f12d07e0b0be5832ceb637f76a to your computer and use it in GitHub Desktop.
vte3-notification
# Maintainer: Jason Edson <jaysonedson _AT_ gmail.com>
# Contributor: Davi da Silva Böger <dsboger _AT_ gmail.com>
# Contributor: Manuel Hüsers <manuel.huesers _AT_ uni-ol.de>
# Contributor: Fernando Fernandez <fernando _AT_ softwareperonista.com.ar>
# Contributor: Jan de Groot <jgc _AT_ archlinux.org>
pkgname=vte3-notification
pkgver=0.70.3
pkgrel=1
pkgdesc='Virtual Terminal Emulator widget (GTK3) (plus Fedora patches)'
url='https://wiki.gnome.org/Apps/Terminal/VTE'
arch=(x86_64)
license=(LGPL)
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"
'https://src.fedoraproject.org/rpms/vte291/raw/4647c6feb3bee06e80f842b7b4a90de2eff87805/f/vte291-cntnr-precmd-preexec-scroll.patch')
sha256sums=('94d0b6776d55252bc1f15995c1ade7eb44b4a2c99531487eba9b8bded1a0fe2f'
'e5672a857c51a620ca5448da29e4ea5b0e319c2a54416a4ca615b0e0392e00a9'
)
provides=("vte3=$pkgver" libvte-2.91.so)
conflicts=(vte3)
prepare() {
cd "vte-$pkgver" || exit 1
patch -p1 -i "$srcdir/vte291-cntnr-precmd-preexec-scroll.patch"
}
build() {
arch-meson "vte-$pkgver" build -D docs=false -D b_lto=false
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
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/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment