diff options
Diffstat (limited to 'multimedia/gnash/gnash.SlackBuild')
-rw-r--r-- | multimedia/gnash/gnash.SlackBuild | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/multimedia/gnash/gnash.SlackBuild b/multimedia/gnash/gnash.SlackBuild index 40b8e1aa90..f39d2ffaad 100644 --- a/multimedia/gnash/gnash.SlackBuild +++ b/multimedia/gnash/gnash.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for gnash -# Copyright 2012-2021 Kyle Guinn <elyk03@gmail.com> +# Copyright 2012-2022 Kyle Guinn <elyk03@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gnash VERSION=${VERSION:-0.8.11dev_20190130} SRCVER=${SRCVER:-583ccbc1275c7701dc4843ec12142ff86bb305b4} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,24 +39,18 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 fi TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM-$VERSION +PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO" +DOCS="AUTHORS COPYING ChangeLog NEWS README* TODO" -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i586" ]; then +if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then @@ -70,13 +64,6 @@ else LIBDIRSUFFIX="" fi -# Set $NPAPI to "yes" to enable the Mozilla plugin. Requires xulrunner. -if [ "${NPAPI:-no}" != "no" ]; then - NPAPI_OPT="--enable-write" # This option no longer does anything? -else - NPAPI_OPT="--disable-npapi" -fi - # TODO: Test the KPARTS3 plugin with KDE3/Trinity. if [ "${KPARTS3:-no}" != "no" ]; then KPARTS3_OPT="" @@ -140,11 +127,11 @@ autoreconf -vif --enable-ssl \ --without-gconf \ --with-plugins-install=system \ - $NPAPI_OPT \ + --disable-npapi \ $KPARTS3_OPT \ $KPARTS4_OPT \ CFLAGS="$SLKCFLAGS" \ - CXXFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS -std=c++14" \ make make install-strip install-plugins DESTDIR=$PKG |