# Contributor: Natanael Copa # Maintainer: Rasmus Thomsen pkgname=shotwell pkgver=0.30.9 pkgrel=0 pkgdesc="A digital photo organizer designed for the GNOME desktop environment" url="https://wiki.gnome.org/Apps/Shotwell" arch="all !s390x !mips !mips64" # librsvg license="CC-BY-SA-3.0 AND LGPL-2.1-or-later" subpackages="$pkgname-lang $pkgname-doc" makedepends="vala libgee-dev libunique3-dev webkit2gtk-dev libexif-dev sqlite-dev libgudev-dev dbus-glib-dev libgphoto2-dev gexiv2-dev libraw-dev librsvg-dev json-glib-dev gst-plugins-base-dev gtk+3.0-dev rest-dev gcr-dev itstool libgdata-dev meson" checkdepends="desktop-file-utils appstream-glib" source="https://download.gnome.org/sources/shotwell/${pkgver%.*}/shotwell-$pkgver.tar.xz" build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=plain \ -Dinstall-apport-hook=false \ . output ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="a232d717356d7e9f0a6b1ad825f4182dd9f6ee4cca9745717e3bd18ded03cdaba94c32256d055389ce2b0cda0c5828b25d1448c10598a474dc3ea0817fc303ee shotwell-0.30.9.tar.xz"