summaryrefslogtreecommitdiff
path: root/community/gnome-tweaks/APKBUILD
blob: 1bbfd27cebb13d594a2a02757cb4ff93f174551a (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-tweaks
pkgver=40.0
pkgrel=4
pkgdesc="GNOME3 tool to customize advanced options"
url="https://wiki.gnome.org/Apps/Tweaks"
# s390x blocked by mozjs91 -> gnome-shell-schemas
# riscv64 blocked by mozjs91 -> gnome-shell-schemas
arch="noarch !s390x !riscv64"
license="GPL-3.0-or-later AND CC0-1.0"
depends="
	dconf
	gnome-settings-daemon
	gnome-shell-schemas
	gtk+3.0
	libhandy1
	libnotify
	mutter-schemas
	py3-gobject3
	"
makedepends="
	gettext-dev
	meson
	"
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/gnome-tweaks/${pkgver%.*}/gnome-tweaks-$pkgver.tar.xz
	meson-fix-invalid-argument.patch
	"

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

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

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

sha512sums="
c3467f40af6bb79c2b10cb429e93aa29261066c2a5fd744bf2801c4e596cc270d45302ebfa942ee0c40067849c12e1ccd404c40e7f594bcff4c44cfe3f90bb97  gnome-tweaks-40.0.tar.xz
9c263fa21a900103b3ef1b8e6fa2108c0a004101c864eab4a0349e43fdc9127a35de1997a83746ea47f5ece223dda53c6a3032c9a50d0a739bddd6a622a6281a  meson-fix-invalid-argument.patch
"