aboutsummaryrefslogtreecommitdiffstats
path: root/community/shotwell/APKBUILD
blob: 4bcdba4c00e5a281cfbd21c520d2c5eb49697c04 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=shotwell
pkgver=0.23.0
pkgrel=2
pkgdesc="A digital photo organizer designed for the GNOME desktop environment"
url="http://yorba.org/shotwell/"
arch="x86 x86_64"
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 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"
install=
source="https://download.gnome.org/sources/shotwell/${pkgver%.*}/shotwell-$pkgver.tar.xz
	"

_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 \
		--disable-schemas-compile \
		|| return 1
	make
}

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

md5sums="6a50cecaf4f01422982e53e60651a9e5  shotwell-0.23.0.tar.xz"
sha256sums="1d64bf1456d4d955c8db69225a63e1f6b652ab91f3121a022486428799bbf1fd  shotwell-0.23.0.tar.xz"
sha512sums="c158dc2a1728cc6cce7434dd32ef47f9314833dac0dcc30b0ee05a8a1fc5c69548a1959e85683e3562ffcfd1f4147caf6abd9249486014ada66f55b9ffb8454f  shotwell-0.23.0.tar.xz"