diff options
author | rjs <rjs> | 2015-02-05 21:29:59 +0000 |
---|---|---|
committer | rjs <rjs> | 2015-02-05 21:29:59 +0000 |
commit | 31d137cdd3d010ef1dab65b66e864fc6936ce74a (patch) | |
tree | 55a098ccf7e7555eb00143e1cb11e55ae5d14dbe /graphics | |
parent | 9e12cce0154d4f3c8ad840866deb9aec65783916 (diff) | |
download | pkgsrc-31d137cdd3d010ef1dab65b66e864fc6936ce74a.tar.gz |
Only depend on nasm on amd64 and i386.
Note that it uses NEON instructions on ARM.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libjpeg-turbo/DESCR | 2 | ||||
-rw-r--r-- | graphics/libjpeg-turbo/Makefile | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/graphics/libjpeg-turbo/DESCR b/graphics/libjpeg-turbo/DESCR index b5c6551ff75..6405c4ce0b4 100644 --- a/graphics/libjpeg-turbo/DESCR +++ b/graphics/libjpeg-turbo/DESCR @@ -1,3 +1,3 @@ libjpeg-turbo is a version of libjpeg which uses MMX, SSE, and SSE2 SIMD instructions to accelerate baseline JPEG compression/decompression by about -2-4x on x86 and x86-64 platforms. +2-4x on x86 and x86-64 platforms. It will use NEON instructions on ARM. diff --git a/graphics/libjpeg-turbo/Makefile b/graphics/libjpeg-turbo/Makefile index 8aea7149208..ccceda6a95c 100644 --- a/graphics/libjpeg-turbo/Makefile +++ b/graphics/libjpeg-turbo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2015/01/28 21:51:02 rjs Exp $ +# $NetBSD: Makefile,v 1.12 2015/02/05 21:29:59 rjs Exp $ # DISTNAME= libjpeg-turbo-1.4.0 @@ -12,7 +12,9 @@ LICENSE= gnu-lgpl-v2 # OR wxWindows Library Licence, Version 3.1 CONFLICTS= jpeg-[0-9]* +.if ${MACHINE_ARCH} == x86_64 || ${MACHINE_ARCH} == i386 BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm +.endif GNU_CONFIGURE= yes # compatibility with pkgsrc/graphics/jpeg |