aboutsummaryrefslogtreecommitdiffstats
path: root/community/shotwell/APKBUILD
blob: c960b7a88477b7bf78d5257a62192f5e378f3f6c (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=shotwell
pkgver=0.22.0
pkgrel=2
pkgdesc="A digital photo organizer designed for the GNOME desktop environment"
url="http://yorba.org/shotwell/"
arch="all"
license="LGPL2.1"
install="shotwell.post-upgrade shotwell.post-install shotwell.pre-deinstall"
depends=""
subpackages="$pkgname-lang"
makedepends="intltool vala libgee-dev libunique3-dev webkit2gtk-dev libexif-dev
	librsvg-dev sqlite-dev eudev-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"
install=
source="https://download.gnome.org/sources/shotwell/${pkgver%.*}/shotwell-$pkgver.tar.xz
	git.patch
	"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch)
			patch -p1 -i "$srcdir"/$i || return 1
			;;
		esac
	done
}

build () {
	cd $srcdir/$pkgname-$pkgver
	./configure \
		--build=$CBUILD \
		--prefix=/usr \
		--disable-desktop-update \
		--disable-icon-update \
		|| return 1
	make
}

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

md5sums="18421a67a1b859caf8542777a42b9ce3  shotwell-0.22.0.tar.xz
37219db8e9f5cdbe8313ded52531228f  git.patch"
sha256sums="01b192c5c1c188ecd11bfdb6143d8f177f313c7eab7fe320bd20ac3ca352f831  shotwell-0.22.0.tar.xz
7356d294a4befa7e57a4fd5bc6e808343757499abcaf6e29e09b5b2376f027b6  git.patch"
sha512sums="486f27a1fa06512a925ecae60504f3cbc487d44834f635efd0897dd20cb304a731c08133ab4b04b32a754235fc8c63dc9b05787b1a0c72a98c89ca91c64f452c  shotwell-0.22.0.tar.xz
06b323de90391457c46ac8eb27bc650a67127d27d7b4939a4a422527bb334400bf6b87edc0f713239891977d78cc2909175f6a3fbdf4c12f407c24b10a98ee23  git.patch"