git: d65269af44ec - main - graphics/simpleviewer: the port had been updated to version 3.1.9
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 May 2024 10:04:11 UTC
The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=d65269af44ec08a8791792065d5b1dd389184af2 commit d65269af44ec08a8791792065d5b1dd389184af2 Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2024-05-29 10:03:04 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2024-05-29 10:03:04 +0000 graphics/simpleviewer: the port had been updated to version 3.1.9 Employ the ?dummy=/ trick in the download URL so that the standard DISTNAME works and we can drop DIST_SUBDIR. --- graphics/simpleviewer/Makefile | 10 ++++------ graphics/simpleviewer/distinfo | 6 +++--- graphics/simpleviewer/files/patch-CMakeLists.txt | 6 +++--- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/graphics/simpleviewer/Makefile b/graphics/simpleviewer/Makefile index 82ce2dfd6d89..668875d9fb22 100644 --- a/graphics/simpleviewer/Makefile +++ b/graphics/simpleviewer/Makefile @@ -1,10 +1,7 @@ PORTNAME= simpleviewer -PORTVERSION= 3.1.7 -PORTREVISION= 21 +PORTVERSION= 3.1.9 CATEGORIES= graphics -MASTER_SITES= https://bitbucket.org/andreyu/simple-viewer-gl/get/ -DISTNAME= v${PORTVERSION} # version tag, has no embedded ${PORTNAME} -DIST_SUBDIR= ${PORTNAME} # and that's why we need ${DIST_SUBDIR} +MASTER_SITES= https://bitbucket.org/andreyu/simple-viewer-gl/get/${BB_COMMIT}.tar.bz2?dummy=/ MAINTAINER= danfe@FreeBSD.org COMMENT= Small and simple image viewer based on OpenGL @@ -25,7 +22,8 @@ CMAKE_ARGS= -DAPP_VERSION_MAJOR:STRING=${PORTVERSION:S/./ /g:[1]} \ -DAPP_VERSION_MINOR:STRING=${PORTVERSION:S/./ /g:[2]} \ -DAPP_VERSION_RELEASE:STRING=${PORTVERSION:S/./ /g:[3]} -WRKSRC= ${WRKDIR}/andreyu-simple-viewer-gl-d8928067922d +BB_COMMIT= cded7dfe23c4 +WRKSRC= ${WRKDIR}/andreyu-simple-viewer-gl-${BB_COMMIT} PLIST_FILES= bin/sviewgl ${DATADIR_REL}/Icon-1024.png \ ${DATADIR_REL}/Icon-16.png ${DATADIR_REL}/Icon-32.png diff --git a/graphics/simpleviewer/distinfo b/graphics/simpleviewer/distinfo index dcfe156f42b1..96fdff89baa5 100644 --- a/graphics/simpleviewer/distinfo +++ b/graphics/simpleviewer/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1573635164 -SHA256 (simpleviewer/v3.1.7.tar.bz2) = 7ac309f080d7095f824b580fb02b066914c81b0bef1daa82cd474d06e23bf7f7 -SIZE (simpleviewer/v3.1.7.tar.bz2) = 893495 +TIMESTAMP = 1671715617 +SHA256 (simpleviewer-3.1.9.tar.bz2) = be6ee4b6ffbd5b486168584cf8d9e9c28fd754469236764ce30cf7bd456a9c1c +SIZE (simpleviewer-3.1.9.tar.bz2) = 1385056 diff --git a/graphics/simpleviewer/files/patch-CMakeLists.txt b/graphics/simpleviewer/files/patch-CMakeLists.txt index 24b62436eeaf..1a2cb795ef7a 100644 --- a/graphics/simpleviewer/files/patch-CMakeLists.txt +++ b/graphics/simpleviewer/files/patch-CMakeLists.txt @@ -4,7 +4,7 @@ if(CMAKE_BUILD_TYPE STREQUAL "Release") message(STATUS "* Release Build *") add_definitions("-DNDEBUG" ) -- add_definitions("-Wall -Wextra -pedantic -pedantic-errors -O2") +- add_definitions("-Wall -Wextra -pedantic -pedantic-errors -Wno-unused-function -Wno-deprecated-register -O2") + add_definitions("-Wall -Wextra") else() message(STATUS "* Debug Build *") @@ -13,8 +13,8 @@ if (DISABLE_OPENEXR_SUPPORT EQUAL 0) pkg_check_modules(OPENEXR QUIET OpenEXR) if(OPENEXR_FOUND) -- pkg_check_modules(ILMBASE REQUIRED IlmBase) -+ pkg_check_modules(ILMBASE REQUIRED Imath) +- pkg_check_modules(ILMBASE QUIET IlmBase) ++ pkg_check_modules(ILMBASE QUIET Imath) if(ILMBASE_FOUND) message(STATUS "(+) OpenEXR support enabled") if(VERBOSE_PATHS)