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

Sergej Pupykin spupykin at archlinux.org
Fri Jul 3 15:35:28 UTC 2015


    Date: Friday, July 3, 2015 @ 17:35:28
  Author: spupykin
Revision: 136331

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  darktable/repos/community-staging-i686/
  darktable/repos/community-staging-i686/PKGBUILD
    (from rev 136330, darktable/trunk/PKGBUILD)
  darktable/repos/community-staging-i686/darktable.install
    (from rev 136330, darktable/trunk/darktable.install)
  darktable/repos/community-staging-x86_64/
  darktable/repos/community-staging-x86_64/PKGBUILD
    (from rev 136330, darktable/trunk/PKGBUILD)
  darktable/repos/community-staging-x86_64/darktable.install
    (from rev 136330, darktable/trunk/darktable.install)

--------------------------------------------+
 community-staging-i686/PKGBUILD            |   53 +++++++++++++++++++++++++++
 community-staging-i686/darktable.install   |   11 +++++
 community-staging-x86_64/PKGBUILD          |   53 +++++++++++++++++++++++++++
 community-staging-x86_64/darktable.install |   11 +++++
 4 files changed, 128 insertions(+)

Copied: darktable/repos/community-staging-i686/PKGBUILD (from rev 136330, darktable/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-07-03 15:35:28 UTC (rev 136331)
@@ -0,0 +1,53 @@
+# $Id$
+# 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.6.7
+pkgrel=3
+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' 'libsecret' 'libgphoto2' 'openexr' 'sqlite' 'libxslt'
+	 'libsoup' 'gtk-engines' 'json-glib' 'flickcurl' 'lua52' 'colord')
+makedepends=('intltool>=0.40' 'cmake' 'librsvg')
+optdepends=('librsvg')
+install=darktable.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/darktable-org/darktable/archive/release-$pkgver.tar.gz")
+md5sums=('813f3d4a28e5025a90a7cc135cfa9c4d')
+
+prepare() {
+  cd "$srcdir/$pkgname-release-$pkgver/cmake"
+  sed "s|@PROJECT_VERSION@|$pkgver|" version.cmake.cmake >version.cmake
+#  sed -i 's|lua5.2|lua52|g' modules/FindLua52.cmake
+}
+
+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 \
+      ..
+  make
+  make -C ../tools/basecurve
+}
+
+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
+  mv "${pkgdir}/usr/share/doc/darktable" "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}"
+}

Copied: darktable/repos/community-staging-i686/darktable.install (from rev 136330, darktable/trunk/darktable.install)
===================================================================
--- community-staging-i686/darktable.install	                        (rev 0)
+++ community-staging-i686/darktable.install	2015-07-03 15:35:28 UTC (rev 136331)
@@ -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
+}

Copied: darktable/repos/community-staging-x86_64/PKGBUILD (from rev 136330, darktable/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-07-03 15:35:28 UTC (rev 136331)
@@ -0,0 +1,53 @@
+# $Id$
+# 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.6.7
+pkgrel=3
+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' 'libsecret' 'libgphoto2' 'openexr' 'sqlite' 'libxslt'
+	 'libsoup' 'gtk-engines' 'json-glib' 'flickcurl' 'lua52' 'colord')
+makedepends=('intltool>=0.40' 'cmake' 'librsvg')
+optdepends=('librsvg')
+install=darktable.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/darktable-org/darktable/archive/release-$pkgver.tar.gz")
+md5sums=('813f3d4a28e5025a90a7cc135cfa9c4d')
+
+prepare() {
+  cd "$srcdir/$pkgname-release-$pkgver/cmake"
+  sed "s|@PROJECT_VERSION@|$pkgver|" version.cmake.cmake >version.cmake
+#  sed -i 's|lua5.2|lua52|g' modules/FindLua52.cmake
+}
+
+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 \
+      ..
+  make
+  make -C ../tools/basecurve
+}
+
+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
+  mv "${pkgdir}/usr/share/doc/darktable" "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}"
+}

Copied: darktable/repos/community-staging-x86_64/darktable.install (from rev 136330, darktable/trunk/darktable.install)
===================================================================
--- community-staging-x86_64/darktable.install	                        (rev 0)
+++ community-staging-x86_64/darktable.install	2015-07-03 15:35:28 UTC (rev 136331)
@@ -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