[arch-commits] Commit in darktable/trunk (PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Tue Dec 9 14:10:27 UTC 2014


    Date: Tuesday, December 9, 2014 @ 15:10:27
  Author: spupykin
Revision: 123681

upgpkg: darktable 1.6.0-1

upd

Modified:
  darktable/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-12-09 11:55:19 UTC (rev 123680)
+++ PKGBUILD	2014-12-09 14:10:27 UTC (rev 123681)
@@ -4,24 +4,28 @@
 # Contributor: Johannes Hanika <hanatos at gmail dot com>
 
 pkgname=darktable
-pkgver=1.4.2
-_pkgver=1.4
-pkgrel=3
+pkgver=1.6.0
+pkgrel=1
 pkgdesc="Utility to organize and develop raw images"
 arch=('i686' 'x86_64')
 url=http://darktable.sf.net/
 license=('GPL3')
 depends=('exiv2>=0.18' 'intltool>=0.40' 'lcms2' 'lensfun>=0.2.3' 'libglade' 'dbus-glib'
-	 'curl' 'libgnome-keyring' 'libgphoto2' 'openexr' 'sqlite' 'libxslt'
+	 'curl' 'libsecret' 'libgphoto2' 'openexr' 'sqlite' 'libxslt'
 	 'libsoup' 'gtk-engines' 'json-glib' 'flickcurl')
 makedepends=('intltool>=0.40' 'cmake' 'librsvg')
 optdepends=('librsvg')
 install=darktable.install
-source=(http://downloads.sourceforge.net/project/darktable/darktable/${_pkgver}/darktable-$pkgver.tar.xz)
-md5sums=('f86554329c2c809ffb009244a6f1d643')
+source=(https://github.com/darktable-org/darktable/archive/release-$pkgver.tar.gz)
+md5sums=('8330f3059f6c392a5623dd9d53cc2dfd')
 
+prepare() {
+  cd "$srcdir/$pkgname-release-$pkgver/cmake"
+  mv version.cmake.cmake version.cmake
+}
+
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$srcdir/$pkgname-release-$pkgver"
   mkdir -p build
   cd build
   CXXFLAGS+=" -fpermissive"
@@ -32,12 +36,14 @@
       -DBINARY_PACKAGE_BUILD=1 \
       -DUSE_GCONF_BACKEND=Off \
       -DBUILD_USERMANUAL=False \
+      -DUSE_LIBSECRET=On \
+      -DUSE_GNOME_KEYRING=Off \
       ..
   make
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver/build"
+  cd "$srcdir/$pkgname-release-$pkgver/build"
   make DESTDIR="$pkgdir" install
   mv "${pkgdir}/usr/share/doc/darktable" "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}"
 }



More information about the arch-commits mailing list