summaryrefslogtreecommitdiffstats
path: root/system/spacefm/spacefm.SlackBuild
diff options
context:
space:
mode:
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