aboutsummaryrefslogtreecommitdiff
path: root/multimedia/lightspark/lightspark.SlackBuild
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2020-11-10 08:36:55 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-11-14 17:16:52 +0700
commit0e6e9280daf0c3b3216a4fd2532e6bf5e6ea8413 (patch)
treebe7b121f60eac483d4ae4b6d4fd5c400af7996cf /multimedia/lightspark/lightspark.SlackBuild
parentfaa4bc5bce016d16f09777683c5ca639f4e04aea (diff)
multimedia/lightspark: Updated for version 0.8.3.
Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/lightspark/lightspark.SlackBuild')
-rw-r--r--multimedia/lightspark/lightspark.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/multimedia/lightspark/lightspark.SlackBuild b/multimedia/lightspark/lightspark.SlackBuild
index 1c63d4131029..36bc8ea5a961 100644
--- a/multimedia/lightspark/lightspark.SlackBuild
+++ b/multimedia/lightspark/lightspark.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for lightspark
-# Copyright 2016-2019 Hunter Sezen California, USA
+# Copyright 2016-2020 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=lightspark
-VERSION=${VERSION:-0.8.2}
+VERSION=${VERSION:-0.8.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,6 +69,9 @@ 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 {} \;
+# don't name scripts 'build'
+mv build build.sh
+
mkdir -p build
cd build
cmake \
@@ -78,12 +81,13 @@ cd build
-DMANUAL_DIRECTORY=man \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DGNASH_EXE_PATH=/usr/bin/gtk-gnash \
+ -DCMAKE_SKIP_RPATH=TRUE \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
cd ..
-mv $PKG/etc/xdg/lightspark.conf $PKG/etc/xdg/lightspark.conf.new
+mv -- $PKG/etc/xdg/lightspark.conf $PKG/etc/xdg/lightspark.conf.new
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true