# Maintainer: Peter Weber # Contributor: Manuel Hüsers # Contributor: Fernando Fernandez # Contributor: Fabian Bornschein # 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.52.0 pkgrel=1 pkgdesc="The GNOME Terminal Emulator with background transparency" url="https://wiki.gnome.org/Apps/Terminal" arch=(x86_64) license=( # Program GPL-3.0-or-later # Documentation CC-BY-SA-3.0 GPL-3.0-only # Appstream-data GFDL-1.3-only ) depends=( dconf glib2 gsettings-desktop-schemas gtk3 hicolor-icon-theme libhandy libx11 pango vte3 ) makedepends=( docbook-xsl gnome-shell libnautilus-extension meson python-packaging yelp-tools ) optdepends=( "libnautilus-extension: Nautilus integration" ) provides=("$_pkgname=$pkgver") conflicts=("$_pkgname") groups=(gnome-extra) changelog=package.changelog source=( https://gitlab.gnome.org/GNOME/$_pkgname/-/archive/$pkgver/$_pkgname-$pkgver.tar.gz transparency.patch ) b2sums=( '46d8544ac788489654af47a201c145164ad788051cbde49dd7300ee981b2008f523a1e6ed21b20e9a871856f42e3b556cd79154ce7a97ade4be5aea270fea310' 'b870f36f7f09fdd50f69cbbbf9060abd0643af23d8e3156c94b53bad3554453e0a41f13ab78754a92beee2d0e093ba58bbe76089af25d54f49f85bf61d387411' ) 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" }