[arch-commits] Commit in darktable/repos (6 files)

Laurent Carlier lcarlier at nymeria.archlinux.org
Fri Jan 24 16:36:22 UTC 2014


    Date: Friday, January 24, 2014 @ 17:36:22
  Author: lcarlier
Revision: 104701

restore and rebuild, accidentaly removed

Added:
  darktable/repos/community-i686/
  darktable/repos/community-i686/PKGBUILD
  darktable/repos/community-i686/darktable.install
  darktable/repos/community-x86_64/
  darktable/repos/community-x86_64/PKGBUILD
  darktable/repos/community-x86_64/darktable.install

------------------------------------+
 community-i686/PKGBUILD            |   50 +++++++++++++++++++++++++++++++++++
 community-i686/darktable.install   |   11 +++++++
 community-x86_64/PKGBUILD          |   50 +++++++++++++++++++++++++++++++++++
 community-x86_64/darktable.install |   11 +++++++
 4 files changed, 122 insertions(+)

Added: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-01-24 16:36:22 UTC (rev 104701)
@@ -0,0 +1,50 @@
+# $Id: PKGBUILD 104671 2014-01-24 14:19:50Z lcarlier $
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer:  Christian Himpel <chressie at gmail dot com>
+# Contributor: Johannes Hanika <hanatos at gmail dot com>
+
+pkgname=darktable
+pkgver=1.4
+_pkgver=1.4
+pkgrel=2.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'
+	 '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
+	https://github.com/darktable-org/darktable/commit/74dbfa3b24bcc216ec91e12551b6b434e4a43a22.diff)
+md5sums=('896416931ded4579f528cd11edad470c'
+         'f959e371f8648eeef8ad6dd6e1403d29')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -p1 <$srcdir/74dbfa3b24bcc216ec91e12551b6b434e4a43a22.diff
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  mkdir -p build
+  cd build
+  CXXFLAGS+=" -fpermissive"
+  cmake \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DCMAKE_BUILD_TYPE=Release \
+      -DDONT_INSTALL_GCONF_SCHEMAS=True \
+      -DBINARY_PACKAGE_BUILD=1 \
+      -DUSE_GCONF_BACKEND=Off \
+      -DBUILD_USERMANUAL=False \
+      ..
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver/build"
+  make DESTDIR="$pkgdir" install
+  mv "${pkgdir}/usr/share/doc/darktable" "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}"
+}

Added: community-i686/darktable.install
===================================================================
--- community-i686/darktable.install	                        (rev 0)
+++ community-i686/darktable.install	2014-01-24 16:36:22 UTC (rev 104701)
@@ -0,0 +1,11 @@
+post_install() {
+  [ -x `which update-desktop-database 2>/dev/null` ] &&  update-desktop-database -q
+}
+
+post_upgrade() {
+  [ -x `which update-desktop-database 2>/dev/null` ] &&  update-desktop-database -q
+}
+
+post_remove() {
+  [ -x `which update-desktop-database 2>/dev/null` ] &&  update-desktop-database -q
+}

Added: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-01-24 16:36:22 UTC (rev 104701)
@@ -0,0 +1,50 @@
+# $Id: PKGBUILD 104671 2014-01-24 14:19:50Z lcarlier $
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer:  Christian Himpel <chressie at gmail dot com>
+# Contributor: Johannes Hanika <hanatos at gmail dot com>
+
+pkgname=darktable
+pkgver=1.4
+_pkgver=1.4
+pkgrel=2.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'
+	 '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
+	https://github.com/darktable-org/darktable/commit/74dbfa3b24bcc216ec91e12551b6b434e4a43a22.diff)
+md5sums=('896416931ded4579f528cd11edad470c'
+         'f959e371f8648eeef8ad6dd6e1403d29')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -p1 <$srcdir/74dbfa3b24bcc216ec91e12551b6b434e4a43a22.diff
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  mkdir -p build
+  cd build
+  CXXFLAGS+=" -fpermissive"
+  cmake \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DCMAKE_BUILD_TYPE=Release \
+      -DDONT_INSTALL_GCONF_SCHEMAS=True \
+      -DBINARY_PACKAGE_BUILD=1 \
+      -DUSE_GCONF_BACKEND=Off \
+      -DBUILD_USERMANUAL=False \
+      ..
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver/build"
+  make DESTDIR="$pkgdir" install
+  mv "${pkgdir}/usr/share/doc/darktable" "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}"
+}

Added: community-x86_64/darktable.install
===================================================================
--- community-x86_64/darktable.install	                        (rev 0)
+++ community-x86_64/darktable.install	2014-01-24 16:36:22 UTC (rev 104701)
@@ -0,0 +1,11 @@
+post_install() {
+  [ -x `which update-desktop-database 2>/dev/null` ] &&  update-desktop-database -q
+}
+
+post_upgrade() {
+  [ -x `which update-desktop-database 2>/dev/null` ] &&  update-desktop-database -q
+}
+
+post_remove() {
+  [ -x `which update-desktop-database 2>/dev/null` ] &&  update-desktop-database -q
+}




More information about the arch-commits mailing list