summaryrefslogtreecommitdiff
path: root/multimedia/lightspark/lightspark.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/lightspark/lightspark.SlackBuild')
-rw-r--r--multimedia/lightspark/lightspark.SlackBuild16
1 files changed, 5 insertions, 11 deletions
diff --git a/multimedia/lightspark/lightspark.SlackBuild b/multimedia/lightspark/lightspark.SlackBuild
index 209f60e0d2..1c63d41310 100644
--- a/multimedia/lightspark/lightspark.SlackBuild
+++ b/multimedia/lightspark/lightspark.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for lightspark
-# Copyright 2016-2018 Hunter Sezen California, USA
+# Copyright 2016-2019 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=lightspark
-VERSION=${VERSION:-0.8.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.8.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,11 +69,6 @@ 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 {} \;
-# make llvm dependency optional (disabled by default)
-# https://github.com/lightspark/lightspark/issues/336
-# https://github.com/lightspark/lightspark/commit/aa970bcfa33cf9e88647e8268c4a18f7670c8d75
-patch -p1 < $CWD/llvm.patch
-
mkdir -p build
cd build
cmake \
@@ -83,7 +78,6 @@ cd build
-DMANUAL_DIRECTORY=man \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DGNASH_EXE_PATH=/usr/bin/gtk-gnash \
- -Wno-dev \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -91,8 +85,8 @@ cd ..
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
+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
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done