diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2020-12-25 20:32:10 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:25:24 -0500 |
commit | 7ca69c1e6162811130bfc9997c0c28d6c6bdd212 (patch) | |
tree | 40fa322df6a75ebf85d5784bc41403b708dd0a92 /graphics/gmic/gmic.SlackBuild | |
parent | ec7589e0c1f7e22eea94ac1d57c2b2c5074b0835 (diff) |
graphics/gmic: Updated for version 2.9.4.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics/gmic/gmic.SlackBuild')
-rw-r--r-- | graphics/gmic/gmic.SlackBuild | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/graphics/gmic/gmic.SlackBuild b/graphics/gmic/gmic.SlackBuild index 5c54c3b4d7baf..ccc1ca09b880c 100644 --- a/graphics/gmic/gmic.SlackBuild +++ b/graphics/gmic/gmic.SlackBuild @@ -21,8 +21,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gmic -VERSION=${VERSION:-2.7.5} -COMMUNITYVERSION=${COMMUNITYVERSION:-5a9aefc05e9585c1198c1d68f4b47ee32ff68ae2} +VERSION=${VERSION:-2.9.4} +COMMUNITYVERSION=${COMMUNITYVERSION:-6e9a20ef40e1db99c9b761853ad493ee7439e1b7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -46,7 +46,7 @@ elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O0 -march=i686 -mtune=i686 -fno-fast-math" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O3 -fPIC" + SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" else SLKCFLAGS="-O0 -fno-fast-math" @@ -78,16 +78,11 @@ sed -i -e "s|LIB = lib|LIB = lib$LIBDIRSUFFIX|g" \ -e "s|/etc/bash_completion.d|/usr/share/bash-completion/completions|g" \ -e "s|pkg-config opencv|pkg-config opencv4|" \ -e "s|qmake|qmake-qt5|g" \ - src/Makefile + src/Makefile || exit 1 sed -i -e "s|-Ofast|-O2 -fno-fast-math --std=c++11|g" \ - gmic-qt/gmic_qt.pro + gmic-qt/gmic_qt.pro || exit 1 -# fix build with openCV 4.x -cd zart -patch -p1 -i $CWD/zart-opencv4.patch -cd - - -make -C src cli lib libc WGET=/bin/true LIBS=${LDFLAGS} OPT_CFLAGS="$SLKCFLAGS " -j1 +make -C src cli lib libc WGET=/bin/true LIBS=${LDFLAGS} OPT_CFLAGS="$SLKCFLAGS " cd gmic-qt qmake-qt5 GMIC_PATH=../src GMIC_DYNAMIC_LINKING=on HOST=none |