Package: libjpeg8-turbo-shlibs # shlibs only stub. Version: 1.5.3 Revision: 3 # Use libjpeg8.2-turbo for both x86_64 and arm64 compatibility. Architecture: x86_64 Description: High speed libjpeg for i386 and x86_64 DescDetail: << libjpeg-turbo is a high-speed version 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, all else being equal. libjpeg-turbo was originally based on libjpeg/SIMD by Miyasaka Masaru, but the TigerVNC and VirtualGL projects made numerous enhancements to the codec, including improved support for Mac OS X, 64-bit support, support for 32-bit and big endian pixel formats (RGBA, ABGR, etc.), accelerated Huffman encoding/decoding, and various bug fixes. The goal was to produce a fully open source codec that could replace the partially closed source TurboJPEG/IPP codec used by VirtualGL and TurboVNC. libjpeg-turbo generally achieves 80-120% of the performance of TurboJPEG/IPP. It is faster in some areas but slower in others. << DescPackaging: << libjpeg8-turbo is API/ABI compatible with libjpeg8 and can be used anywhere libjpeg.8.dylib is used. It's buried in %p/lib/%n to avoid conflicts so packages need to be told to look there to use it. << License: BSD Homepage: https://www.libjpeg-turbo.org/ Maintainer: Daniel Johnson Source: mirror:sourceforge:libjpeg-turbo/libjpeg-turbo-%v.tar.gz Source-Checksum: SHA256(b24890e2bb46e12e72a79f7e965f409f4e16466d00e1dd15d93d73ee6b592523) PatchScript: << # Match behavior in <1.2.90 to avoid breaking things. perl -pi -e 's/-version-info 1:0:1/-avoid-version/' Makefile.in << BuildDepends: nasm (>= 2.09-1) Conflicts: << libjpeg8-turbo (<= 1.5.3-2), libjpeg8-turbo-bin (<= 1.5.3-2) << Replaces: << libjpeg8-turbo (<= 1.5.3-2), libjpeg8-turbo-bin (<= 1.5.3-2) << ConfigureParams: << --prefix=%p/lib/libjpeg8-turbo \ --disable-dependency-tracking \ --disable-silent-rules \ --disable-static \ --host=%m-apple-darwin`uname -r` \ --build=%m-apple-darwin`uname -r` \ --without-java \ --with-jpeg8 << InfoTest: TestScript: make test || exit 2 InstallScript: << make install DESTDIR=%d rm -rf %i/lib/libjpeg8-turbo/include %i/lib/libjpeg8-turbo/lib/libjpeg.dylib %i/lib/libjpeg8-turbo/lib/*.la %i/lib/libjpeg8-turbo/lib/pkgconfig %i/lib/libjpeg8-turbo/share/doc rm -rf %i/lib/libjpeg8-turbo/bin %i/lib/libjpeg8-turbo/share/man << Shlibs: << %p/lib/libjpeg8-turbo/lib/libjpeg.8.dylib 10.0.0 %n (>= 1.5.1-1) %p/lib/libjpeg8-turbo/lib/libturbojpeg.dylib 0.0.0 %n (>= 1.0.90-1) << DocFiles: change.log ChangeLog.md libjpeg.txt LICENSE.md README.ijg README.md structure.txt usage.txt wizard.txt