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