diff options
author | bedlam <dave@slackbuilds.org> | 2023-05-04 22:52:57 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-05-06 08:28:24 +0700 |
commit | f69f1124aa2468ad0a853ff0063243cb45cbff25 (patch) | |
tree | d8974f2d650569043cca2b1894f3b921dd2ec29a /graphics/darktable | |
parent | 293d8b125b2550f3a1e9c50f4e669922e420f1b8 (diff) |
graphics/darktable: Updated for version 4.2.1.
Signed-off-by: bedlam <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/darktable')
-rw-r--r-- | graphics/darktable/darktable.SlackBuild | 14 | ||||
-rw-r--r-- | graphics/darktable/darktable.info | 8 |
2 files changed, 15 insertions, 7 deletions
diff --git a/graphics/darktable/darktable.SlackBuild b/graphics/darktable/darktable.SlackBuild index c7f36760182c8..925a30cf83d11 100644 --- a/graphics/darktable/darktable.SlackBuild +++ b/graphics/darktable/darktable.SlackBuild @@ -25,15 +25,17 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=darktable -VERSION=${VERSION:-3.4.0} +VERSION=${VERSION:-4.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +# Slackware's lensfun isn't compatible +LENSFUN=${LENSFUN:-lensfun03} if [ -z "$ARCH" ]; then - case "$( uname -m )" in # SSE2 instructions are *required* at runtime. That's a proper subset of i686, # but hopefully forcing i686 in the package name will alert users of older cpus. + case "$( uname -m )" in i?86) ARCH=i686 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; @@ -93,6 +95,9 @@ cd build -DUSE_LIBSECRET=On \ -DBINARY_PACKAGE_BUILD=1 \ -DDONT_USE_INTERNAL_LUA=0 \ + -DLensFun_INCLUDE_DIR="/opt/$LENSFUN/include/lensfun" \ + -DLensFun_LIBRARIES="/opt/$LENSFUN/lib$LIBDIRSUFFIX" \ + -DLensFun_LIBRARY="/opt/$LENSFUN/lib$LIBDIRSUFFIX/liblensfun.so" \ -DCMAKE_BUILD_TYPE=Release .. VERBOSE=1 make make install DESTDIR=$PKG @@ -108,7 +113,10 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r mv $PKG/usr/share/doc $PKG/usr mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION # Add a few missed docs -cp -a doc/ChangeLog doc/NEWS doc/TODO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CONTRIBUTING.md LICENSE RELEASE_NOTES.md LICENSE AUTHORS \ + doc/thumbnail*.txt doc/grouping.txt doc/*.md doc/NEWS \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild ( cd $PKG/usr/doc ; ln -s $PRGNAM-$VERSION $PRGNAM ) diff --git a/graphics/darktable/darktable.info b/graphics/darktable/darktable.info index 8825b51e242d6..38835785d1b56 100644 --- a/graphics/darktable/darktable.info +++ b/graphics/darktable/darktable.info @@ -1,10 +1,10 @@ PRGNAM="darktable" -VERSION="3.4.0" +VERSION="4.2.1" HOMEPAGE="https://www.darktable.org/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://github.com/darktable-org/darktable/releases/download/release-3.4.0/darktable-3.4.0.tar.xz" -MD5SUM_x86_64="e360fbf37eb256ce8c31c2181e5197c2" -REQUIRES="gmic pugixml" +DOWNLOAD_x86_64="https://github.com/darktable-org/darktable/releases/download/release-4.2.1/darktable-4.2.1.tar.xz" +MD5SUM_x86_64="ac7b028c0768f19ce9cb604beaac3d86" +REQUIRES="gmic pugixml lensfun03" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" |