libjpeg-turbo rebuild
This commit is contained in:
@@ -14,15 +14,18 @@ def setup():
|
||||
-DWITH_JPEG8=TRUE \
|
||||
-DENABLE_STATIC=FALSE \
|
||||
-DCMAKE_INSTALL_DEFAULT_LIBDIR=lib \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr"
|
||||
"
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
shelltools.export("CC", "gcc -m32")
|
||||
shelltools.export("CXX", "g++ -m32")
|
||||
shelltools.export("PKG_CONFIG_PATH","/usr/lib32/pkgconfig")
|
||||
|
||||
options = "-B build -DCMAKE_INSTALL_DEFAULT_LIBDIR=/usr/lib32 \
|
||||
options += " -DCMAKE_INSTALL_DEFAULT_LIBDIR=/usr/lib32 \
|
||||
-DCMAKE_INSTALL_PREFIX=/emul32"
|
||||
|
||||
else:
|
||||
options += " -DCMAKE_INSTALL_PREFIX=/usr"
|
||||
|
||||
cmaketools.configure(options)
|
||||
|
||||
@@ -42,6 +45,7 @@ def install():
|
||||
if get.buildTYPE() == "emul32":
|
||||
pisitools.removeDir("/emul32")
|
||||
pisitools.dosed("%s/usr/lib32/pkgconfig/*.pc" % get.installDIR(), "emul32", "usr")
|
||||
pisitools.dosed("%s/usr/lib32/cmake/libjpeg-turbo/*.cmake" % get.installDIR(), "emul32", "usr")
|
||||
return
|
||||
|
||||
# provide jpegint.h as it is required by various software
|
||||
|
||||
@@ -49,6 +49,9 @@
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include/</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="library">/usr/lib32/pkgconfig</Path>
|
||||
<Path fileType="library">/usr/lib/cmake</Path>
|
||||
<Path fileType="library">/usr/lib32/cmake</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
@@ -69,6 +72,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="16">
|
||||
<Date>2023-01-23</Date>
|
||||
<Version>2.1.4</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="15">
|
||||
<Date>2023-01-01</Date>
|
||||
<Version>2.1.4</Version>
|
||||
|
||||
Reference in New Issue
Block a user