aports/community/gnome-screenshot/APKBUILD
psykose 68cdd596d2
community/*: use meson test --print-errorlogs instead of -v
this is much less spammy in log output, as only actual errors are
printed instead of everything
2022-09-03 16:24:12 +02:00

41 lines
1.1 KiB
Plaintext

# 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 --print-errorlogs -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
"