blob: 2e53b34c1eae756692aede60689e0b195833cfd7 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=shotwell
pkgver=0.11.6
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 libunique-dev webkit-dev libexif-dev
librsvg-dev sqlite-dev udev-dev dbus-glib-dev libgphoto2-dev
libgexiv2-dev libraw-dev librsvg-dev gconf-dev json-glib-dev
gnome-vfs-dev m4 gst-plugins-base-dev bash"
install=
source="http://yorba.org/download/shotwell/${pkgver%.*}/shotwell-$pkgver.tar.bz2
shotwell-libraw.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 --prefix=/usr \
--disable-schemas-install \
--disable-desktop-update \
--disable-icon-update
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="bbbf2843eb98b6f0ef1dfcfb934e15cf shotwell-0.11.6.tar.bz2
0dc92b9a74e6515c14ae35434ee3c568 shotwell-libraw.patch"
|