multimedia/lightspark: Updated for version 2017.01.07_308241eb.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Hunter Sezen 2017-01-15 23:30:31 +07:00 committed by Willy Sudiarto Raharjo
parent 7ecd528c47
commit 8737991d77
3 changed files with 7 additions and 21 deletions

View file

@ -6,15 +6,4 @@ Lightspark supports SWF files written on the newest version of the
ActionScript language, ActionScript 3.0, which was introduced at the
same time as Flash player 9.
Lightspark can be built with either pulseaudio and/or sdl as an audio
backend.
By default both the pulseaudio and sdl backends will be built.
To build with sdl but not pulseaudio:
AUDIO="sdl" ./lightspark.SlackBuild
To build with pulseaudio but not sdl:
AUDIO="pulseaudio" ./lightspark.SlackBuild
Optional dependency: gnash can optionally be used as fallback support.

View file

@ -2,7 +2,7 @@
# Slackware build script for lightspark
# Copyright 2016 Hunter Sezen California, USA
# Copyright 2016-2017 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:-2016.07.10_62dbb13}
VERSION=${VERSION:-2017.01.07_308241eb}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -69,8 +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 {} \;
AUDIO=${AUDIO:-pulseaudio sdl}
mkdir -p build
cd build
cmake \
@ -80,7 +78,6 @@ cd build
-DMANUAL_DIRECTORY=man \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DGNASH_EXE_PATH=/usr/bin/gtk-gnash \
-DAUDIO_BACKEND="$AUDIO" \
-Wno-dev \
-DCMAKE_BUILD_TYPE=Release ..
make
@ -104,4 +101,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,10 +1,10 @@
PRGNAM="lightspark"
VERSION="2016.07.10_62dbb13"
VERSION="2017.01.07_308241eb"
HOMEPAGE="https://lightspark.github.io/"
DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/lightspark-2016.07.10_62dbb13.tar.xz"
MD5SUM="49f665470195102dadeb5aa08d845e45"
DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/lightspark-2017.01.07_308241eb.tar.xz"
MD5SUM="b227bd46f4c05369e0ca15f148b1627b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ffmpeg rtmpdump"
REQUIRES="ffmpeg rtmpdump SDL2_mixer"
MAINTAINER="Hunter Sezen"
EMAIL="ovariegata@yahoo.com"