# Maintainer: Peter Weber # Contributor: Manuel Hüsers # Contributor: Fernando Fernandez # Contributor: Jan de Groot # Contributor: Jan Alexander Steffens (heftig) # upstream patches: # https://src.fedoraproject.org/cgit/rpms/gnome-terminal.git # https://github.com/debarshiray/gnome-terminal pkgname=gnome-terminal-transparency _pkgname=gnome-terminal pkgver=3.46.7 pkgrel=1 pkgdesc="The GNOME Terminal Emulator with background transparency" url="https://wiki.gnome.org/Apps/Terminal" arch=(x86_64) license=(GPL) depends=(vte3 gsettings-desktop-schemas) makedepends=(docbook-xsl libnautilus-extension gnome-shell yelp-tools meson) provides=("$_pkgname=$pkgver") conflicts=("$_pkgname") groups=(gnome-extra) changelog=package.changelog options=(debug) source=(https://gitlab.gnome.org/GNOME/$_pkgname/-/archive/$pkgver/$_pkgname-$pkgver.tar.gz transparency.patch) sha256sums=('e4a57d33ebb179e3535e2255d0e2f6811d437a510a16298c62f8eba1e2293fad' '9d716c7b9a47f4da72a69dff3119793706a3e5e8a51b553fbe6f46fe548c2d88') prepare() { cd $_pkgname-$pkgver patch -Np1 -i ../transparency.patch } build() { local meson_options=( -D b_lto=false ) arch-meson $_pkgname-$pkgver build "${meson_options[@]}" meson compile -C build } check() { meson test -C build --print-errorlogs } package() { meson install -C build --destdir "$pkgdir" }