Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apng2gif: new recipe. gif2apng: polishing. (#910)
- Loading branch information
Showing
2 changed files
with
57 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
SUMMARY="Converts APNG animations into GIF format" | ||
DESCRIPTION="This program converts APNG animations into animated GIF format. \ | ||
It performs the reverse of gif2apng." | ||
HOMEPAGE="http://apng2gif.sourceforge.net/" | ||
COPYRIGHT="2009-2015 Max Stepin" | ||
LICENSE="Zlib" | ||
REVISION="1" | ||
SOURCE_URI="https://downloads.sourceforge.net/apng2gif/apng2gif-$portVersion-src.zip" | ||
CHECKSUM_SHA256="6c7b2cce851378f2fc8f6b490ce098e9cf0038aa05da7099771c8be94620e6ca" | ||
SOURCE_DIR="" | ||
|
||
ARCHITECTURES="x86_gcc2 x86 x86_64" | ||
|
||
if [ "$targetArchitecture" = x86_gcc2 ]; then | ||
LIBS="-lstdc++.r4 -lpng -lz" | ||
else | ||
LIBS="-lstdc++ -lpng -lz" | ||
fi | ||
|
||
PROVIDES=" | ||
apng2gif = $portVersion | ||
cmd:apng2gif = $portVersion | ||
" | ||
REQUIRES=" | ||
haiku | ||
lib:libpng | ||
lib:libz | ||
" | ||
|
||
BUILD_REQUIRES=" | ||
haiku_devel | ||
devel:libpng | ||
devel:libz | ||
" | ||
BUILD_PREREQUIRES=" | ||
cmd:gcc | ||
cmd:ld | ||
cmd:make | ||
" | ||
|
||
BUILD() | ||
{ | ||
make LIBS="$LIBS" | ||
} | ||
|
||
INSTALL() | ||
{ | ||
install -d -m 755 $binDir $docDir | ||
install -t $binDir -c -m 555 -s apng2gif | ||
install -t $docDir -c -m 444 readme.txt | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters