git: 383777462259 - main - x11-toolkits/irrlicht: update to 1.8.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Nov 2021 13:13:18 UTC
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=383777462259002cf325bfb33441f9b8cb5d9847 commit 383777462259002cf325bfb33441f9b8cb5d9847 Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2021-11-09 12:45:26 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2021-11-09 13:12:12 +0000 x11-toolkits/irrlicht: update to 1.8.5 - Pet portlint - Make sure to remove bundled dependencies - Strip library - Remove no longer needed patch --- x11-toolkits/irrlicht/Makefile | 13 ++++++++++--- x11-toolkits/irrlicht/distinfo | 6 +++--- x11-toolkits/irrlicht/files/patch-source-Irrlicht_Makefile | 9 +++++---- .../files/patch-source__Irrlicht__COpenGLExtensionHandler.h | 12 ------------ 4 files changed, 18 insertions(+), 22 deletions(-) diff --git a/x11-toolkits/irrlicht/Makefile b/x11-toolkits/irrlicht/Makefile index 844e93ce9d26..7ca5cfe37a4a 100644 --- a/x11-toolkits/irrlicht/Makefile +++ b/x11-toolkits/irrlicht/Makefile @@ -1,8 +1,7 @@ # Created by: Simon Barner <barner@gmx.de> PORTNAME= irrlicht -PORTVERSION= 1.8.4 -PORTREVISION= 3 +PORTVERSION= 1.8.5 CATEGORIES= x11-toolkits graphics MASTER_SITES= SF/${PORTNAME}/Irrlicht%20SDK/${PORTVERSION:R}/${PORTVERSION}/ @@ -14,8 +13,8 @@ LICENSE_FILE= ${WRKSRC}/readme.txt LIB_DEPENDS= libpng.so:graphics/png -DOS2UNIX_GLOB= Makefile *.cpp *.h *.txt USES= alias cpe dos2unix gl gmake jpeg zip xorg +DOS2UNIX_GLOB= Makefile *.cpp *.h *.txt USE_GL= gl USE_XORG= x11 xxf86vm USE_LDCONFIG= yes @@ -35,6 +34,11 @@ OPTIONS_DEFINE= DEBUG EXAMPLES DEBUG_MAKE_ENV_OFF= NDEBUG=1 +post-extract: +.for bundled in bzip2 jpeglib libpng zlib + @${RM} -r ${WRKSRC}/source/Irrlicht/${bundled} +.endfor + post-patch: @${REINPLACE_CMD} -e '/#define.*_IRR_USE_NON_SYSTEM_JPEG_LIB_/ d' \ -e '/#define.*_IRR_USE_NON_SYSTEM_LIB_PNG_/ d' \ @@ -43,6 +47,9 @@ post-patch: -e '/#define.*_IRR_COMPILE_WITH_JOYSTICK_EVENTS_/ d' \ ${WRKSRC}/include/IrrCompileConfig.h +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libIrrlicht.so + post-install-EXAMPLES-on: cd ${WRKSRC}/examples && ${COPYTREE_SHARE} "${EXAMPLEDIRS}" \ ${STAGEDIR}${EXAMPLESDIR} \ diff --git a/x11-toolkits/irrlicht/distinfo b/x11-toolkits/irrlicht/distinfo index 72199b037e84..c35fcf093d4e 100644 --- a/x11-toolkits/irrlicht/distinfo +++ b/x11-toolkits/irrlicht/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1471244398 -SHA256 (irrlicht-1.8.4.zip) = f42b280bc608e545b820206fe2a999c55f290de5c7509a02bdbeeccc1bf9e433 -SIZE (irrlicht-1.8.4.zip) = 27927144 +TIMESTAMP = 1636380510 +SHA256 (irrlicht-1.8.5.zip) = effb7beed3985099ce2315a959c639b4973aac8210f61e354475a84105944f3d +SIZE (irrlicht-1.8.5.zip) = 21827696 diff --git a/x11-toolkits/irrlicht/files/patch-source-Irrlicht_Makefile b/x11-toolkits/irrlicht/files/patch-source-Irrlicht_Makefile index 45820c030e0f..a4b9a956780f 100644 --- a/x11-toolkits/irrlicht/files/patch-source-Irrlicht_Makefile +++ b/x11-toolkits/irrlicht/files/patch-source-Irrlicht_Makefile @@ -1,12 +1,13 @@ ---- source/Irrlicht/Makefile.orig 2014-10-18 07:47:20 UTC +--- source/Irrlicht/Makefile.orig 2021-11-08 14:14:39 UTC +++ source/Irrlicht/Makefile -@@ -56,23 +56,20 @@ +@@ -58,23 +58,20 @@ BZIP2OBJ = bzip2/blocksort.o bzip2/huffman.o bzip2/crc EXTRAOBJ = LINKOBJ = $(IRRMESHOBJ) $(IRROBJ) $(IRRPARTICLEOBJ) $(IRRANIMOBJ) \ $(IRRVIDEOOBJ) $(IRRSWRENDEROBJ) $(IRRIOOBJ) $(IRROTHEROBJ) \ - $(IRRGUIOBJ) $(ZLIBOBJ) $(JPEGLIBOBJ) $(LIBPNGOBJ) $(LIBAESGM) \ +- $(BZIP2OBJ) $(EXTRAOBJ) + $(IRRGUIOBJ) $(LIBAESGM) \ - $(BZIP2OBJ) $(EXTRAOBJ) ++ $(EXTRAOBJ) ############### #Compiler flags @@ -26,7 +27,7 @@ sharedlib sharedlib_osx: CXXFLAGS += -fPIC sharedlib sharedlib_osx: CFLAGS += -fPIC -@@ -83,13 +80,13 @@ +@@ -85,13 +82,13 @@ LIBSELECT=64 endif #Linux specific options diff --git a/x11-toolkits/irrlicht/files/patch-source__Irrlicht__COpenGLExtensionHandler.h b/x11-toolkits/irrlicht/files/patch-source__Irrlicht__COpenGLExtensionHandler.h deleted file mode 100644 index 8833461a0710..000000000000 --- a/x11-toolkits/irrlicht/files/patch-source__Irrlicht__COpenGLExtensionHandler.h +++ /dev/null @@ -1,12 +0,0 @@ ---- source/Irrlicht/COpenGLExtensionHandler.h.orig 2014-10-18 08:53:44 UTC -+++ source/Irrlicht/COpenGLExtensionHandler.h -@@ -59,6 +59,9 @@ - #endif - #include <GL/gl.h> - #include <GL/glx.h> -+ #ifndef PFNGLBLENDEQUATIONPROC -+ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); -+ #endif - #if defined(_IRR_OPENGL_USE_EXTPOINTER_) - #include "glext.h" - #undef GLX_ARB_get_proc_address // avoid problems with local glxext.h