diff --git a/graphics/jpeg-turbo/Makefile b/graphics/jpeg-turbo/Makefile index fb3a7bd4fabe..9c4e64f79dd5 100644 --- a/graphics/jpeg-turbo/Makefile +++ b/graphics/jpeg-turbo/Makefile @@ -1,58 +1,57 @@ 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 COMMENT?= SIMD-accelerated JPEG codec which replaces libjpeg WWW?= https://libjpeg-turbo.org/ LICENSE= BSD3CLAUSE IJG ZLIB LICENSE_COMB= multi LICENSE_GROUPS_IJG= FSF GPL LICENSE_NAME_IJG= Independent JPEG Group License LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSE.md 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 CPE_PRODUCT= libjpeg-turbo TEST_TARGET= test PORTDOCS= * 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 OPTIMIZED_CFLAGS_CFLAGS= -O3 .include -.if ${ARCH} == i386 || ${ARCH} == amd64 -BUILD_DEPENDS+= nasm:devel/nasm -.endif - .if ${ARCH} == armv6 CMAKE_OFF= WITH_SIMD .endif .if ${SLAVE_PORT} == yes PLIST_SUB+= JPEG="@comment " LIBTURBOJPEG="" .else CMAKE_OFF+= WITH_TURBOJPEG CONFLICTS_INSTALL= mozjpeg PLIST_SUB+= JPEG="" LIBTURBOJPEG="@comment " .endif .include diff --git a/graphics/jpeg-turbo/distinfo b/graphics/jpeg-turbo/distinfo index ad574b32c130..b692a5d50d7a 100644 --- a/graphics/jpeg-turbo/distinfo +++ b/graphics/jpeg-turbo/distinfo @@ -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 diff --git a/graphics/libjpeg-turbo/Makefile b/graphics/libjpeg-turbo/Makefile index 0f8ffe24ae3d..91244f147683 100644 --- a/graphics/libjpeg-turbo/Makefile +++ b/graphics/libjpeg-turbo/Makefile @@ -1,11 +1,11 @@ PKGNAMEPREFIX= lib -PORTREVISION= 1 +#PORTREVISION= 1 COMMENT= SIMD-accelerated JPEG codec library, provides libTurboJPEG WWW= https://libjpeg-turbo.org/ MASTERDIR= ${.CURDIR:H}/jpeg-turbo SLAVE_PORT= yes OPTIONS_EXCLUDE=DOCS .include "${MASTERDIR}/Makefile"