git: 43c1fb3f25f7 - main - games/irrlamb: update 1.0.2 → 1.0.3

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Fri, 03 Jun 2022 17:49:03 UTC
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=43c1fb3f25f780569f62ec414accb4482e11948f

commit 43c1fb3f25f780569f62ec414accb4482e11948f
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-06-03 13:24:40 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-06-03 17:44:33 +0000

    games/irrlamb: update 1.0.2 → 1.0.3
---
 games/irrlamb/Makefile                   |  5 +++--
 games/irrlamb/distinfo                   |  6 +++---
 games/irrlamb/files/patch-CMakeLists.txt | 28 +++++++---------------------
 3 files changed, 13 insertions(+), 26 deletions(-)

diff --git a/games/irrlamb/Makefile b/games/irrlamb/Makefile
index 198f03e90f20..4bec2e136304 100644
--- a/games/irrlamb/Makefile
+++ b/games/irrlamb/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	irrlamb
-PORTVERSION=	1.0.2
+PORTVERSION=	1.0.3
 DISTVERSIONPREFIX=	v
 CATEGORIES=	games
 
@@ -36,7 +36,8 @@ PORTDATA=	*
 
 PLIST_FILES=	bin/irrlamb \
 		share/applications/irrlamb.desktop \
-		share/icons/hicolor/256x256/apps/irrlamb.png
+		share/icons/hicolor/256x256/apps/irrlamb.png \
+		share/metainfo/irrlamb.xml
 
 OPTIONS_DEFINE=	DOCS
 
diff --git a/games/irrlamb/distinfo b/games/irrlamb/distinfo
index 798e8d791564..4b99803f3d1e 100644
--- a/games/irrlamb/distinfo
+++ b/games/irrlamb/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1653524155
-SHA256 (jazztickets-irrlamb-v1.0.2_GH0.tar.gz) = 7db4368848145a1993293adbf8719ac6a2cdff8538cbe264a2aaedef06d8f9bd
-SIZE (jazztickets-irrlamb-v1.0.2_GH0.tar.gz) = 39972531
+TIMESTAMP = 1654257097
+SHA256 (jazztickets-irrlamb-v1.0.3_GH0.tar.gz) = fd5cd85241c900707db258bef0ba6646029ed18cc38a27a4ca2f548c32e1d88b
+SIZE (jazztickets-irrlamb-v1.0.3_GH0.tar.gz) = 39972048
 SHA256 (jazztickets-cmake-6e3586a_GH0.tar.gz) = 2f25931465584c783c1d357a9c544a46cea2d23a147ccb5519ace726723f101f
 SIZE (jazztickets-cmake-6e3586a_GH0.tar.gz) = 10818
diff --git a/games/irrlamb/files/patch-CMakeLists.txt b/games/irrlamb/files/patch-CMakeLists.txt
index 2fbcc3f1e65e..ca23eebd2f94 100644
--- a/games/irrlamb/files/patch-CMakeLists.txt
+++ b/games/irrlamb/files/patch-CMakeLists.txt
@@ -1,9 +1,10 @@
---- CMakeLists.txt.orig	2022-05-23 17:54:07 UTC
+--- CMakeLists.txt.orig	2022-06-03 00:15:34 UTC
 +++ CMakeLists.txt
-@@ -8,19 +8,14 @@ endif()
+@@ -7,14 +7,14 @@ if(EXISTS "${PROJECT_SOURCE_DIR}/tools")
+ endif()
  
  # define constants
- add_definitions(-DGAME_VERSION="1.0.2")
+ add_definitions(-DGAME_VERSION="1.0.3")
 -add_definitions(-D_IRR_STATIC_LIB_)
 -add_definitions(-DdIDEDOUBLE)
 -add_definitions(-DCCD_IDEDOUBLE)
@@ -19,24 +20,9 @@
 +#add_definitions(-DdLIBCCD_ENABLED)
 +#add_definitions(-DdLIBCCD_CYL_CYL)
  
--# set default build type
--if(NOT CMAKE_BUILD_TYPE)
--	set(CMAKE_BUILD_TYPE Release)
--endif()
--
  # add extra find modules
  set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake;${CMAKE_MODULE_PATH}")
- 
-@@ -39,7 +34,7 @@ elseif(UNIX)
- endif()
- 
- # compiler flags
--set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-deprecated-declarations -pedantic -std=gnu++11 -msse -mfpmath=sse")
-+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-deprecated-declarations -pedantic -std=gnu++11")
- set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DdNODEBUG -s")
- set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DdNODEBUG -s")
- 
-@@ -50,6 +45,14 @@ include_directories(${X11_Xrandr_INCLUDE_PATH})
+@@ -53,6 +53,14 @@ include_directories(${X11_Xrandr_INCLUDE_PATH})
  include_directories(${X11_X11_INCLUDE_PATH})
  include_directories(${X11_xf86vmode_INCLUDE_PATH})
  
@@ -51,7 +37,7 @@
  # pandora devices
  if(PANDORA)
  	add_definitions("-DPANDORA")
-@@ -124,15 +127,15 @@ if(WIN32)
+@@ -127,15 +135,15 @@ if(WIN32)
  else()
  
  	# linux installation
@@ -75,4 +61,4 @@
 +	install(DIRECTORY ${PROJECT_SOURCE_DIR}/working/ui DESTINATION share/${CMAKE_PROJECT_NAME})
  	install(FILES ${PROJECT_SOURCE_DIR}/deployment/${CMAKE_PROJECT_NAME}.png DESTINATION share/icons/hicolor/256x256/apps)
  	install(FILES ${PROJECT_SOURCE_DIR}/deployment/${CMAKE_PROJECT_NAME}.desktop DESTINATION share/applications)
- 	install(FILES ${PROJECT_SOURCE_DIR}/CHANGELOG DESTINATION share/doc/${CMAKE_PROJECT_NAME})
+ 	install(FILES ${PROJECT_SOURCE_DIR}/deployment/${CMAKE_PROJECT_NAME}.xml DESTINATION share/metainfo)