gifsicle: bump to 1.91, strip runtimes. (#2553)

This commit is contained in:
fbrosson
2018-05-13 16:10:30 +00:00
committed by GitHub
parent 1d30ff66ea
commit 6f563056ea

View File

@@ -6,11 +6,11 @@ interlacing on and off; add transparency; add delays, disposals, and looping \
to animations; add and remove comments; flip and rotate; optimize animations \
for space; change images' colormaps; and other things."
HOMEPAGE="http://www.lcdf.org/gifsicle/"
COPYRIGHT="1997-2014 Eddie Kohler"
COPYRIGHT="1997-2018 Eddie Kohler"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://www.lcdf.org/gifsicle/gifsicle-$portVersion.tar.gz"
CHECKSUM_SHA256="2d73b096752d58fa604cea559199aa6f55b45a3ec833898f94ff7997d22b834d"
CHECKSUM_SHA256="0a4ee602aa244cdcdd86a250a6b39c94d8343cf526b8fae862d8a0efc337a800"
ARCHITECTURES="x86_gcc2 x86 x86_64"
@@ -31,6 +31,7 @@ BUILD_PREREQUIRES="
cmd:gcc
cmd:make
cmd:perl
cmd:sed
"
PATCH()
@@ -41,12 +42,17 @@ PATCH()
BUILD()
{
runConfigure ./configure
if [ "$effectiveTargetArchitecture" = x86_gcc2 ]; then
# avoid undefined reference to __sync_add_and_fetch
# from function scale_image_threaded in src/xform.c
sed -i -e "/HAVE___SYNC_ADD_AND_FETCH/ s/1/0/" config.h
fi
make
}
INSTALL()
{
make install
make install-strip
}
TEST()