From 9064296eccd9d2eb50c72578241323b9f5fcd95f Mon Sep 17 00:00:00 2001 From: "Ryan P.C. McQuen" Date: Fri, 27 Nov 2015 10:39:12 -0800 Subject: system/spacefm: Updated for version 1.0.4 + optional gdb support. Signed-off-by: Ryan P.C. McQuen --- system/spacefm/spacefm.SlackBuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'system/spacefm/spacefm.SlackBuild') 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 -- cgit v1.2.3