summaryrefslogtreecommitdiff
path: root/community/gnome-screenshot/APKBUILD
blob: 9f0a2d4fe2c1856c467f3f550d9c27732b1a304c (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-screenshot
pkgver=41.0
pkgrel=0
pkgdesc="Screenshot capture utility for GNOME"
url="https://gitlab.gnome.org/GNOME/gnome-screenshot"
arch="all"
license="GPL-2.0-or-later"
depends="desktop-file-utils"
makedepends="
	appstream-glib-dev
	glib-dev
	itstool
	libcanberra-dev
	libhandy1-dev
	meson
	"
subpackages="$pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gnome-screenshot/${pkgver%.*}/gnome-screenshot-$pkgver.tar.xz
	fix-build-with-meson-0.60.0.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="
ab6c7e22cbca2739844707e59329ecd67901e04f968bd0b20a07dffff825e9772697ebf20a1ab2a920fa839ea40d0bd872d17db2b4cb7856a6f8ee4ec1426d19  gnome-screenshot-41.0.tar.xz
314fe977317b143d36796ab722bbd6f55083448b9737bb838ab21916c05db79925e337a7a84761dc270764b742bbef2d74600d349cd4182fcd787982db59ef1b  fix-build-with-meson-0.60.0.patch
"