From: fsLeg Date: Sun, 9 Jun 2019 16:18:00 +0000 (+0300) Subject: saflashplayer: updated to 32.0.0.192 X-Git-Url: https://git.t-rg.ws/?a=commitdiff_plain;h=872275a99c7a46c6670de03c5dff74c3b5ed2198;p=slackbuilds.git saflashplayer: updated to 32.0.0.192 --- diff --git a/saflashplayer/README b/saflashplayer/README index 7949476..4a20971 100644 --- a/saflashplayer/README +++ b/saflashplayer/README @@ -1,8 +1,7 @@ Also known as Flash Player projector, SAFlashPlayer can play local SWF files without using web browser with Adobe plugin. -Since binary is 32bit only, 64bit users must have multilib environment in -order to use this program. +Only 64bit binary is provided by Adobe. Checksum in .info file is unreliable, because Adobe updates the tarball without changing the link. This is also true for the program version. diff --git a/saflashplayer/saflashplayer.SlackBuild b/saflashplayer/saflashplayer.SlackBuild index cfae1d9..fdcc351 100755 --- a/saflashplayer/saflashplayer.SlackBuild +++ b/saflashplayer/saflashplayer.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=saflashplayer -VERSION=${VERSION:-11.2.202.491} +VERSION=${VERSION:-32.0.0.192} BUILD=${BUILD:-1} TAG=${TAG:-fsleg} @@ -37,13 +37,14 @@ if [ -z "$ARCH" ]; then esac fi -if [ "x86_64" == "${ARCH}" ]; then +if [ "i486" == "${ARCH}" ]; then echo echo "*************************************************************" - echo "It seems you are running a 64bit system. You need a multilib" - echo "environment in order to run this program." + echo "It seems you are running a 32bit system. Standalone" + echo "flashplayer only supports 64bit." echo "*************************************************************" echo + exit 1 fi CWD=$(pwd) @@ -59,8 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf flashplayer -tar xvf $CWD/flashplayer_11_sa.i386.tar.gz +tar xvf $CWD/flash_player_sa_linux.x86_64.tar.gz mkdir -p $PKG/usr/bin $PKG/usr/share/applications mv flashplayer $PKG/usr/bin/saflashplayer.bin cp -a $CWD/saflashplayer.sh $PKG/usr/bin/saflashplayer @@ -76,6 +76,7 @@ find -L $PKG \ # Copy program documentation into the package mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -aR LGPL license.pdf $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Copy the slack-desc (and a custom doinst.sh if necessary) into ./install diff --git a/saflashplayer/saflashplayer.desktop b/saflashplayer/saflashplayer.desktop index ca51ecc..8438484 100644 --- a/saflashplayer/saflashplayer.desktop +++ b/saflashplayer/saflashplayer.desktop @@ -1,7 +1,10 @@ [Desktop Entry] -Categories=AudioVideo;Player;Video; -Exec=saflashplayer %U -GenericName=FlashPlayer StandAlone -MimeType=application/x-shockwave-flash +Version=1.0 Type=Application +GenericName=FlashPlayer StandAlone +Comment=Open SWF files +Exec=saflashplayer %U Icon=flash +Terminal=false +Categories=AudioVideo;Player;Video; +MimeType=application/x-shockwave-flash diff --git a/saflashplayer/saflashplayer.info b/saflashplayer/saflashplayer.info index ab08b3a..7f68e30 100644 --- a/saflashplayer/saflashplayer.info +++ b/saflashplayer/saflashplayer.info @@ -1,10 +1,10 @@ PRGNAM="saflashplayer" -VERSION="11.2.202.491" +VERSION="32.0.0.192" HOMEPAGE="https://get.adobe.com/flashplayer" -DOWNLOAD="http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_sa.i386.tar.gz" -MD5SUM="2b8a0825279dfce1b71c1c48389c09d4" -DOWNLOAD_x86_64="UNSUPPORTED" -MD5SUM_x86_64="" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://fpdownload.macromedia.com/pub/flashplayer/updaters/32/flash_player_sa_linux.x86_64.tar.gz" +MD5SUM_x86_64="57900f8e29dc810834982338c27cc03b" REQUIRES="" MAINTAINER="Vladislav Borisov" EMAIL="fsleg@t-rg.ws" diff --git a/saflashplayer/saflashplayer.sh b/saflashplayer/saflashplayer.sh index 58c4080..e73bbda 100755 --- a/saflashplayer/saflashplayer.sh +++ b/saflashplayer/saflashplayer.sh @@ -1,4 +1,3 @@ #!/bin/sh -LD_LIBRARY_PATH="/usr/lib/seamonkey:${LD_LIBRARY_PATH}" \ /usr/bin/saflashplayer.bin "$@"