summaryrefslogtreecommitdiff
path: root/graphics/ogre3d
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ogre3d')
-rw-r--r--graphics/ogre3d/Makefile11
-rw-r--r--graphics/ogre3d/distinfo6
-rw-r--r--graphics/ogre3d/files/patch-OgreMain_include_OgrePlatformInformation.h10
-rw-r--r--graphics/ogre3d/pkg-plist10
4 files changed, 27 insertions, 10 deletions
diff --git a/graphics/ogre3d/Makefile b/graphics/ogre3d/Makefile
index 1a1b807c6a5e..1d982d363f2e 100644
--- a/graphics/ogre3d/Makefile
+++ b/graphics/ogre3d/Makefile
@@ -1,6 +1,6 @@
PORTNAME= ogre3d
DISTVERSIONPREFIX= v
-DISTVERSION= 14.3.4
+DISTVERSION= 14.4.1
CATEGORIES= graphics devel
MAINTAINER= fluffy@FreeBSD.org
@@ -14,8 +14,6 @@ LIB_DEPENDS= libzzip.so:devel/zziplib \
libfreetype.so:print/freetype2
# libimgui.so:x11-toolkits/imgui
-CONFLICTS= ogre3d19
-
USES= cmake compiler:c++14-lang pkgconfig sdl xorg
USE_LDCONFIG= yes
USE_SDL= sdl2
@@ -25,6 +23,8 @@ USE_GITHUB= yes
GH_ACCOUNT= OGRECave
GH_PROJECT= ogre
+CONFLICTS= ogre3d19
+
PORTDOCS= *
CMAKE_ARGS+= OGRE_MEDIA_PATH="share/OGRE/Media"
@@ -65,19 +65,20 @@ PROFILE_CMAKE_BOOL= OGRE_PROFILING
CSHARP_DESC= Build Csharp bindings
CSHARP_CMAKE_BOOL= OGRE_BUILD_COMPONENT_CSHARP
CSHARP_BUILD_DEPENDS= swig:devel/swig
+CSHARP_USES= mono
JAVA_CMAKE_BOOL= OGRE_BUILD_COMPONENT_JAVA
JAVA_BUILD_DEPENDS= swig:devel/swig
JAVA_VARS= CMAKE_ARGS+=-DJAVA_HOME=${JAVA_HOME}
JAVA_USES= java
-JAVA_BROKEN= error: incompatible types: SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t__iterator cannot be converted to Iterator
+JAVA_CATEGORIES= java
PYTHON_CMAKE_BOOL= OGRE_BUILD_COMPONENT_PYTHON
PYTHON_BUILD_DEPENDS= swig:devel/swig
PYTHON_USES= python
CXXFLAGS+= -DNDEBUG -I${LOCALBASE}/include -I${LOCALBASE}/include/Imath
-PLIST_SUB+= LIBVERSION=${PORTVERSION:R}
+PLIST_SUB+= LIBVERSION=${PORTVERSION:R} PORTVERSION=${PORTVERSION}
.include <bsd.port.options.mk>
diff --git a/graphics/ogre3d/distinfo b/graphics/ogre3d/distinfo
index bcf8fc423cc4..7a1d6f8b7ca0 100644
--- a/graphics/ogre3d/distinfo
+++ b/graphics/ogre3d/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1746126799
-SHA256 (OGRECave-ogre-v14.3.4_GH0.tar.gz) = 0c74e6ca7bb920ff59c5da8a359e6d96215c7804261301feec4f2e54f206b27d
-SIZE (OGRECave-ogre-v14.3.4_GH0.tar.gz) = 94000790
+TIMESTAMP = 1757413152
+SHA256 (OGRECave-ogre-v14.4.1_GH0.tar.gz) = 1c1d5d48b26acf8dd3f32fcb4cafd1216f9fe3a2ceec260ec086926651ad74de
+SIZE (OGRECave-ogre-v14.4.1_GH0.tar.gz) = 94149361
diff --git a/graphics/ogre3d/files/patch-OgreMain_include_OgrePlatformInformation.h b/graphics/ogre3d/files/patch-OgreMain_include_OgrePlatformInformation.h
new file mode 100644
index 000000000000..be3a704ff2e6
--- /dev/null
+++ b/graphics/ogre3d/files/patch-OgreMain_include_OgrePlatformInformation.h
@@ -0,0 +1,10 @@
+--- OgreMain/include/OgrePlatformInformation.h.orig 2025-07-24 17:32:02 UTC
++++ OgreMain/include/OgrePlatformInformation.h
+@@ -36,7 +36,7 @@ namespace Ogre {
+ #if OGRE_DOUBLE_PRECISION == 0 && OGRE_CPU == OGRE_CPU_X86 && OGRE_COMPILER == OGRE_COMPILER_MSVC
+ # define __OGRE_HAVE_SSE 1
+ #elif OGRE_DOUBLE_PRECISION == 0 && OGRE_CPU == OGRE_CPU_X86 && (OGRE_COMPILER == OGRE_COMPILER_GNUC || OGRE_COMPILER == OGRE_COMPILER_CLANG) && \
+- OGRE_PLATFORM != OGRE_PLATFORM_APPLE_IOS
++ OGRE_PLATFORM != OGRE_PLATFORM_APPLE_IOS && defined(__amd64__)
+ # define __OGRE_HAVE_SSE 1
+ #endif
diff --git a/graphics/ogre3d/pkg-plist b/graphics/ogre3d/pkg-plist
index bbf4a7d03727..43c4cf81ae9b 100644
--- a/graphics/ogre3d/pkg-plist
+++ b/graphics/ogre3d/pkg-plist
@@ -582,9 +582,13 @@ lib/OGRE/cmake/OGREConfig.cmake
lib/OGRE/cmake/OGREConfigVersion.cmake
lib/OGRE/cmake/OgreTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/OGRE/cmake/OgreTargets.cmake
+%%JAVA%%lib/OGRE/libOgreJNI.so
+%%CSHARP%%lib/cli/ogre-sharp-%%PORTVERSION%%/Ogre.dll
+%%CSHARP%%lib/cli/ogre-sharp-%%PORTVERSION%%/libOgre.so
lib/libOgreBites.so
lib/libOgreBites.so.%%LIBVERSION%%
%%BULLET%%lib/libOgreBullet.so
+%%JAVA%%lib/libOgreJNI.so
lib/libOgreMain.so
lib/libOgreMain.so.%%LIBVERSION%%
lib/libOgreMeshLodGenerator.so
@@ -986,6 +990,7 @@ share/OGRE-%%LIBVERSION%%/Media/materials/scripts/Laplace.material
share/OGRE-%%LIBVERSION%%/Media/materials/scripts/LigthShafts.material
share/OGRE-%%LIBVERSION%%/Media/materials/scripts/MotionBlur.material
share/OGRE-%%LIBVERSION%%/Media/materials/scripts/NightVision.material
+share/OGRE-%%LIBVERSION%%/Media/materials/scripts/Ocean.controls
share/OGRE-%%LIBVERSION%%/Media/materials/scripts/Ocean.material
share/OGRE-%%LIBVERSION%%/Media/materials/scripts/OffsetMapping.material
share/OGRE-%%LIBVERSION%%/Media/materials/scripts/Ogre.material
@@ -1319,9 +1324,10 @@ share/OGRE-%%LIBVERSION%%/Media/thumbnails/thumb_water.png
share/OGRE-%%LIBVERSION%%/Media/volumeTerrain/triplanarReference.material
share/OGRE-%%LIBVERSION%%/Media/volumeTerrain/volumeTerrain.cfg
share/OGRE-%%LIBVERSION%%/Media/volumeTerrain/volumeTerrainBig.zip
-%%JAVA%%share/OGRE/java/Ogre-14.3.jar
-%%JAVA%%lib/OGRE/libOgreJNI.so
+%%JAVA%%share/OGRE/java/Ogre-%%PORTVERSION%%.jar
+%%JAVA%%%%JAVASHAREDIR%%/Ogre-%%PORTVERSION%%.jar
share/OGRE-%%LIBVERSION%%/plugins.cfg
share/OGRE-%%LIBVERSION%%/resources.cfg
share/OGRE-%%LIBVERSION%%/samples.cfg
%%JAVA%%@dir share/OGRE/java
+%%CSHARP%%@dir lib/cli