aboutsummaryrefslogtreecommitdiffstats
path: root/community/simple-scan/APKBUILD
blob: 7267bfef0afa797f5d963deb244c9ae49ad45c5c (plain) (blame)
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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=simple-scan
pkgver=42.0
pkgrel=0
pkgdesc="Simple Scan allows you to get images from a scanner"
url="https://gitlab.gnome.org/GNOME/simple-scan"
# riscv64 disabled due to missing rust in recursive dependency
arch="all !s390x !riscv64" # polkit
license="GPL-3.0-or-later"
makedepends="sane-dev dconf-dev gtk+3.0-dev colord-dev libgusb-dev vala itstool
	libxml2-utils meson libwebp-dev libhandy1-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/simple-scan/${pkgver%.*}/simple-scan-$pkgver.tar.xz"


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

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

}

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

sha512sums="
0ccbe82a85fa802f53899df6109be93d58adc5028e6d904da7fc91e25cfd225fff757a7b65380abd7d3e7dfd35feab586bcf5b7504cc46d42822d3b2179bdec0  simple-scan-42.0.tar.xz
"