summaryrefslogtreecommitdiff
path: root/community/gnome-font-viewer/APKBUILD
blob: 78e8271b1d5913ce1fe9ac544b8dc16dd17cadaf (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: team/gnome <ablocorrea@hotmail.com>
pkgname=gnome-font-viewer
pkgver=44.0
pkgrel=1
pkgdesc="View fonts on your system"
url="https://gitlab.gnome.org/GNOME/gnome-font-viewer"
arch="all"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
makedepends="
	fontconfig-dev
	freetype-dev
	glib-dev
	gnome-desktop-dev
	gtk4.0-dev
	harfbuzz-dev
	libadwaita-dev
	meson
	"
options="!check" # no tests
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/gnome-font-viewer/${pkgver%.*}/gnome-font-viewer-$pkgver.tar.xz"

build() {
	abuild-meson -Db_lto=true . output
	meson compile -C output
}

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

sha512sums="
f2da77fadbd76eaaf661cb518043ebad6f964a90f1cede5b58160a3aa08a0fe42a9972bc4871725dc7ae16eb4199329ef2ea08734b8017306e61341e51c37bea  gnome-font-viewer-44.0.tar.xz
"