From 1684e96ee45e0e2d0e4a84873c76c42db6fd3919 Mon Sep 17 00:00:00 2001 From: Freemor Date: Sun, 1 Dec 2019 17:49:11 -0400 Subject: Initial work on updateing/rebuilding [nonprism/darktable] --- nonprism/darktable/PKGBUILD | 78 ++++++++++++++++++--------------------------- 1 file changed, 31 insertions(+), 47 deletions(-) (limited to 'nonprism') diff --git a/nonprism/darktable/PKGBUILD b/nonprism/darktable/PKGBUILD index 8b334d121..6dc4ab313 100644 --- a/nonprism/darktable/PKGBUILD +++ b/nonprism/darktable/PKGBUILD @@ -5,60 +5,44 @@ # Contributor (Arch): Johannes Hanika pkgname=darktable - epoch=2 -pkgver=2.2.5 -pkgrel=2.nonprism1 -arch=(i686 x86_64) - +pkgver=2.6.3 +pkgrel=1.nonprism1 pkgdesc="Utility to organize and develop raw images, without flickcurl support" -url="http://darktable.sf.net/" +arch=(i686 x86_64) +url="https://darktable.org" license=(GPL3) - -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 osm-gps-map) -makedepends=("intltool>=0.40" cmake librsvg osm-gps-map libcups) -optdepends=(librsvg libcups) -replaces=(${pkgname}-nonprism) -conflicts=(${pkgname}-nonprism) - -# even releases are stable, do not change source url! +depends=(pugixml libjpeg-turbo colord-gtk libgphoto2 openexr lensfun iso-codes + exiv2 openjpeg2 graphicsmagick lua osm-gps-map libsecret) +makedepends=(cmake intltool desktop-file-utils llvm clang python-jsonschema libwebp) source=("https://github.com/darktable-org/darktable/releases/download/release-${pkgver}/darktable-${pkgver/rc/.rc}.tar.xz"{,.asc}) -sha256sums=('e303a42b33f78eb1f48d3b36d1df46f30873df4c5a7b49605314f61c49fbf281' - 'SKIP') -validpgpkeys=(C4CBC150699956E2A3268EF5BB5CC8295B1779C9) +sha256sums=('a518999c8458472edfc04577026ce5047d74553052af0f52d10ba8ce601b78f0' 'SKIP') +validpgpkeys=(C4CBC150699956E2A3268EF5BB5CC8295B1779C9 # darktable releases + F10F9686652B0E949FCD94C318DCA123F949BD3B) # Pascal Obry -build() { - cd "$srcdir/$pkgname-${pkgver/rc/~rc}" - mkdir -p build - cd build - CXXFLAGS+=" -fpermissive" - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=/usr/lib \ - -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 +prepare() { + mkdir -p build +} - cd ../tools/basecurve - cmake . - make +build() { + cd build + cmake ../${pkgname}-${pkgver/rc/~rc} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DCMAKE_BUILD_TYPE=Release \ + -DBINARY_PACKAGE_BUILD=1 \ + -DBUILD_USERMANUAL=False \ + -DUSE_LIBSECRET=ON \ + -DUSE_LUA=ON \ + -DUSE_COLORD=ON \ + -DRAWSPEED_ENABLE_LTO=ON \ + -DUSE_USE_FLICKR=Off \ + -DPROJECT_VERSION=${pkgver} + make } package() { - cd "$srcdir/$pkgname-${pkgver/rc/~rc}/build" - make DESTDIR="$pkgdir" install - ln -s darktable/libdarktable.so "$pkgdir/usr/lib/libdarktable.so" - 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 + cd build + make DESTDIR="${pkgdir}" install + ln -s darktable/libdarktable.so "${pkgdir}"/usr/lib/libdarktable.so } -- cgit v1.2.3