multimedia/gnash: Updated for Slackware 15.0

Signed-off-by: Kyle Guinn <elyk03@gmail.com>
This commit is contained in:
Kyle Guinn 2021-04-20 21:41:21 -05:00 committed by Robby Workman
parent 5b9261673c
commit b8317dc859
2 changed files with 17 additions and 2 deletions

View file

@ -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 \

View file

@ -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"