@@ -14,10 +14,9 @@ libdir = "lib32" if get.buildTYPE() == "emul32" else "lib"
|
||||
|
||||
def setup():
|
||||
options = "-B build -DCMAKE_BUILD_TYPE=Release \
|
||||
-DOPENJPEG_INSTALL_LIB_DIR=lib \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DOPENJPEG_INSTALL_LIB_DIR=%s \
|
||||
-DCMAKE_INSTALL_LIBDIR:PATH=%s \
|
||||
-DBUILD_STATIC_LIBS=OFF" % libdir
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
@@ -26,6 +25,7 @@ def setup():
|
||||
shelltools.export("PKG_CONFIG_PATH","/usr/lib32/pkgconfig")
|
||||
|
||||
options += " -DOPENJPEG_INSTALL_BIN_DIR=emul32 \
|
||||
-DCMAKE_INSTALL_BINDIR:PATH=emul32 \
|
||||
-DBUILD_DOC=OFF"
|
||||
|
||||
else:
|
||||
@@ -46,7 +46,7 @@ def install():
|
||||
pisitools.insinto("/usr/bin/","%s/usr/emul32/opj_decompress" % get.installDIR(),"opj_decompress_32")
|
||||
pisitools.insinto("/usr/bin/","%s/usr/emul32/opj_dump" % get.installDIR(),"opj_dump_32")
|
||||
pisitools.dosed("%s/usr/lib32/pkgconfig/libopenjp2.pc" % get.installDIR(), "emul32", "bin")
|
||||
pisitools.dosed("%s/usr/lib32/openjpeg-2.5/OpenJPEGTargets-release.cmake" % get.installDIR(), "emul32", "bin")
|
||||
pisitools.dosed("%s/usr/lib32/cmake/openjpeg-2.5/OpenJPEGTargets-release.cmake" % get.installDIR(), "emul32", "bin")
|
||||
pisitools.removeDir("/usr/emul32")
|
||||
return
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>JPEG2000 decoding library</Summary>
|
||||
<Description>openjpeg is an open-source JPEG 2000 codec written in C. 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).</Description>
|
||||
<Archive sha1sum="ed4c9cf56b74a5bf380db3d88e402d3e0d85e7a7" type="targz">https://github.com/uclouvain/openjpeg/archive/v2.5.0.tar.gz</Archive>
|
||||
<Archive sha1sum="e6422f55e41492f4e2a8e255cff9ccc161c741d2" type="targz">https://github.com/uclouvain/openjpeg/archive/v2.5.1.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>doxygen</Dependency>
|
||||
@@ -78,6 +78,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="9">
|
||||
<Date>2024-03-10</Date>
|
||||
<Version>2.5.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2023-01-22</Date>
|
||||
<Version>2.5.0</Version>
|
||||
|
||||
Reference in New Issue
Block a user