pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games/openclonk
Module Name: pkgsrc
Committed By: charlotte
Date: Thu Jun 20 17:02:50 UTC 2024
Added Files:
pkgsrc/games/openclonk: DESCR Makefile PLIST distinfo
pkgsrc/games/openclonk/patches: patch-CMakeLists.txt
Log Message:
games/openclonk: New package
Clonk is a multiplayer-action-tactics-skill game. It is often referred to as a
mixture of The Settlers and Worms. In a simple 2D antfarm-style landscape, the
player controls their crew of Clonks, small but robust humanoid beings. The
game encourages free play but the normal goal is to either exploit valuable
resources from the earth by building a mine or fight each other on an
arena-like map.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/games/openclonk/DESCR \
pkgsrc/games/openclonk/Makefile pkgsrc/games/openclonk/PLIST \
pkgsrc/games/openclonk/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/openclonk/patches/patch-CMakeLists.txt
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/games/openclonk/DESCR
diff -u /dev/null pkgsrc/games/openclonk/DESCR:1.1
--- /dev/null Thu Jun 20 17:02:50 2024
+++ pkgsrc/games/openclonk/DESCR Thu Jun 20 17:02:49 2024
@@ -0,0 +1,6 @@
+Clonk is a multiplayer-action-tactics-skill game. It is often referred to as a
+mixture of The Settlers and Worms. In a simple 2D antfarm-style landscape, the
+player controls their crew of Clonks, small but robust humanoid beings. The
+game encourages free play but the normal goal is to either exploit valuable
+resources from the earth by building a mine or fight each other on an
+arena-like map.
Index: pkgsrc/games/openclonk/Makefile
diff -u /dev/null pkgsrc/games/openclonk/Makefile:1.1
--- /dev/null Thu Jun 20 17:02:50 2024
+++ pkgsrc/games/openclonk/Makefile Thu Jun 20 17:02:49 2024
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1 2024/06/20 17:02:49 charlotte Exp $
+
+PKGNAME= openclonk-8.1
+DISTNAME= openclonk-${PKGVERSION_NOREV}-src
+CATEGORIES= games
+MASTER_SITES= http://www.openclonk.org/builds/release/${VERSION}/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= charlotte%NetBSD.org@localhost
+HOMEPAGE= http://www.openclonk.org/
+COMMENT= Open source successor of the Clonk gaming series
+LICENSE= isc
+
+WRKSRC= ${WRKDIR}/openclonk-release-${PKGVERSION_NOREV}-src
+EXTRACT_USING= gtar
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= pkg-config
+GCC_REQD+= 4.9
+
+.include "../../audio/SDL2_mixer/buildlink3.mk"
+.include "../../audio/freealut/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../audio/openal-soft/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/glew/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../multimedia/libogg/buildlink3.mk"
+.include "../../net/miniupnpc/buildlink3.mk"
+.include "../../textproc/tinyxml/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../x11/gtksourceview3/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/games/openclonk/PLIST
diff -u /dev/null pkgsrc/games/openclonk/PLIST:1.1
--- /dev/null Thu Jun 20 17:02:50 2024
+++ pkgsrc/games/openclonk/PLIST Thu Jun 20 17:02:49 2024
@@ -0,0 +1,32 @@
+@comment $NetBSD: PLIST,v 1.1 2024/06/20 17:02:49 charlotte Exp $
+bin/c4group
+games/openclonk
+share/appdata/openclonk.appdata.xml
+share/applications/openclonk.desktop
+share/games/openclonk/Arena.ocf
+share/games/openclonk/Decoration.ocd
+share/games/openclonk/Defense.ocf
+share/games/openclonk/Graphics.ocg
+share/games/openclonk/Material.ocg
+share/games/openclonk/Missions.ocf
+share/games/openclonk/Music.ocg/@CrushedIceCocktail.ogg
+share/games/openclonk/Music.ocg/Cavern.ogg
+share/games/openclonk/Music.ocg/IslandDreams.ogg
+share/games/openclonk/Music.ocg/LucidDream.ogg
+share/games/openclonk/Music.ocg/Motorway.ogg
+share/games/openclonk/Music.ocg/Offshore.ogg
+share/games/openclonk/Music.ocg/TheSkylands.ogg
+share/games/openclonk/Music.ocg/UrbanBolero.ogg
+share/games/openclonk/Music.ocg/Version.txt
+share/games/openclonk/Music.ocg/authors.txt
+share/games/openclonk/Objects.ocd
+share/games/openclonk/Parkour.ocf
+share/games/openclonk/Sound.ocg
+share/games/openclonk/System.ocg
+share/games/openclonk/Tutorials.ocf
+share/games/openclonk/Worlds.ocf
+share/icons/hicolor/128x128/apps/openclonk.png
+share/icons/hicolor/256x256/apps/openclonk.png
+share/icons/hicolor/32x32/apps/openclonk.png
+share/icons/hicolor/512x512/apps/openclonk.png
+share/icons/hicolor/64x64/apps/openclonk.png
Index: pkgsrc/games/openclonk/distinfo
diff -u /dev/null pkgsrc/games/openclonk/distinfo:1.1
--- /dev/null Thu Jun 20 17:02:50 2024
+++ pkgsrc/games/openclonk/distinfo Thu Jun 20 17:02:49 2024
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2024/06/20 17:02:49 charlotte Exp $
+
+BLAKE2s (openclonk-8.1-src.tar.bz2) = 3c71fb0de076096b4860cbbbb21d2e45421bbf9f54e88396450633b9e696cbd0
+SHA512 (openclonk-8.1-src.tar.bz2) = b52a2fba0906cc80fffe2ce308bb4631d4e2d4ada6b8442856deb5e729d37d5c473c3c1a50765eb0bd978d9e3c874d83e0d60f67f44d9535a3ac432029849f6c
+Size (openclonk-8.1-src.tar.bz2) = 120149164 bytes
+SHA1 (patch-CMakeLists.txt) = f0d0eac3227c0bf3ff11cb85203ba471de8d9344
Index: pkgsrc/games/openclonk/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/games/openclonk/patches/patch-CMakeLists.txt:1.1
--- /dev/null Thu Jun 20 17:02:50 2024
+++ pkgsrc/games/openclonk/patches/patch-CMakeLists.txt Thu Jun 20 17:02:50 2024
@@ -0,0 +1,46 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2024/06/20 17:02:50 charlotte Exp $
+
+Don't attempt to deal with link-time optimization manually; CMake is smart
+enough to figure it out on its own.
+
+--- CMakeLists.txt.orig 2020-02-12 22:30:26.516115047 -0800
++++ CMakeLists.txt 2020-02-12 22:30:36.341115137 -0800
+@@ -91,38 +91,6 @@
+ endforeach()
+ endfunction()
+
+-CHECK_CXX_COMPILER_FLAG("-flto" USE_GCC_STYLE_LTCG)
+-if(USE_GCC_STYLE_LTCG)
+- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -flto")
+- set(CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS_MINSIZEREL} -flto")
+- add_linker_flags(optimized MODULES exe shared FLAGS -flto)
+-
+- # Use GCC's ar and ranlib wrappers if necessary, because the plain ones
+- # don't understand lto objects without an explicit plugin parameter
+- if(CMAKE_C_COMPILER MATCHES "gcc$")
+- set(LTCG_NEEDS_AR_WRAPPER 1)
+- set(LTCG_AR_WRAPPER_PREFIX "${CMAKE_C_COMPILER}")
+- elseif(CMAKE_C_COMPILER MATCHES "cc$")
+- set(LTCG_NEEDS_AR_WRAPPER 1)
+- set(LTCG_AR_WRAPPER_PREFIX "gcc")
+- else()
+- set(LTCG_NEEDS_AR_WRAPPER 0)
+- endif()
+-
+- if(LTCG_NEEDS_AR_WRAPPER)
+- find_program(AR_WRAPPER "${LTCG_AR_WRAPPER_PREFIX}-ar")
+- if (AR_WRAPPER)
+- message("Using ${AR_WRAPPER} instead of ${CMAKE_AR} to support lto objects.")
+- set(CMAKE_AR "${AR_WRAPPER}" CACHE FILEPATH "Path to an ar that supports lto objects." FORCE)
+- endif()
+- find_program(RANLIB_WRAPPER "${LTCG_AR_WRAPPER_PREFIX}-ranlib")
+- if (RANLIB_WRAPPER)
+- message("Using ${RANLIB_WRAPPER} instead of ${CMAKE_RANLIB} to support lto objects.")
+- set(CMAKE_RANLIB "${RANLIB_WRAPPER}" CACHE FILEPATH "Path to a ranlib that supports lto objects." FORCE)
+- endif()
+- endif()
+-endif()
+-
+ if(MSVC)
+ if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
+ # Set up some additional flags only if we're using the MS compiler,
Home |
Main Index |
Thread Index |
Old Index