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.
WWW: http://libjpeg-turbo.virtualgl.org/
- D. R. Commander
information@virtualgl.org
PR: ports/145670
Submitted by: Denis E Podolskiy [bytestore yandex.ru]
Approved by: tabthorpe (mentor)
2010-04-26 21:27:02 +02:00
|
|
|
# New ports collection makefile for: libjpeg-turbo
|
|
|
|
# Date created: 2010-04-09
|
|
|
|
# Date modified: 2010-04-12
|
|
|
|
# Whom: Denis Podolskiy bytestore@yandex.ru (based on D. R. Commander)
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libjpeg-turbo
|
2010-05-23 23:00:44 +02:00
|
|
|
PORTVERSION= 0.0.93
|
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.
WWW: http://libjpeg-turbo.virtualgl.org/
- D. R. Commander
information@virtualgl.org
PR: ports/145670
Submitted by: Denis E Podolskiy [bytestore yandex.ru]
Approved by: tabthorpe (mentor)
2010-04-26 21:27:02 +02:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= http://openmoko.spb.ru/repository/ \
|
|
|
|
http://mesh.dl.sourceforge.net/project/libjpeg-turbo/${PORTVERSION}/ \
|
|
|
|
${MASTER_SITE_XCONTRIB}
|
|
|
|
|
|
|
|
MAINTAINER= bytestore@yandex.ru
|
2010-05-23 23:00:44 +02:00
|
|
|
COMMENT= SIMD-accelerated JPEG codec which provides both the libjpeg,TurboJPEG
|
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.
WWW: http://libjpeg-turbo.virtualgl.org/
- D. R. Commander
information@virtualgl.org
PR: ports/145670
Submitted by: Denis E Podolskiy [bytestore yandex.ru]
Approved by: tabthorpe (mentor)
2010-04-26 21:27:02 +02:00
|
|
|
|
2010-04-28 08:18:17 +02:00
|
|
|
CONFLICTS= jpeg-[0-9]*
|
2010-06-19 09:18:45 +02:00
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
2010-06-07 14:26:07 +02:00
|
|
|
USE_AUTOTOOLS= autoconf:262 automake:110 libtool:22
|
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.
WWW: http://libjpeg-turbo.virtualgl.org/
- D. R. Commander
information@virtualgl.org
PR: ports/145670
Submitted by: Denis E Podolskiy [bytestore yandex.ru]
Approved by: tabthorpe (mentor)
2010-04-26 21:27:02 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/bin/nasm:${PORTSDIR}/devel/nasm:install
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == amd64
|
|
|
|
CONFIGURE_ARGS= --host x86_64-unknown-freebsd
|
2010-06-03 08:28:12 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS= --host ${ARCH}-unknown-freebsd
|
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.
WWW: http://libjpeg-turbo.virtualgl.org/
- D. R. Commander
information@virtualgl.org
PR: ports/145670
Submitted by: Denis E Podolskiy [bytestore yandex.ru]
Approved by: tabthorpe (mentor)
2010-04-26 21:27:02 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@${ECHO_CMD} configure jpeg-turbo library
|
|
|
|
@cd ${WRKDIR}/libjpeg-turbo-${PORTVERSION} && ${AUTORECONF} -fiv && ${LIBTOOLIZE} --force
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|