aboutsummaryrefslogtreecommitdiffstats
path: root/community/shotwell/APKBUILD
blob: 64812bfe39ec3f137ddbdb8b686694f1d5548ddb (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=shotwell
pkgver=0.25.0
pkgrel=0
pkgdesc="A digital photo organizer designed for the GNOME desktop environment"
url="https://wiki.gnome.org/Apps/Shotwell"
arch="x86 x86_64"
license="LGPL2.1"
install="shotwell.post-upgrade shotwell.post-install shotwell.pre-deinstall"
depends=""
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-base1-dev bash gtk+3.0-dev rest-dev desktop-file-utils
	gcr-dev itstool"
source="https://download.gnome.org/sources/shotwell/${pkgver%.*}/shotwell-$pkgver.tar.xz
	"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--prefix=/usr \
		--disable-desktop-update \
		--disable-icon-update \
		--disable-schemas-compile \
		|| return 1
	make
}

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

md5sums="cfcaa858eb55856d0888d4a9b5a0131e  shotwell-0.25.0.tar.xz"
sha256sums="f094ff8f99cd1e791ab0604c0a69750ba5cffac47a2b40f4e3780edfedf17438  shotwell-0.25.0.tar.xz"
sha512sums="4e04c2538cb82c47464b592990728fcf6a9d77b568ee7d1cd502ee2261d1f0b72f8828c35d3eb66149f226c4ce765156873fb6580f5c96c9a07e718064f8f239  shotwell-0.25.0.tar.xz"