libicns: use openjpeg instead of jasper library

This commit is contained in:
Gerasim Troeglazov
2018-08-02 16:59:28 +10:00
parent 88314feb3c
commit 8f9d6cee29
2 changed files with 389 additions and 4 deletions

View File

@@ -6,10 +6,11 @@ resource files and macbinary encoded Mac OS resource forks."
HOMEPAGE="http://sourceforge.net/projects/icns"
COPYRIGHT="2001-2012 Matthew Eis"
LICENSE="GNU LGPL v2.1"
REVISION="6"
REVISION="7"
SOURCE_URI="http://sourceforge.net/projects/icns/files/libicns-$portVersion.tar.gz"
CHECKSUM_SHA256="335f10782fc79855cf02beac4926c4bf9f800a742445afbbf7729dab384555c2"
PATCHES="libicns-$portVersion.patchset"
PATCHES="libicns-$portVersion.patchset
support-libopenjp2.patch"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
@@ -27,7 +28,7 @@ if [ -z "$secondaryArchSuffix" ]; then
fi
REQUIRES="
haiku$secondaryArchSuffix
lib:libjasper$secondaryArchSuffix
lib:libopenjp2$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
@@ -42,7 +43,7 @@ REQUIRES_devel="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libjasper$secondaryArchSuffix
devel:libopenjp2$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libz$secondaryArchSuffix >= 1.0.4
"