pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add SSVEntitySystem-20130714 from Romeo Vittorio
Module Name: pkgsrc-wip
Committed By: Iain Hibbert <plunky%netbsd.org@localhost>
Pushed By: plunky
Date: Thu Apr 30 08:45:44 2020 +0100
Changeset: 6f06e9cb8c99445eb2ea364e8aa9c613286f4eb2
Added Files:
SSVEntitySystem/DESCR
SSVEntitySystem/Makefile
SSVEntitySystem/PLIST
SSVEntitySystem/buildlink3.mk
SSVEntitySystem/distinfo
SSVEntitySystem/patches/patch-CMakeLists.txt
Log Message:
Add SSVEntitySystem-20130714 from Romeo Vittorio
There is no version number for this upstream, I have used the date of
the last commit on the submodule tagged by OpenHexagon.
C++14 simple entity/component system for realtime games. Simplicity
of use is preferred over a real "entity-component-system" hierarchy.
Components update and draw themselves (users create their own components
and override the virtual methods). Fast, easy to use and to expand.
Should be fine for any simple game.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6f06e9cb8c99445eb2ea364e8aa9c613286f4eb2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
SSVEntitySystem/DESCR | 5 +++++
SSVEntitySystem/Makefile | 32 ++++++++++++++++++++++++++++
SSVEntitySystem/PLIST | 8 +++++++
SSVEntitySystem/buildlink3.mk | 15 +++++++++++++
SSVEntitySystem/distinfo | 7 ++++++
SSVEntitySystem/patches/patch-CMakeLists.txt | 16 ++++++++++++++
6 files changed, 83 insertions(+)
diffs:
diff --git a/SSVEntitySystem/DESCR b/SSVEntitySystem/DESCR
new file mode 100644
index 0000000000..1cdfa05b53
--- /dev/null
+++ b/SSVEntitySystem/DESCR
@@ -0,0 +1,5 @@
+C++14 simple entity/component system for realtime games. Simplicity
+of use is preferred over a real "entity-component-system" hierarchy.
+Components update and draw themselves (users create their own components
+and override the virtual methods). Fast, easy to use and to expand.
+Should be fine for any simple game.
diff --git a/SSVEntitySystem/Makefile b/SSVEntitySystem/Makefile
new file mode 100644
index 0000000000..6c90e71c0d
--- /dev/null
+++ b/SSVEntitySystem/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD$
+#
+
+# use date of commit as has no version only a tag.
+
+DISTNAME= SSVEntitySystem
+PKGNAME= ${DISTNAME}-20130714
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=SuperV1234/}
+GITHUB_TAG= 8123beabe3bc8ffe91cb94e6ba061254f3bba18b
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/SuperV1234/SSVEntitySystem
+COMMENT= C++14 simple entity/component system for realtime games
+LICENSE= afl-3.0
+
+USE_LANGUAGES= c c++14
+USE_CMAKE= yes
+
+MODULES= ${SSVUTILS_MODULE}
+
+CMAKE_ARGS+= -DBUILD_SHARED_LIB:BOOL=OFF
+CMAKE_ARGS+= -DMODULES=${MODULES:ts;:Q}
+
+INSTALLATION_DIRS+= include/${PKGBASE} lib/cmake/${PKGBASE}
+
+post-install:
+ ${INSTALL_LIB} ${WRKSRC}/cmake/modules/Find${PKGBASE}.cmake \
+ ${DESTDIR}${PREFIX}/lib/cmake/${PKGBASE}
+
+.include "../../wip/SSVUtils/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/SSVEntitySystem/PLIST b/SSVEntitySystem/PLIST
new file mode 100644
index 0000000000..8315890443
--- /dev/null
+++ b/SSVEntitySystem/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+include/SSVEntitySystem/Core/Component.h
+include/SSVEntitySystem/Core/Entity.h
+include/SSVEntitySystem/Core/Manager.h
+include/SSVEntitySystem/Global/Typedefs.h
+include/SSVEntitySystem/SSVEntitySystem.h
+lib/cmake/SSVEntitySystem/FindSSVEntitySystem.cmake
+lib/libSSVEntitySystem-s.a
diff --git a/SSVEntitySystem/buildlink3.mk b/SSVEntitySystem/buildlink3.mk
new file mode 100644
index 0000000000..3172b54e0d
--- /dev/null
+++ b/SSVEntitySystem/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= SSVEntitySystem
+
+.if !defined(SSVENTITYSYSTEM_BUILDLINK3_MK)
+SSVENTITYSYSTEM_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.SSVEntitySystem+= SSVEntitySystem>=20130704
+BUILDLINK_PKGSRCDIR.SSVEntitySystem?= ../../wip/SSVEntitySystem
+
+SSVENTITYSYSTEM_MODULE= ${PREFIX}/lib/cmake/SSVEntitySystem
+
+.endif # SSVENTITYSYSTEM_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -SSVEntitySystem
diff --git a/SSVEntitySystem/distinfo b/SSVEntitySystem/distinfo
new file mode 100644
index 0000000000..2c06bb1ede
--- /dev/null
+++ b/SSVEntitySystem/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (SSVEntitySystem-8123beabe3bc8ffe91cb94e6ba061254f3bba18b.tar.gz) = e950b4d6dc4e9304baaefff7080203480304cf4a
+RMD160 (SSVEntitySystem-8123beabe3bc8ffe91cb94e6ba061254f3bba18b.tar.gz) = 9c149e64d7e44c552afd24ee2766c70d5460e7d9
+SHA512 (SSVEntitySystem-8123beabe3bc8ffe91cb94e6ba061254f3bba18b.tar.gz) = e1baa7cb26bc2215baf569b1aa1a4240b17310b2e1717a23f9e9978cf8bc4f72df64573aa474b17bbfe6896793c48a9facd0ed80e4d0f792631297dd548aaf81
+Size (SSVEntitySystem-8123beabe3bc8ffe91cb94e6ba061254f3bba18b.tar.gz) = 8727 bytes
+SHA1 (patch-CMakeLists.txt) = d4659ae4005801a1caebd1ff3651f41d9974f056
diff --git a/SSVEntitySystem/patches/patch-CMakeLists.txt b/SSVEntitySystem/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..ee11da1219
--- /dev/null
+++ b/SSVEntitySystem/patches/patch-CMakeLists.txt
@@ -0,0 +1,16 @@
+$NetBSD$
+
+allow pkgsrc to point to dependencies
+
+--- CMakeLists.txt.orig 2013-07-13 23:17:16.000000000 +0000
++++ CMakeLists.txt
+@@ -6,8 +6,7 @@ project(SSVEntitySystem)
+ set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wextra -W -pedantic" CACHE STRING "" FORCE)
+ set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -O3" CACHE STRING "" FORCE)
+ set(CMAKE_CXX_FLAGS_DEBUG "-fno-omit-frame-pointer -g3 -gdwarf-2 -O0" CACHE STRING "" FORCE)
+-set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules/;${CMAKE_MODULE_PATH}")
+-set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/extlibs/SSVUtils/cmake/modules/;${CMAKE_MODULE_PATH}")
++set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules/;${MODULES}")
+
+ set(BUILD_SHARED_LIB TRUE CACHE BOOL "Build shared libraries.")
+ if(BUILD_SHARED_LIB)
Home |
Main Index |
Thread Index |
Old Index