openjpeg: bump version.

This commit is contained in:
Jerome Duval
2016-08-09 23:13:09 +00:00
parent 0af6ed60b6
commit 9dfbcfd9da
2 changed files with 27 additions and 26 deletions

View File

@@ -0,0 +1,89 @@
SUMMARY="An open-source C-Library for JPEG 2000"
DESCRIPTION="The OpenJPEG library is an open-source JPEG 2000 codec written \
in C language. It has been developed in order to promote the use of JPEG \
2000, the new still-image compression standard from the Joint Photographic \
Experts Group (JPEG).
In addition to the basic codec, various other features are under development, \
among them the JP2 and MJ2 (Motion JPEG 2000) file formats, an indexing tool \
useful for the JPIP protocol, JPWL-tools for error-resilience, a Java-viewer \
for j2k-images."
HOMEPAGE="http://www.openjpeg.org/"
COPYRIGHT="2002-2012, Communications and Remote Sensing Laboratory, \
Universite catholique de Louvain (UCL), Belgium
2002-2012 Professor Benoit Macq
2003-2012 Antonin Descampe
2003-2009 Francois-Olivier Devaux
2005 Herve Drolon, FreeImage Team
2002-2003 Yannick Verschueren
2001-2003 David Janssens"
LICENSE="BSD (2-clause)"
REVISION="1"
SOURCE_URI="http://github.com/uclouvain/openjpeg/archive/v$portVersion.tar.gz"
SOURCE_FILENAME="openjpeg-$portVersion.tar.gz"
CHECKSUM_SHA256="82c27f47fc7219e2ed5537ac69545bf15ed8c6ba8e6e1e529f89f7356506dbaa"
PATCHES="openjpeg-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
openjpeg$secondaryArchSuffix = $portVersion
cmd:opj_decompress = $portVersion
cmd:opj_compress = $portVersion
cmd:opj_dump = $portVersion
lib:libopenjp2$secondaryArchSuffix = 7.0.1 compat >= 7
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libpng$secondaryArchSuffix
lib:libtiff$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
PROVIDES_devel="
openjpeg${secondaryArchSuffix}_devel = $portVersion
devel:libopenjp2$secondaryArchSuffix = 7.0.1 compat >= 7
"
REQUIRES_devel="
openjpeg$secondaryArchSuffix == $portVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libpng$secondaryArchSuffix
devel:libtiff$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:make
cmd:gcc$secondaryArchSuffix
"
BUILD()
{
mkdir -p build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$prefix -DLIB_SUFFIX=$secondaryArchSubDir \
-DOPENJPEG_INSTALL_LIB_DIR=$relativeLibDir \
-DOPENJPEG_INSTALL_INCLUDE_DIR=$relativeIncludeDir \
-DOPENJPEG_INSTALL_MAN_DIR=$relativeManDir
make $jobArgs
}
INSTALL()
{
cd build
make install
prepareInstalledDevelLibs libopenjp2
fixPkgconfig
packageEntries devel $developDir
}
TEST()
{
make check
}