name : libjpeg-turbo version : 3.0.3 release : 21 source : - https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/3.0.3/libjpeg-turbo-3.0.3.tar.gz : 343e789069fc7afbcdfe44dbba7dbbf45afa98a15150e079a38e60e44578865d homepage : https://libjpeg-turbo.org/ component : desktop.library license : - BSD-3-Clause - IJG - Zlib optimize : - speed - lto emul32 : yes summary : libjpeg-turbo is a a fork of the original IJG libjpeg, offering faster compression and decompression. description: | libjpeg-turbo is a fork of the original IJG libjpeg which uses SIMD to accelerate baseline JPEG compression and decompression. libjpeg is a library that implements JPEG image encoding, decoding and transcoding. patterns : - devel : /usr/bin - docs : [/usr/share/doc, /usr/share/man] setup : | %cmake_ninja -DCMAKE_INSTALL_DEFAULT_LIBDIR=lib%LIBSUFFIX% \ -DENABLE_STATIC=FALSE \ -DWITH_JPEG8=TRUE build : | %ninja_build profile : | # Running the testsuite helps decreases the solib size %ninja_check # Tjbench improves throughput pushd solusBuildDir ./tjbench ../testimages/testimgari.jpg ./tjbench ../testimages/testimgint.jpg ./tjbench ../testimages/testorig12.jpg popd install : | %ninja_install check : | %ninja_check