mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
lcms: bump version
This commit is contained in:
@@ -10,7 +10,7 @@ COPYRIGHT="1998-2017 Marti Maria"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://downloads.sourceforge.net/lcms/lcms2-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="478c9c3938d7a91b1171de4616f8b04308a8676d73eadc19505b7ace41327f28"
|
||||
CHECKSUM_SHA256="18663985e864100455ac3e507625c438c3710354d85e5cbb7cd4043e11fe10f5"
|
||||
SOURCE_DIR="lcms2-$portVersion"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
@@ -23,7 +23,7 @@ if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
libVersion="2.0.8"
|
||||
libVersion="2.0.12"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
@@ -1,113 +0,0 @@
|
||||
SUMMARY="A small-footprint, speed optimized color management engine"
|
||||
DESCRIPTION="Little CMS intends to be an open source small-footprint color \
|
||||
management engine, with special focus on accuracy and performance. It uses the \
|
||||
International Color Consortium standard (ICC), which is the modern standard \
|
||||
when regarding to color management. The ICC specification is widely used and \
|
||||
is referred to in many International and other de-facto standards. It was \
|
||||
approved as an International Standard, ISO 15076-1, in 2005."
|
||||
HOMEPAGE="http://www.littlecms.com/"
|
||||
COPYRIGHT="1998-2017 Marti Maria"
|
||||
LICENSE="MIT"
|
||||
REVISION="6"
|
||||
SOURCE_URI="https://downloads.sourceforge.net/lcms/lcms2-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="48c6fdf98396fa245ed86e622028caf49b96fa22f3e5734f853f806fbc8e7d20"
|
||||
SOURCE_DIR="lcms2-$portVersion"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
commandBinDir=$binDir
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
libVersion="2.0.8"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
lcms$secondaryArchSuffix = $portVersion
|
||||
lib:liblcms2$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:libtiff$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
lcms${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:liblcms2$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
lcms$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libtiff$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
PROVIDES_tools="
|
||||
lcms${secondaryArchSuffix}_tools = $portVersion
|
||||
cmd:jpgicc$commandSuffix
|
||||
cmd:linkicc$commandSuffix
|
||||
cmd:psicc$commandSuffix
|
||||
cmd:tificc$commandSuffix
|
||||
cmd:transicc$commandSuffix
|
||||
"
|
||||
REQUIRES_tools="
|
||||
lcms$secondaryArchSuffix == $portVersion base
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:libtiff$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
defineDebugInfoPackage lcms$secondaryArchSuffix \
|
||||
$libDir/liblcms2.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
|
||||
runConfigure --omit-dirs binDir ./configure --bindir=$commandBinDir
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/liblcms2.la
|
||||
|
||||
# prepare develop/lib
|
||||
prepareInstalledDevelLibs liblcms2
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
|
||||
packageEntries tools \
|
||||
$commandBinDir \
|
||||
$manDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user