graphics/jpeg-turbo: Update to 3.0.2

Changelog:
https://github.com/libjpeg-turbo/libjpeg-turbo/releases/tag/3.0.2

PR:		276813
Reviewed by:	desktop (arrowd)
Sponsored by:	Blinkinblox
Exp-run by:	antoine
This commit is contained in:
Daniel Engberg 2024-02-13 23:50:17 +01:00
parent 42b8f3c682
commit ce055d83ec
3 changed files with 12 additions and 13 deletions

View file

@ -1,8 +1,8 @@
PORTNAME= jpeg-turbo
DISTVERSION= 3.0.1
PORTREVISION?= 1
DISTVERSION= 3.0.2
#PORTREVISION?= 1
CATEGORIES= graphics
MASTER_SITES= SF/lib${PORTNAME}/${DISTVERSION}
MASTER_SITES= https://github.com/lib${PORTNAME}/lib${PORTNAME}/releases/download/${DISTVERSION}/
DISTNAME= lib${PORTNAME}-${DISTVERSION}
MAINTAINER= desktop@FreeBSD.org
@ -18,6 +18,10 @@ LICENSE_FILE_IJG= ${WRKSRC}/README.ijg
LICENSE_FILE_ZLIB= ${WRKSRC}/LICENSE.md
LICENSE_PERMS_IJG= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
BUILD_DEPENDS= ${BUILD_DEPENDS_${ARCH}}
BUILD_DEPENDS_amd64= nasm:devel/nasm
BUILD_DEPENDS_i386= nasm:devel/nasm
USES= cmake cpe pathfix
USE_LDCONFIG= yes
@ -29,8 +33,7 @@ DOCSDIR= ${PREFIX}/share/doc/libjpeg-turbo
CMAKE_ON= WITH_JPEG8
# See https://github.com/libjpeg-turbo/libjpeg-turbo/issues/705
CMAKE_ARGS= -DCMAKE_CTEST_ARGUMENTS="-E;'djpeg12-shared-3x2-float-prog-cmp|djpeg12-static-3x2-float-prog-cmp'"aa \
-DCMAKE_INSTALL_MANDIR=${PREFIX}/share/man
CMAKE_ARGS= -DCMAKE_CTEST_ARGUMENTS="-E;'djpeg12-shared-3x2-float-prog-cmp|djpeg12-static-3x2-float-prog-cmp'"
OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS
OPTIONS_DEFAULT= OPTIMIZED_CFLAGS
@ -39,10 +42,6 @@ OPTIMIZED_CFLAGS_CFLAGS= -O3
.include <bsd.port.options.mk>
.if ${ARCH} == i386 || ${ARCH} == amd64
BUILD_DEPENDS+= nasm:devel/nasm
.endif
.if ${ARCH} == armv6
CMAKE_OFF= WITH_SIMD
.endif

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1697566698
SHA256 (libjpeg-turbo-3.0.1.tar.gz) = 22429507714ae147b3acacd299e82099fce5d9f456882fc28e252e4579ba2a75
SIZE (libjpeg-turbo-3.0.1.tar.gz) = 2800900
TIMESTAMP = 1706835477
SHA256 (libjpeg-turbo-3.0.2.tar.gz) = c2ce515a78d91b09023773ef2770d6b0df77d674e144de80d63e0389b3a15ca6
SIZE (libjpeg-turbo-3.0.2.tar.gz) = 2831164

View file

@ -1,5 +1,5 @@
PKGNAMEPREFIX= lib
PORTREVISION= 1
#PORTREVISION= 1
COMMENT= SIMD-accelerated JPEG codec library, provides libTurboJPEG
WWW= https://libjpeg-turbo.org/