1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= SIMD-accelerated JPEG codec which replaces libjpeg
8 HOMEPAGE= http://libjpeg-turbo.virtualgl.org/
12 SITES[main]= SF/libjpeg-turbo/1.5.2
13 DISTFILE[1]= libjpeg-turbo-1.5.2.tar.gz:main
15 SPKGS[standard]= complete
21 OPTIONS_AVAILABLE= NASM
22 OPTIONS_STANDARD= NASM
26 EXRUN[turbo]= jpeg-turbo:primary:standard
30 DISTNAME= libjpeg-turbo-1.5.2
32 LICENSE= BSD3CLAUSE:primary CUSTOM1:primary ZLIB:primary
33 LICENSE_NAME= CUSTOM1:"Independent JPEG Group License"
35 LICENSE_FILE= BSD3CLAUSE:{{WRKSRC}}/turbojpeg.c
36 ZLIB:{{WRKSRC}}/simd/jsimdext.inc
37 CUSTOM1:{{WRKSRC}}/README.ijg
39 CPE_PRODUCT= libjpeg-turbo
40 CPE_VENDOR= d.r.commander
41 FPC_EQUIVALENT= graphics/jpeg-turbo
44 CONFIGURE_ARGS= --with-jpeg8
47 MAKE_ARGS= docdir="{{STD_DOCDIR}}"
48 exampledir="{{STD_EXAMPLESDIR}}"
50 INSTALL_TARGET= install-strip
54 [NASM].DESCRIPTION= Use nasm to construct optimized assembly
55 [NASM].BUILD_DEPENDS_ON= nasm:primary:standard
57 [FILE:462:descriptions/desc.primary]
58 This is a drop-in replacement for the graphics/jpeg library.
60 libjpeg-turbo is a high-speed version of libjpeg for x86 and x86-64
61 processors which uses SIMD instructions (MMX, SSE2, etc.) to accelerate
62 baseline JPEG compression and decompression. libjpeg-turbo is generally
63 2-4x as fast as the unmodified version of libjpeg, all else being equal.
65 This package contains the standard jpeg library and utilities.
66 The turbo subpackage contains jpeg-turbo library.
69 [FILE:902:descriptions/desc.turbo]
70 libjpeg-turbo is a high-speed version of libjpeg for x86 and x86-64
71 processors which uses SIMD instructions (MMX, SSE2, etc.) to accelerate
72 baseline JPEG compression and decompression. libjpeg-turbo is generally
73 2-4x as fast as the unmodified version of libjpeg, all else being equal.
75 libjpeg-turbo was originally based on libjpeg/SIMD by Miyasaka Masaru,
76 but the TigerVNC and VirtualGL projects made numerous enhancements to
77 the codec, including improved support for Mac OS X, 64-bit support,
78 support for 32-bit and big endian pixel formats (RGBA, ABGR, etc.),
79 accelerated Huffman encoding/decoding, and various bug fixes.
80 The goal was to produce a fully open source codec that could replace
81 the partially closed source TurboJPEG/IPP codec used by VirtualGL and
82 TurboVNC. libjpeg-turbo generally achieves 80-120% of the performance
83 of TurboJPEG/IPP. It is faster in some areas but slower in others.
87 9098943b270388727ae61de82adec73cf9f0dbb240b3bc8b172595ebf405b528 1657235 libjpeg-turbo-1.5.2.tar.gz
90 [FILE:272:manifests/plist.primary]
107 lib/pkgconfig/libjpeg.pc
116 [FILE:142:manifests/plist.turbo]
123 libturbojpeg.so.0.1.0
124 lib/pkgconfig/libturbojpeg.pc
127 [FILE:425:patches/patch-configure]
128 --- configure.orig 2015-09-21 18:48:41 UTC
130 @@ -14514,7 +14514,7 @@ case "$host_os" in
135 + dragonfly* | linux*)
139 @@ -14712,7 +14712,7 @@ case "$host_os" in
144 + dragonfly* | linux*)
150 [FILE:335:patches/patch-md5_md5.c]
151 --- md5/md5.c.orig 2017-07-07 20:31:10 UTC
153 @@ -54,6 +54,8 @@ static void MD5Transform(unsigned int [4
154 #include <libkern/OSByteOrder.h>
155 #define le32toh(x) OSSwapLittleToHostInt32(x)
156 #define htole32(x) OSSwapHostToLittleInt32(x)
157 +#elif defined __FreeBSD__ || defined __DragonFly__
158 +#include <sys/endian.h>