aboutsummaryrefslogtreecommitdiff
path: root/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-12-20 14:31:16 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-21 08:19:34 +0700
commitabc7dc5960b0d26932a3aa2f3307af97f00d9299 (patch)
tree0e4a5704e0c720e1ffc471bc28a9158c9e0e321e /graphics/GraphicsMagick/GraphicsMagick.SlackBuild
parentd6c4ed4a51171fac4feb6f6b8d6c939c89be391b (diff)
graphics/GraphicsMagick: Updated for version 1.3.27.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'graphics/GraphicsMagick/GraphicsMagick.SlackBuild')
-rw-r--r--graphics/GraphicsMagick/GraphicsMagick.SlackBuild15
1 files changed, 13 insertions, 2 deletions
diff --git a/graphics/GraphicsMagick/GraphicsMagick.SlackBuild b/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
index 8fabfa69ecc7..feb36b8dfcba 100644
--- a/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
+++ b/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
@@ -2,12 +2,15 @@
# Slackware build script for GraphicsMagick
-# Originally written by Giovanne Castro <giovannefc@terra.com.br>
+# Originally written by Giovanne Castro <email removed>.
# Updated by B. Watson <yalhcru@gmail.com>, as the original author is
# MIA. Original version had no license; I'm licensing the update under the
# terms of the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20171219 bkw:
+# - updated for v1.3.27, added last few missing delegates
+
# 20170708 bkw:
# - updated for v1.3.26
@@ -25,7 +28,7 @@
# - document optional deps in README
PRGNAM=GraphicsMagick
-VERSION=${VERSION:-1.3.26}
+VERSION=${VERSION:-1.3.27}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,6 +74,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# libfpx isn't autodetected, so let's help it a bit:
+if [ -e /usr/include/fpxlib.h ]; then
+ FPXOPT=yes
+else
+ FPXOPT=no
+fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -87,6 +97,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-shared \
--with-perl \
--with-quantum-depth=16 \
+ --with-fpx=$FPXOPT \
--build=$ARCH-slackware-linux
make INSTALLDIRS=vendor