multimedia/assimp: Update 5.1.5 -> 5.2.4

Also:
* simplify test-related code
* add workaround for minizip-related build breakage in new versions
This commit is contained in:
Yuri Victorovich 2022-07-20 12:32:40 -07:00
parent 87a70debad
commit 249f65e1d4
9 changed files with 21 additions and 15 deletions

View file

@ -1,5 +1,6 @@
PORTNAME= vkmark
DISTVERSION= 2017.08-29
PORTREVISION= 1
DISTVERSIONSUFFIX= -gd872846
CATEGORIES= benchmarks wayland

View file

@ -1,6 +1,6 @@
PORTNAME= doomsday
PORTVERSION= 2.3.1
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= SF/deng/Doomsday%20Engine/${PORTVERSION}

View file

@ -1,5 +1,6 @@
PORTNAME= pioneer
DISTVERSION= 20220203
PORTREVISION= 1
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org

View file

@ -1,5 +1,6 @@
PORTNAME= 3d
PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH}
PORTREVISION= 1
CATEGORIES= graphics
PKGNAMEPREFIX= qt5-

View file

@ -1,7 +1,7 @@
PORTNAME= dartsim
DISTVERSIONPREFIX= v
DISTVERSION= 6.12.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= misc
MAINTAINER= yuri@FreeBSD.org

View file

@ -1,6 +1,6 @@
PORTNAME= assimp
DISTVERSIONPREFIX= v
DISTVERSION= 5.1.5
DISTVERSION= 5.2.4
CATEGORIES= multimedia
MAINTAINER= yuri@FreeBSD.org
@ -11,18 +11,18 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_armv6= field within 'Assimp::MDL::Vertex_MDL7' is less aligned than 'Assimp::MDL::Vertex_MDL7::..., see https://github.com/assimp/assimp/issues/4640
USES= cmake:testing compiler:c++11-lib cpe localbase:ldflags minizip pkgconfig
USES= cmake:testing compiler:c++11-lib cpe localbase:ldflags pkgconfig # minizip is disabled for https://github.com/assimp/assimp/issues/4374
USE_GITHUB= yes
USE_LDCONFIG= yes
CMAKE_OFF= ASSIMP_BUILD_TESTS
CMAKE_ON= ASSIMP_BUILD_MINIZIP # workaround for https://github.com/assimp/assimp/issues/4374
CMAKE_TESTING_ON= ASSIMP_BUILD_TESTS
CMAKE_TESTING_TARGET= ${ALL_TARGET} # hack to avoid target
do-test:
post-test:
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -D${CMAKE_TESTING_ON}=ON ${CMAKE_SOURCE_PATH} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} ${CMAKE_TESTING_TARGET} && \
${BUILD_WRKSRC}/bin/unit
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1641403619
SHA256 (assimp-assimp-v5.1.5_GH0.tar.gz) = d62b58ed3b35c20f89570863a5415df97cb1b301b444d39687140fc883717ced
SIZE (assimp-assimp-v5.1.5_GH0.tar.gz) = 48972912
TIMESTAMP = 1658288612
SHA256 (assimp-assimp-v5.2.4_GH0.tar.gz) = 6a4ff75dc727821f75ef529cea1c4fc0a7b5fc2e0a0b2ff2f6b7993fe6cb54ba
SIZE (assimp-assimp-v5.2.4_GH0.tar.gz) = 49613683

View file

@ -1,4 +1,5 @@
bin/assimp
include/assimp/Base64.hpp
include/assimp/BaseImporter.h
include/assimp/Bitmap.h
include/assimp/BlobIOSystem.h
@ -27,6 +28,7 @@ include/assimp/Logger.hpp
include/assimp/MathFunctions.h
include/assimp/MemoryIOWrapper.h
include/assimp/NullLogger.hpp
include/assimp/ObjMaterial.h
include/assimp/ParsingUtils.h
include/assimp/Profiler.h
include/assimp/ProgressHandler.hpp
@ -85,11 +87,11 @@ include/assimp/vector2.inl
include/assimp/vector3.h
include/assimp/vector3.inl
include/assimp/version.h
lib/cmake/assimp-5.1/assimpConfig.cmake
lib/cmake/assimp-5.1/assimpConfigVersion.cmake
lib/cmake/assimp-5.1/assimpTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/assimp-5.1/assimpTargets.cmake
lib/cmake/assimp-5.2/assimpConfig.cmake
lib/cmake/assimp-5.2/assimpConfigVersion.cmake
lib/cmake/assimp-5.2/assimpTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/assimp-5.2/assimpTargets.cmake
lib/libassimp.so
lib/libassimp.so.5
lib/libassimp.so.5.1.4
lib/libassimp.so.5.2.0
libdata/pkgconfig/assimp.pc

View file

@ -1,5 +1,6 @@
PORTNAME= quick3d
PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH}
PORTREVISION= 1
CATEGORIES= x11-toolkits
PKGNAMEPREFIX= qt5-