diff options
Diffstat (limited to 'multimedia/lightspark/lightspark.SlackBuild')
-rw-r--r-- | multimedia/lightspark/lightspark.SlackBuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/multimedia/lightspark/lightspark.SlackBuild b/multimedia/lightspark/lightspark.SlackBuild index 1c63d41310297..36bc8ea5a961f 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 |