graphics/jasper: Update to 3.0.2

Changes:	https://github.com/jasper-software/jasper/releases
This commit is contained in:
Po-Chuan Hsieh 2022-04-16 11:55:54 +08:00
parent 17d6b8e131
commit cdcedd316d
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 22 additions and 24 deletions

View File

@ -1,7 +1,7 @@
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
PORTNAME= jasper
PORTVERSION= 2.0.33
PORTVERSION= 3.0.2
CATEGORIES= graphics
MASTER_SITES= https://github.com/jasper-software/jasper/releases/download/version-${PORTVERSION}/
@ -10,29 +10,36 @@ COMMENT= Implementation of the codec specified in the JPEG-2000 standard
LICENSE= JASPER
LICENSE_NAME= JasPer License Version 2.0
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= cmake cpe jpeg localbase
CMAKE_OFF= JAS_ENABLE_AUTOMATIC_DEPENDENCIES JAS_ENABLE_DOC
CMAKE_ON= JAS_ENABLE_LIBJPEG
CMAKE_OFF= JAS_ENABLE_32BIT JAS_ENABLE_DANGEROUS_INTERNAL_TESTING_MODE JAS_ENABLE_DOC JAS_ENABLE_LATEX JAS_ENABLE_MIF_CODEC JAS_ENABLE_NON_THREAD_SAFE_DEBUGGING JAS_PREFER_PTHREAD_TSS JAS_STRICT JAS_USE_JAS_INIT
CMAKE_ON= JAS_ENABLE_BMP_CODEC JAS_ENABLE_HIDDEN JAS_ENABLE_JP2_CODEC JAS_ENABLE_JPC_CODEC JAS_ENABLE_JPG_CODEC JAS_ENABLE_LIBJPEG JAS_ENABLE_MULTITHREADING_SUPPORT JAS_ENABLE_PGX_CODEC JAS_ENABLE_PNM_CODEC JAS_ENABLE_PROGRAMS JAS_ENABLE_RAS_CODEC JAS_ENABLE_SHARED JAS_INCLUDE_BMP_CODEC JAS_INCLUDE_JP2_CODEC JAS_INCLUDE_JPC_CODEC JAS_INCLUDE_JPG_CODEC JAS_INCLUDE_MIF_CODEC JAS_INCLUDE_PGX_CODEC JAS_INCLUDE_PNM_CODEC JAS_INCLUDE_RAS_CODEC JAS_PREFER_PTHREAD JAS_STRICT
TEST_TARGET= test
USE_LDCONFIG= yes
DOCSDIR= ${PREFIX}/share/doc/JasPer
CPE_VENDOR= jasper_project
OPTIONS_DEFINE= OPENGL DOCS
OPTIONS_DEFINE= DOCS HEIF OPENGL TEST
OPTIONS_DEFAULT=OPENGL
OPTIONS_SUB= yes
HEIF_DESC= HEIF support (experimental)
HEIF_CMAKE_BOOL= JAS_ENABLE_HEIC_CODEC JAS_ENABLE_LIBHEIF JAS_INCLUDE_HEIC_CODEC
HEIF_LIB_DEPENDS= libheif.so:graphics/libheif
OPENGL_CMAKE_BOOL= JAS_ENABLE_OPENGL
OPENGL_USE= GL=gl,glu,glut XORG=x11,xext,xi,xmu
OPENGL_USES= gl xorg
TEST_BUILD_DEPENDS= bash:shells/bash
TEST_USES= shebangfix
TEST_VARS= SHEBANG_FILES=test/bin/*
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/jasper.pdf ${WRKSRC}/doc/jpeg2000.pdf ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/jpeg2000.pdf ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1642102783
SHA256 (jasper-2.0.33.tar.gz) = 28d28290cc2eaf70c8756d391ed8bcc8ab809a895b9a67ea6e89da23a611801a
SIZE (jasper-2.0.33.tar.gz) = 2027526
TIMESTAMP = 1645649176
SHA256 (jasper-3.0.2.tar.gz) = 8b823a5354812c3be36a8e5a1b5b34a281bdc0e73f38d3c9a86303ee9e3cfbd3
SIZE (jasper-3.0.2.tar.gz) = 2073053

View File

@ -1,11 +0,0 @@
--- build/cmake/modules/JasOpenGL.cmake.orig 2020-09-05 14:52:22 UTC
+++ build/cmake/modules/JasOpenGL.cmake
@@ -4,7 +4,7 @@
if (JAS_ENABLE_OPENGL)
set(OpenGL_GL_PREFERENCE GLVND)
- find_package(OpenGL ${JAS_REQUIRED})
+ find_package(OpenGL ${JAS_OPENGL_REQUIRED})
message("OpenGL library found: ${OPENGL_FOUND}")
else()
set(OPENGL_FOUND false)

View File

@ -7,29 +7,31 @@ include/jasper/jas_compiler.h
include/jasper/jas_config.h
include/jasper/jas_debug.h
include/jasper/jas_dll.h
include/jasper/jas_export_cmake.h
include/jasper/jas_fix.h
include/jasper/jas_getopt.h
include/jasper/jas_icc.h
include/jasper/jas_image.h
include/jasper/jas_init.h
include/jasper/jas_log.h
include/jasper/jas_malloc.h
include/jasper/jas_math.h
include/jasper/jas_seq.h
include/jasper/jas_stream.h
include/jasper/jas_string.h
include/jasper/jas_thread.h
include/jasper/jas_tmr.h
include/jasper/jas_tvp.h
include/jasper/jas_types.h
include/jasper/jas_version.h
include/jasper/jasper.h
lib/libjasper.so
lib/libjasper.so.4
lib/libjasper.so.4.0.0
lib/libjasper.so.6
lib/libjasper.so.6.0.0
libdata/pkgconfig/jasper.pc
man/man1/imgcmp.1.gz
man/man1/imginfo.1.gz
man/man1/jasper.1.gz
%%OPENGL%%man/man1/jiv.1.gz
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/jasper.pdf
%%PORTDOCS%%%%DOCSDIR%%/README.md
%%PORTDOCS%%%%DOCSDIR%%/jpeg2000.pdf