summaryrefslogtreecommitdiff
path: root/community/gnome-terminal/APKBUILD
blob: 8e8def3c4201ecd03ffd00cf2a7212fab705404e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-terminal
pkgver=3.44.1
pkgrel=0
pkgdesc="GNOME terminal emulator application"
url="https://wiki.gnome.org/Apps/Terminal"
# s390x blocked by mozjs91 -> nautilus-dev
# riscv64: gnomeshell
arch="all !s390x !riscv64"
license="GPL-2.0-or-later AND GFDL-1.3-only"
depends="
	dbus
	desktop-file-utils
	gnome-shell-schemas
	gsettings-desktop-schemas
	ncurses-terminfo-base
	"
makedepends="
	dconf-dev
	glib-dev
	gnome-shell
	gsettings-desktop-schemas-dev
	intltool
	itstool
	meson
	nautilus-dev
	pcre2-dev
	vte3-dev
	"
subpackages="$pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gnome-terminal/${pkgver%.*}/gnome-terminal-$pkgver.tar.xz
	fix-W_EXITCODE.patch
	"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output

	rm -rf "$pkgdir"/usr/lib/systemd
}

sha512sums="
afaa9a1b4fa86fea853a242f167d1ba3438efe4e049336bae138cb800d43c3325f624849463f16c9d4e34360916377c4edbfd2f3977212b51e35a41cca88b283  gnome-terminal-3.44.1.tar.xz
3bbc0e9dbbbfd4a3263b5d195a78df9cc70d13ae02d3a2981886001e79d92c2bfe4962954efba8fbab69f23e1778d5fbe3436f494b70e196ecedb02bf9d95400  fix-W_EXITCODE.patch
"