openjpeg: fix provides

Aving a lib with version 2.1.0 and soname 7 doesn't work with our
version compare, so just declare the version to be the same as the
soname.
This commit is contained in:
Adrien Destugues
2014-10-28 09:44:10 +01:00
parent b00db92c3a
commit 7c69f6bc1b

View File

@@ -19,7 +19,7 @@ COPYRIGHT="2002-2012, Communications and Remote Sensing Laboratory, Universite c
HOMEPAGE="http://www.openjpeg.org/"
SRC_URI="http://sourceforge.net/projects/openjpeg.mirror/files/$portVersion/openjpeg-$portVersion.tar.gz"
CHECKSUM_SHA256="1232bb814fd88d8ed314c94f0bfebb03de8559583a33abbe8c64ef3fc0a8ff03"
REVISION="1"
REVISION="2"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
@@ -35,7 +35,7 @@ PROVIDES="
cmd:opj_decompress = $portVersion
cmd:opj_compress = $portVersion
cmd:opj_dump = $portVersion
lib:libopenjp2$secondaryArchSuffix = $portVersion compat >= 7
lib:libopenjp2$secondaryArchSuffix = 7 compat >= 7
"
REQUIRES="