summaryrefslogtreecommitdiff
path: root/nonprism/darktable-nonprism/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-30 23:57:15 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-30 23:57:15 -0200
commitbb2987ea6438e7185d19e8bcf0e26e7834fa4b76 (patch)
tree9c933ddb76c5146bca3a197c25114808a886d004 /nonprism/darktable-nonprism/PKGBUILD
parent6d29b472048fc40787e34579694ddfeb363719c6 (diff)
downloadabslibre-bb2987ea6438e7185d19e8bcf0e26e7834fa4b76.tar.gz
abslibre-bb2987ea6438e7185d19e8bcf0e26e7834fa4b76.tar.bz2
abslibre-bb2987ea6438e7185d19e8bcf0e26e7834fa4b76.zip
darktable-nonprism: add new package on [nonprism]
Diffstat (limited to 'nonprism/darktable-nonprism/PKGBUILD')
-rw-r--r--nonprism/darktable-nonprism/PKGBUILD54
1 files changed, 54 insertions, 0 deletions
diff --git a/nonprism/darktable-nonprism/PKGBUILD b/nonprism/darktable-nonprism/PKGBUILD
new file mode 100644
index 000000000..767694185
--- /dev/null
+++ b/nonprism/darktable-nonprism/PKGBUILD
@@ -0,0 +1,54 @@
+# $Id: PKGBUILD 104671 2014-01-24 14:19:50Z lcarlier $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Christian Himpel <chressie at gmail dot com>
+# Contributor: Johannes Hanika <hanatos at gmail dot com>
+
+_pkgname=darktable
+pkgname=darktable-nonprism
+pkgver=1.4
+_pkgver=1.4
+pkgrel=3
+pkgdesc="Utility to organize and develop raw images, without flickcurl support"
+arch=('i686' 'x86_64' 'mips64el')
+url=http://darktable.sf.net/
+license=('GPL3')
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
+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')
+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}"
+}