summaryrefslogtreecommitdiff
path: root/system/spacefm/spacefm.SlackBuild
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2015-11-27 10:39:12 -0800
committerRyan P.C. McQuen <ryan.q@linux.com>2015-11-27 21:14:50 -0800
commit9064296eccd9d2eb50c72578241323b9f5fcd95f (patch)
treeebe3a54910a7bd3e99ec16a1e60092ff837ef059 /system/spacefm/spacefm.SlackBuild
parent7a7e1d1d8f5524380d24875ceb74ada9fe528b61 (diff)
downloadslackbuilds-9064296eccd9d2eb50c72578241323b9f5fcd95f.tar.gz
system/spacefm: Updated for version 1.0.4 + optional gdb support.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'system/spacefm/spacefm.SlackBuild')
-rw-r--r--system/spacefm/spacefm.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/system/spacefm/spacefm.SlackBuild b/system/spacefm/spacefm.SlackBuild
index d5457e9d99..5e9178a8b8 100644
--- a/system/spacefm/spacefm.SlackBuild
+++ b/system/spacefm/spacefm.SlackBuild
@@ -1,5 +1,4 @@
#!/bin/sh
-
# Slackware build script for spacefm
# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com
@@ -25,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=spacefm
-VERSION=${VERSION:-1.0.3}
+VERSION=${VERSION:-1.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,6 +55,13 @@ else
LIBDIRSUFFIX=""
fi
+## thanks to Hunter S for the idea,
+## and ponce for the elegant solution
+DEBUG=${DEBUG:-no}
+if [ "${DEBUG}" = "yes" ]; then
+ SLKCFLAGS=$(echo $SLKCFLAGS | sed "s|-O2|-Og -ggdb3|g")
+fi
+
## detect video thumbnail support, requires ffmpegthumbnailer:
## http://slackbuilds.org/apps/ffmpegthumbnailer/
if pkg-config --exists libffmpegthumbnailer; then VIDEO_THUMBNAIL_FLAG=""; else VIDEO_THUMBNAIL_FLAG="--disable-video-thumbnails"; fi