diff options
author | Rene Ladan <rene@FreeBSD.org> | 2010-04-26 19:27:02 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2010-04-26 19:27:02 +0000 |
commit | 4fb33e994d6065a9b0dda988f1e5085ffa7a9d89 (patch) | |
tree | 42b1908d07e0e815755ab4b18678a6acd40edc52 /graphics/libjpeg-turbo/Makefile | |
parent | 764f079f6025c79d193e7479821c53c34e1ce325 (diff) | |
download | ports-4fb33e994d6065a9b0dda988f1e5085ffa7a9d89.tar.gz ports-4fb33e994d6065a9b0dda988f1e5085ffa7a9d89.zip |
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)
Notes
Notes:
svn path=/head/; revision=253302
Diffstat (limited to 'graphics/libjpeg-turbo/Makefile')
-rw-r--r-- | graphics/libjpeg-turbo/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/graphics/libjpeg-turbo/Makefile b/graphics/libjpeg-turbo/Makefile new file mode 100644 index 000000000000..e9aeda9a2c5c --- /dev/null +++ b/graphics/libjpeg-turbo/Makefile @@ -0,0 +1,38 @@ +# 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 +PORTVERSION= 0.0.92 +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 +COMMENT= Uses MMX, SSE, and SSE2 to accelerate baseline JPEG (de)compression + +ONLY_FOR_ARCH= amd64 i386 +USE_AUTOTOOLS= autoconf:262 automake:19 libtool:22 +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 +.elif ${ARCH} == i386 +CONFIGURE_ARGS= --host i386-unknown-freebsd +.endif + +pre-configure: + @${ECHO_CMD} configure jpeg-turbo library + @cd ${WRKDIR}/libjpeg-turbo-${PORTVERSION} && ${AUTORECONF} -fiv && ${LIBTOOLIZE} --force + +.include <bsd.port.post.mk> |