From 9857d428cc7173b48607835a615f4c475619b3ff Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 22 Dec 2019 22:38:45 +0100 Subject: Deps: updates (lensfun, mlt, sip) and addition (md4c) --- deps/lensfun/.url | 2 +- deps/lensfun/lensfun.SlackBuild | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) (limited to 'deps/lensfun') 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..ba64125 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,7 +25,7 @@ PKGNAM=lensfun -VERSION=${VERSION:-0.3.2} +VERSION=${VERSION:-0.3.95} BUILD=${BUILD:-1} CWD=$(pwd) @@ -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 .. -- cgit v1.2.3