aboutsummaryrefslogtreecommitdiffstats
path: root/community/shotwell/APKBUILD
blob: 4d5c5aa040d154a86e53db4777ee027704a0dd29 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=shotwell
pkgver=0.28.2
pkgrel=0
pkgdesc="A digital photo organizer designed for the GNOME desktop environment"
url="https://wiki.gnome.org/Apps/Shotwell"
arch="all !armhf !aarch64"
license="CC-BY-SA-3.0 LGPL-2.1-or-later"
install="shotwell.post-upgrade shotwell.post-install shotwell.pre-deinstall"
subpackages="$pkgname-lang $pkgname-doc"
makedepends="intltool vala libgee-dev libunique3-dev webkit2gtk-dev libexif-dev
	librsvg-dev sqlite-dev libgudev-dev dbus-glib-dev libgphoto2-dev
	gexiv2-dev libraw-dev librsvg-dev json-glib-dev gnome-doc-utils
	m4 gst-plugins-base-dev bash gtk+3.0-dev rest-dev desktop-file-utils
	gcr-dev itstool libgdata-dev"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-static=no \
		--disable-schemas-compile
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="dc00f45e55eabadaaf825de5a4152d40db2eb652f966b870a08d36006887a18aacf570b05d232a9fc7ef7df097a468a497778022bf7b86ae2143877c02540cc0  shotwell-0.28.2.tar.xz"