summaryrefslogtreecommitdiff
path: root/community/shotwell/APKBUILD
blob: c12308a3c15243f838df079a91741410209a56a3 (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
48
49
50
51
52
53
54
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=shotwell
pkgver=0.32.1
pkgrel=0
pkgdesc="A digital photo organizer designed for the GNOME desktop environment"
url="https://wiki.gnome.org/Apps/Shotwell"
arch="all"
license="CC-BY-SA-3.0 AND LGPL-2.1-or-later"
subpackages="$pkgname-lang $pkgname-doc"
makedepends="
	dbus-glib-dev
	desktop-file-utils
	gcr-dev
	gexiv2-dev
	gst-plugins-base-dev
	gtk+3.0-dev
	itstool
	json-glib-dev
	libexif-dev
	libgdata-dev
	libgee-dev
	libgphoto2-dev
	libgudev-dev
	libportal-dev
	libraw-dev
	libsecret-dev
	meson
	sqlite-dev
	vala
	webkit2gtk-4.1-dev
	"
checkdepends="appstream-glib"
source="https://download.gnome.org/sources/shotwell/${pkgver%.*}/shotwell-$pkgver.tar.xz"

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

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

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

sha512sums="
1d487a0ea7ef0fb1b26d7c53b50e64b7d899bb9082744620dd421195b3ea90765633aac940695371d82fe5054f979e43cb587e726c4fa90712403ea9f60afcfe  shotwell-0.32.1.tar.xz
"