[arch-commits] Commit in darktable/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Sat Apr 18 12:34:02 UTC 2020
Date: Saturday, April 18, 2020 @ 12:34:01
Author: foxboron
Revision: 616067
archrelease: copy trunk to community-x86_64
Added:
darktable/repos/community-x86_64/PKGBUILD
(from rev 616066, darktable/trunk/PKGBUILD)
Deleted:
darktable/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 116 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 60 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-18 12:33:53 UTC (rev 616066)
+++ PKGBUILD 2020-04-18 12:34:01 UTC (rev 616067)
@@ -1,56 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Christian Himpel <chressie at gmail dot com>
-# Contributor: Johannes Hanika <hanatos at gmail dot com>
-
-pkgname=darktable
-epoch=2
-pkgver=3.0.1
-pkgrel=1
-pkgdesc="Utility to organize and develop raw images"
-arch=(x86_64)
-url="https://darktable.org"
-license=(GPL3)
-depends=(pugixml libjpeg-turbo colord-gtk libgphoto2 openexr lensfun iso-codes zlib
- exiv2 flickcurl openjpeg2 graphicsmagick lua osm-gps-map libsecret openmp)
-optdepends=('dcraw: base curve script'
- 'perl-image-exiftool: base curve script'
- 'imagemagick: base curve and noise profile scripts'
- 'ghostscript: noise profile script'
- 'gnuplot: noise profile script')
-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=('c54b3921da14a97c99ab2f79feca468cf2abca65adf907dba6216e47edab7cb7'
- 'SKIP')
-validpgpkeys=(C4CBC150699956E2A3268EF5BB5CC8295B1779C9 # darktable releases <release at darktable.org>
- F10F9686652B0E949FCD94C318DCA123F949BD3B) # Pascal Obry <pascal at obry.net>
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
- cmake ../${pkgname}-${pkgver/rc/~rc} \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=/usr/lib \
- -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib \
- -DCMAKE_BUILD_TYPE=Release \
- -DBINARY_PACKAGE_BUILD=1 \
- -DBUILD_USERMANUAL=False \
- -DUSE_LIBSECRET=ON \
- -DUSE_LUA=ON \
- -DUSE_COLORD=ON \
- -DBUILD_CURVE_TOOLS=ON \
- -DBUILD_NOISE_TOOLS=ON \
- -DRAWSPEED_ENABLE_LTO=ON \
- -DPROJECT_VERSION=${pkgver}
- make
-}
-
-package() {
- cd build
- make DESTDIR="${pkgdir}" install
- ln -s darktable/libdarktable.so "${pkgdir}"/usr/lib/libdarktable.so
-}
Copied: darktable/repos/community-x86_64/PKGBUILD (from rev 616066, darktable/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-18 12:34:01 UTC (rev 616067)
@@ -0,0 +1,60 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Christian Himpel <chressie at gmail dot com>
+# Contributor: Johannes Hanika <hanatos at gmail dot com>
+
+pkgname=darktable
+epoch=2
+pkgver=3.0.2
+pkgrel=1
+pkgdesc="Utility to organize and develop raw images"
+arch=(x86_64)
+url="https://darktable.org"
+license=(GPL3)
+depends=(pugixml libjpeg-turbo colord-gtk libgphoto2 openexr lensfun iso-codes zlib
+ exiv2 flickcurl openjpeg2 graphicsmagick lua osm-gps-map libsecret openmp)
+optdepends=('dcraw: base curve script'
+ 'perl-image-exiftool: base curve script'
+ 'imagemagick: base curve and noise profile scripts'
+ 'ghostscript: noise profile script'
+ 'gnuplot: noise profile script')
+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}
+ "fix-cmake.patch::https://github.com/darktable-org/darktable/commit/767d48e0f60e7f858e8b31a88dd8cc1258e7ee9e.patch")
+sha256sums=('6abaf661fe9414e92bdb33b58b98ef024ccf6132b7876abaf0751ec2109f36fb'
+ 'SKIP'
+ 'cdcaf17a362c4fc551ede3ebc0933e48e20185a9fad2c18a025f0414c180ef0d')
+validpgpkeys=(C4CBC150699956E2A3268EF5BB5CC8295B1779C9 # darktable releases <release at darktable.org>
+ F10F9686652B0E949FCD94C318DCA123F949BD3B) # Pascal Obry <pascal at obry.net>
+
+prepare() {
+ mkdir -p build
+ cd "${pkgname}-${pkgver}"
+ patch -Np1 < "../fix-cmake.patch"
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBINARY_PACKAGE_BUILD=1 \
+ -DBUILD_USERMANUAL=False \
+ -DUSE_LIBSECRET=ON \
+ -DUSE_LUA=ON \
+ -DUSE_COLORD=ON \
+ -DBUILD_CURVE_TOOLS=ON \
+ -DBUILD_NOISE_TOOLS=ON \
+ -DRAWSPEED_ENABLE_LTO=ON \
+ -DPROJECT_VERSION=${pkgver}
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+ ln -s darktable/libdarktable.so "${pkgdir}"/usr/lib/libdarktable.so
+}
More information about the arch-commits
mailing list