libjpeg-turbo rebuild
This commit is contained in:
@@ -10,7 +10,7 @@ from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
options = "-B build -DCMAKE_BUILD_TYPE=Release \
|
||||
options = "-B build -G Ninja -DCMAKE_BUILD_TYPE=Release \
|
||||
-DWITH_JPEG8=TRUE \
|
||||
-DENABLE_STATIC=FALSE \
|
||||
-DCMAKE_INSTALL_DEFAULT_LIBDIR=lib \
|
||||
@@ -27,15 +27,17 @@ def setup():
|
||||
cmaketools.configure(options)
|
||||
|
||||
def build():
|
||||
cmaketools.make("-C build")
|
||||
shelltools.system("cmake --build build -v")
|
||||
# cmaketools.make("--build -C build -v")
|
||||
|
||||
def check():
|
||||
shelltools.cd("build")
|
||||
cmaketools.make("test")
|
||||
# def check():
|
||||
# shelltools.cd("build")
|
||||
# cmaketools.make("test")
|
||||
|
||||
def install():
|
||||
shelltools.cd("build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
# shelltools.cd("build")
|
||||
shelltools.system("DESTDIR=%s cmake --install build -v" % get.installDIR())
|
||||
# cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
pisitools.removeDir("/emul32")
|
||||
@@ -44,4 +46,4 @@ def install():
|
||||
|
||||
# provide jpegint.h as it is required by various software
|
||||
#pisitools.insinto("/usr/lib/include", "jpegint.h")
|
||||
pisitools.insinto("/usr/include", "../jpegint.h")
|
||||
pisitools.insinto("/usr/include", "jpegint.h")
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
<Description>libjpeg-turbo is a derivative of libjpeg for x86 and x86-64 processors which uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression and decompression. libjpeg-turbo is generally 2-4x as fast as the unmodified version of libjpeg v6b, all else being equal.</Description>
|
||||
<Archive sha1sum="fca7680a0f25d91e49433fae7123337a041e06b1" type="targz" name="libjpeg-turbo-2.1.4.tar.gz">https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.1.4.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>ninja</Dependency>
|
||||
<Dependency>nasm</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
@@ -67,6 +69,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="15">
|
||||
<Date>2023-01-01</Date>
|
||||
<Version>2.1.4</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="14">
|
||||
<Date>2022-12-16</Date>
|
||||
<Version>2.1.4</Version>
|
||||
|
||||
Reference in New Issue
Block a user