pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add SSVStart-20130714 from Romeo Vittorio



Module Name:	pkgsrc-wip
Committed By:	Iain Hibbert <plunky%netbsd.org@localhost>
Pushed By:	plunky
Date:		Thu Apr 30 08:55:59 2020 +0100
Changeset:	60cb561e36eecdca53995af0820aefe644b769e9

Added Files:
	SSVStart/DESCR
	SSVStart/Makefile
	SSVStart/PLIST
	SSVStart/buildlink3.mk
	SSVStart/distinfo
	SSVStart/patches/patch-CMakeLists.txt

Log Message:
Add SSVStart-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 SFML2.0 application/game development framework. Features asset
loading, windows, cameras, file system, logging, vector calculations,
and many other game-dev oriented features. http://vittorioromeo.info

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=60cb561e36eecdca53995af0820aefe644b769e9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 SSVStart/DESCR                        |  3 +++
 SSVStart/Makefile                     | 35 +++++++++++++++++++++++++++++++++++
 SSVStart/PLIST                        | 31 +++++++++++++++++++++++++++++++
 SSVStart/buildlink3.mk                | 15 +++++++++++++++
 SSVStart/distinfo                     |  7 +++++++
 SSVStart/patches/patch-CMakeLists.txt | 24 ++++++++++++++++++++++++
 6 files changed, 115 insertions(+)

diffs:
diff --git a/SSVStart/DESCR b/SSVStart/DESCR
new file mode 100644
index 0000000000..267be30131
--- /dev/null
+++ b/SSVStart/DESCR
@@ -0,0 +1,3 @@
+C++14 SFML2.0 application/game development framework. Features asset
+loading, windows, cameras, file system, logging, vector calculations,
+and many other game-dev oriented features. http://vittorioromeo.info
diff --git a/SSVStart/Makefile b/SSVStart/Makefile
new file mode 100644
index 0000000000..c18f4d5128
--- /dev/null
+++ b/SSVStart/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD$
+#
+
+# use date of commit as has no version only a tag
+
+DISTNAME=	SSVStart
+PKGNAME=	${DISTNAME}-20130714
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=SuperV1234/}
+GITHUB_TAG=	112229f184f5e4cf88c71fe67b4588806d290f71
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/SuperV1234/SSVStart
+COMMENT=	C++14 SFML2.0 application/game development framework
+LICENSE=	afl-3.0
+
+USE_LANGUAGES=	c c++14
+USE_CMAKE=	yes
+
+MODULES=	${SSVJSONCPP_MODULE} ${SSVUTILS_MODULE} ${SSVUTILSJSON_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/sfml+/buildlink3.mk"
+.include "../../wip/SSVJsonCpp/buildlink3.mk"
+.include "../../wip/SSVUtils/buildlink3.mk"
+.include "../../wip/SSVUtilsJson/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/SSVStart/PLIST b/SSVStart/PLIST
new file mode 100644
index 0000000000..0fa5a12337
--- /dev/null
+++ b/SSVStart/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD$
+include/SSVStart/Animation/Animation.h
+include/SSVStart/Assets/AssetFolder.h
+include/SSVStart/Assets/AssetManager.h
+include/SSVStart/Assets/Internal/Helper.h
+include/SSVStart/Assets/Internal/Loader.h
+include/SSVStart/Assets/Internal/ResourceHolder.h
+include/SSVStart/BitmapFont/BitmapFont.h
+include/SSVStart/BitmapFont/BitmapFontData.h
+include/SSVStart/BitmapFont/BitmapText.h
+include/SSVStart/Camera/Camera.h
+include/SSVStart/GameSystem/GameState.h
+include/SSVStart/GameSystem/GameWindow.h
+include/SSVStart/GameSystem/Timers/TimerBase.h
+include/SSVStart/GameSystem/Timers/TimerDynamic.h
+include/SSVStart/GameSystem/Timers/TimerStatic.h
+include/SSVStart/Global/Typedefs.h
+include/SSVStart/Input/Bind.h
+include/SSVStart/Input/Combo.h
+include/SSVStart/Input/Manager.h
+include/SSVStart/Input/Trigger.h
+include/SSVStart/Json/UtilsJson.h
+include/SSVStart/MusicPlayer/MusicPlayer.h
+include/SSVStart/SSVStart.h
+include/SSVStart/SoundPlayer/SoundPlayer.h
+include/SSVStart/Tileset/Tileset.h
+include/SSVStart/Utils/ThreadWrapper.h
+include/SSVStart/Utils/Utils.h
+include/SSVStart/Utils/UtilsInput.h
+lib/cmake/SSVStart/FindSSVStart.cmake
+lib/libSSVStart-s.a
diff --git a/SSVStart/buildlink3.mk b/SSVStart/buildlink3.mk
new file mode 100644
index 0000000000..0d68f7436b
--- /dev/null
+++ b/SSVStart/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	SSVStart
+
+.if !defined(SSVSTART_BUILDLINK3_MK)
+SSVSTART_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.SSVStart+=	SSVStart>=20130714
+BUILDLINK_PKGSRCDIR.SSVStart?=		../../wip/SSVStart
+
+SSVSTART_MODULE=	${PREFIX}/lib/cmake/SSVStart
+
+.endif	# SSVSTART_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-SSVStart
diff --git a/SSVStart/distinfo b/SSVStart/distinfo
new file mode 100644
index 0000000000..b06031d601
--- /dev/null
+++ b/SSVStart/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (SSVStart-112229f184f5e4cf88c71fe67b4588806d290f71.tar.gz) = cbf1fa5b8acad236de089c07f2f6f4d45eabe9a8
+RMD160 (SSVStart-112229f184f5e4cf88c71fe67b4588806d290f71.tar.gz) = 0049b678079b0d0126d57e3014318b1b8f16d26e
+SHA512 (SSVStart-112229f184f5e4cf88c71fe67b4588806d290f71.tar.gz) = 3e2a1114274bb86cee4ec303a7b2be6f7fa24a3cbd74cf4bd9b5f24056fda40188892b11f955e078877fbfe92f4ea1a95e8350438d5921646e74fb1f1de98817
+Size (SSVStart-112229f184f5e4cf88c71fe67b4588806d290f71.tar.gz) = 23834 bytes
+SHA1 (patch-CMakeLists.txt) = e6c5f5fef35a63bb15068aa82437fad170f1aca4
diff --git a/SSVStart/patches/patch-CMakeLists.txt b/SSVStart/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..655200280a
--- /dev/null
+++ b/SSVStart/patches/patch-CMakeLists.txt
@@ -0,0 +1,24 @@
+$NetBSD$
+
+allow pkgsrc to point to dependencies
+
+--- CMakeLists.txt.orig	2013-07-13 23:17:31.000000000 +0000
++++ CMakeLists.txt
+@@ -6,16 +6,9 @@ project(SSVStart)
+ 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(SSVSTART_USE_JSON TRUE CACHE BOOL "Use JSON tools/utilities (Requires SSVJsonCpp and SSVUtilsJson).")
+-if(SSVSTART_USE_JSON)
+-	set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/extlibs/SSVJsonCpp/cmake/modules/;${CMAKE_MODULE_PATH}")
+-	set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/extlibs/SSVUtilsJson/cmake/modules/;${CMAKE_MODULE_PATH}")
+-else()
+-	add_definitions(-DSSVS_N_USE_JSON)
+-endif()
+ 
+ set(BUILD_SHARED_LIB TRUE CACHE BOOL "Build shared libraries.")
+ if(BUILD_SHARED_LIB)


Home | Main Index | Thread Index | Old Index