# $Id: PKGBUILD 191908 2016-10-11 09:32:33Z spupykin $ # Maintainer (Arch): Sergej Pupykin # Contributor (Arch): Christian Himpel # Contributor (Arch): Johannes Hanika # Maintainer: Márcio Silva # Don't bump to 2.1 plz, it's a development branch. (- bpiotrowski) pkgname=darktable pkgver=2.0.6 pkgrel=2.nonprism1 pkgdesc="Utility to organize and develop raw images, without flickcurl support" epoch=1 arch=('i686' 'x86_64' 'armv7h') url=http://darktable.sf.net/ license=('GPL3') replaces=(${pkgname}-nonprism) conflicts=(${pkgname}-nonprism) depends=('exiv2>=0.18' 'lcms2' 'lensfun>=0.2.3' 'desktop-file-utils' 'curl' 'libsecret' 'libgphoto2' 'openexr' 'sqlite' 'libxslt' 'libsoup' 'gtk3' 'pugixml' 'json-glib' 'lua52' 'colord' 'colord-gtk' 'graphicsmagick') makedepends=('intltool>=0.40' 'cmake' 'librsvg' 'osm-gps-map') optdepends=('librsvg' 'osm-gps-map') source=("$pkgname-$pkgver.tar.gz::https://github.com/darktable-org/darktable/archive/release-$pkgver.tar.gz") md5sums=('38f4431065db699344bee9b1952e816b') build() { cd "$srcdir/$pkgname-release-$pkgver" mkdir -p build cd build CXXFLAGS+=" -fpermissive" cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DBINARY_PACKAGE_BUILD=1 \ -DBUILD_USERMANUAL=False \ -DUSE_LIBSECRET=On \ -DUSE_LUA=On \ -DUSE_GNOME_KEYRING=Off \ -DUSE_COLORD=On \ -DPROJECT_VERSION=$pkgver \ -DUSE_USE_FLICKR=Off \ .. make cd ../tools/basecurve cmake . make } package() { cd "$srcdir/$pkgname-release-$pkgver/build" make DESTDIR="$pkgdir" install install -Dm0755 ../tools/basecurve/dt-curve-tool $pkgdir/usr/bin/dt-curve-tool install -Dm0755 ../tools/basecurve/dt-curve-tool-helper $pkgdir/usr/bin/dt-curve-tool-helper }