diff options
Diffstat (limited to 'deps/lensfun')
-rw-r--r-- | deps/lensfun/.url | 2 | ||||
-rwxr-xr-x | deps/lensfun/lensfun.SlackBuild | 17 |
2 files changed, 10 insertions, 9 deletions
diff --git a/deps/lensfun/.url b/deps/lensfun/.url index 3fc2a84..aee7ede 100644 --- a/deps/lensfun/.url +++ b/deps/lensfun/.url @@ -1 +1 @@ -http://sourceforge.net/projects/lensfun/files/0.3.2/lensfun-0.3.2.tar.gz +https://github.com/lensfun/lensfun/archive/v0.3.95.tar.gz diff --git a/deps/lensfun/lensfun.SlackBuild b/deps/lensfun/lensfun.SlackBuild index 14af1b5..093b9a6 100755 --- a/deps/lensfun/lensfun.SlackBuild +++ b/deps/lensfun/lensfun.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh -# Copyright 2009, 2010, 2012, 2017 Eric Hameleers, Eindhoven, NL -# Copyright 2017 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2009, 2010, 2012, 2017, 2019 Eric Hameleers, Eindhoven, NL +# Copyright 2017, 2019 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Permission to use, copy, modify, and distribute this software for @@ -25,8 +25,8 @@ PKGNAM=lensfun -VERSION=${VERSION:-0.3.2} -BUILD=${BUILD:-1} +VERSION=${VERSION:-0.3.95} +BUILD=${BUILD:-2} CWD=$(pwd) TMP=${TMP:-/tmp} @@ -35,7 +35,7 @@ PKG=$TMP/package-$PKGNAM # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$(uname -m)" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;; # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$(uname -m) ;; @@ -43,8 +43,8 @@ if [ -z "$ARCH" ]; then export ARCH fi -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=${ARCH} -mtune=i686" SLKLDFLAGS="" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then @@ -96,8 +96,9 @@ cd build -DBUILD_FOR_SSE=ON \ -DBUILD_FOR_SSE2=ON \ -DBUILD_TESTS=OFF \ + -DINSTALL_HELPER_SCRIPTS=ON \ .. - make + make VERBOSE=1 make install DESTDIR=$PKG cd .. |