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

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=debugoptimized \
		-Dinstall-apport-hook=false \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="dccd496a083145283c79250329f88fdfe526a98ce84b6d1c52a9c48c9e52a4749bdf2449f3102474c994ef1e687e06767b9bcda03ea97d1168d3417743a6e866  shotwell-0.30.8.tar.xz"