blob: c32e8d241f6b8f7970e92b61c029c2648907a888 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=shotwell
pkgver=0.15.1
pkgrel=1
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 webkitgtk-dev libexif-dev
librsvg-dev sqlite-dev udev-dev dbus-glib-dev libgphoto2-dev
gexiv2-dev libraw-dev librsvg-dev json-glib-dev
m4 gst-plugins-base1-dev bash gtk+3.0-dev rest-dev desktop-file-utils"
install=
source="http://yorba.org/download/shotwell/${pkgver%.*}/shotwell-$pkgver.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch)
patch -Np0 -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="5af4cfb819249a879a4649a9c7d089e5 shotwell-0.15.1.tar.xz"
sha256sums="eb48a0398774f172feaa4461146cc81a99540147bd8751c1e2091b21d4c20b8b shotwell-0.15.1.tar.xz"
sha512sums="e660e6afe49e8fe51e4021899b8a56bc81a2e606769f4a7720146220cea1007960574dd6f1890d0decb9da79ed4d9b29b6f70ad7b2be0169d44689324fcc647a shotwell-0.15.1.tar.xz"
|