diff options
-rw-r--r-- | multimedia/gnash/gnash.SlackBuild | 17 | ||||
-rw-r--r-- | multimedia/gnash/gnash.info | 2 |
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" |