summaryrefslogtreecommitdiff
path: root/multimedia/gnash
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2021-04-20 21:41:21 -0500
committerRobby Workman <rworkman@slackbuilds.org>2021-04-21 20:04:43 -0500
commitb8317dc8590f90e1dbdc6e74307bf0ba1b57284c (patch)
tree0d0fc24c6b6a6ecd5870c8fe0668c727c2d6503f /multimedia/gnash
parent5b9261673c6de555d03927399e7fb777c8b944db (diff)
downloadslackbuilds-b8317dc8590f90e1dbdc6e74307bf0ba1b57284c.tar.gz
multimedia/gnash: Updated for Slackware 15.0
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'multimedia/gnash')
-rw-r--r--multimedia/gnash/gnash.SlackBuild17
-rw-r--r--multimedia/gnash/gnash.info2
2 files changed, 17 insertions, 2 deletions
diff --git a/multimedia/gnash/gnash.SlackBuild b/multimedia/gnash/gnash.SlackBuild
index 6e359cf86e..9e30ea2234 100644
--- a/multimedia/gnash/gnash.SlackBuild
+++ b/multimedia/gnash/gnash.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=gnash
VERSION=${VERSION:-0.8.11dev_20190130}
SRCVER=${SRCVER:-583ccbc1275c7701dc4843ec12142ff86bb305b4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -99,6 +99,21 @@ cd $PRGNAM-$SRCVER
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
+# jemalloc(3) wants <jemalloc/jemalloc.h>, not <jemalloc.h>
+sed -i 's|jemalloc.h|jemalloc/jemalloc.h|' \
+ libbase/jemalloc_gnash.c \
+ configure.ac
+
+# Fix giflib version check for API change
+sed -i 's|GIFLIB_MINOR==1|GIFLIB_MINOR>=1|' \
+ libbase/GnashImageGif.cpp
+
+# Consider using --enable-media=... to disable ffmpeg
+# if this isn't sufficient for compatibility with latest ffmpeg
+sed -i 's|FF_INPUT_BUFFER_PADDING_SIZE|AV_INPUT_BUFFER_PADDING_SIZE|' \
+ libmedia/ffmpeg/MediaHandlerFfmpeg.cpp \
+ libmedia/ffmpeg/MediaParserFfmpeg.cpp
+
autoreconf -vif
./configure \
--prefix=/usr \
diff --git a/multimedia/gnash/gnash.info b/multimedia/gnash/gnash.info
index 1d609651ed..88f8057581 100644
--- a/multimedia/gnash/gnash.info
+++ b/multimedia/gnash/gnash.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://git.savannah.gnu.org/cgit/gnash.git/snapshot/gnash-583ccbc1275
MD5SUM="44dec2747ea79fd6bd68a58dc8512821"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="agg"
+REQUIRES="agg gst0-plugins-base"
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"