summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2024-02-13 23:50:17 +0100
committerDaniel Engberg <diizzy@FreeBSD.org>2024-02-13 23:53:54 +0100
commitce055d83ec593e72ce26315e79996d46a15c8e32 (patch)
tree5b9063ca1da1a6ebeaf08ea572ee8a55117a36a4
parent42b8f3c6826b6bd1d96c0da4df3f365a81c7b8a7 (diff)
downloadfreebsd-ports-ce055d83ec593e72ce26315e79996d46a15c8e32.zip
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
-rw-r--r--graphics/jpeg-turbo/Makefile17
-rw-r--r--graphics/jpeg-turbo/distinfo6
-rw-r--r--graphics/libjpeg-turbo/Makefile2
3 files changed, 12 insertions, 13 deletions
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,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
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,5 +1,5 @@
PKGNAMEPREFIX= lib
-PORTREVISION= 1
+#PORTREVISION= 1
COMMENT= SIMD-accelerated JPEG codec library, provides libTurboJPEG
WWW= https://libjpeg-turbo.org/