pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
+ colobot, a real-time strategy game
Module Name: pkgsrc-wip
Committed By: Charlotte Koch <cfkoch%edgebsd.org@localhost>
Pushed By: cfkoch
Date: Sun Mar 11 13:18:36 2018 -0700
Changeset: 02e6febdec273155059018c7bb32edbb80c4b7f5
Added Files:
colobot/DESCR
colobot/Makefile
colobot/PLIST
colobot/distinfo
colobot/patches/patch-CMakeLists.txt
colobot/patches/patch-src_CMakeLists.txt
colobot/patches/patch-src_app_app.cpp
Log Message:
+ colobot, a real-time strategy game
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=02e6febdec273155059018c7bb32edbb80c4b7f5
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
colobot/DESCR | 4 ++++
colobot/Makefile | 32 ++++++++++++++++++++++++++++++++
colobot/PLIST | 19 +++++++++++++++++++
colobot/distinfo | 9 +++++++++
colobot/patches/patch-CMakeLists.txt | 21 +++++++++++++++++++++
colobot/patches/patch-src_CMakeLists.txt | 14 ++++++++++++++
colobot/patches/patch-src_app_app.cpp | 12 ++++++++++++
7 files changed, 111 insertions(+)
diffs:
diff --git a/colobot/DESCR b/colobot/DESCR
new file mode 100644
index 0000000000..356658d2a1
--- /dev/null
+++ b/colobot/DESCR
@@ -0,0 +1,4 @@
+Colobot: Gold Edition is a real-time strategy game, where you can program your
+units (bots) in a language called CBOT, which is similar to C++ and Java. Your
+mission is to find a new planet to live and survive. You can save the humanity
+and get programming skills!
diff --git a/colobot/Makefile b/colobot/Makefile
new file mode 100644
index 0000000000..5dc887da44
--- /dev/null
+++ b/colobot/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD$
+
+VERSION= 0.1.11
+DISTNAME= ${GITHUB_TAG}
+PKGNAME= colobot-${VERSION}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=colobot/}
+GITHUB_PROJECT= colobot
+GITHUB_TAG= colobot-gold-${VERSION}-alpha
+CATEGORIES= games
+
+MAINTANER= cfkoch%edgebsd.org@localhost
+HOMEPAGE= https://colobot.info/
+COMMENT= Real-time strategy game
+LICENSE= gnu-gpl-v3
+
+EXTRACT_USING= gtar
+USE_CMAKE= yes
+USE_LANGUAGES+= c c++
+
+.include "../../audio/flac/buildlink3.mk"
+.include "../../audio/libsndfile/buildlink3.mk"
+.include "../../audio/openal-soft/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/physfs/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../fonts/SDL2_ttf/buildlink3.mk"
+.include "../../graphics/glew/buildlink3.mk"
+.include "../../graphics/librsvg/buildlink3.mk"
+.include "../../graphics/SDL2_image/buildlink3.mk"
+.include "../../multimedia/libogg/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/colobot/PLIST b/colobot/PLIST
new file mode 100644
index 0000000000..65275fc583
--- /dev/null
+++ b/colobot/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD$
+games/colobot
+lib/colobot/libCBot.so
+share/games/colobot/shaders/gl21/fs_interface.glsl
+share/games/colobot/shaders/gl21/fs_normal.glsl
+share/games/colobot/shaders/gl21/fs_shadow.glsl
+share/games/colobot/shaders/gl21/vs_interface.glsl
+share/games/colobot/shaders/gl21/vs_normal.glsl
+share/games/colobot/shaders/gl21/vs_shadow.glsl
+share/games/colobot/shaders/gl33/fs_interface.glsl
+share/games/colobot/shaders/gl33/fs_normal.glsl
+share/games/colobot/shaders/gl33/fs_shadow.glsl
+share/games/colobot/shaders/gl33/vs_interface.glsl
+share/games/colobot/shaders/gl33/vs_normal.glsl
+share/games/colobot/shaders/gl33/vs_shadow.glsl
+share/locale/de/LC_MESSAGES/colobot.mo
+share/locale/fr/LC_MESSAGES/colobot.mo
+share/locale/pl/LC_MESSAGES/colobot.mo
+share/locale/ru/LC_MESSAGES/colobot.mo
diff --git a/colobot/distinfo b/colobot/distinfo
new file mode 100644
index 0000000000..14143d2a86
--- /dev/null
+++ b/colobot/distinfo
@@ -0,0 +1,9 @@
+$NetBSD$
+
+SHA1 (colobot-gold-0.1.11-alpha.tar.gz) = 393267241ea224f56251d58a299413cf40b40899
+RMD160 (colobot-gold-0.1.11-alpha.tar.gz) = 5a3b9d775081d912fb2fd9ed8195c68ae5ecd4d7
+SHA512 (colobot-gold-0.1.11-alpha.tar.gz) = fe32bc56b6fae9435c74a73b694b7d2b93667e5d15b1c57a7558e492613f0a5d4cab72ff341ab4c921150137282cc71292a1e31eb1ed06c752de33c50120f20e
+Size (colobot-gold-0.1.11-alpha.tar.gz) = 1430595 bytes
+SHA1 (patch-CMakeLists.txt) = 15d2911718d215bf1955b97c62dc9a86336b7e35
+SHA1 (patch-src_CMakeLists.txt) = 0d960453a4ee124710894cb9bc51ba613ea3ce75
+SHA1 (patch-src_app_app.cpp) = 12d361c8e82382688403bf2135c1d73f06c8f3e2
diff --git a/colobot/patches/patch-CMakeLists.txt b/colobot/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..9237f2c4e0
--- /dev/null
+++ b/colobot/patches/patch-CMakeLists.txt
@@ -0,0 +1,21 @@
+$NetBSD$
+--- CMakeLists.txt.orig 2018-03-11 12:24:30.962754838 -0700
++++ CMakeLists.txt 2018-03-11 12:26:48.015890473 -0700
+@@ -132,7 +132,7 @@
+
+ message(STATUS "Detected GCC version 4.7+")
+
+- set(NORMAL_CXX_FLAGS "-std=gnu++11 -Wall -Werror -Wold-style-cast -pedantic-errors")
++ set(NORMAL_CXX_FLAGS "-std=gnu++11 -Wall -Werror -pedantic-errors")
+ set(NORMAL_CXX_FLAGS "${NORMAL_CXX_FLAGS} -Wno-error=deprecated-declarations") # updated version of physfs is not available on some platforms so we keep using deprecated functions, see #958
+ set(RELEASE_CXX_FLAGS "-O2")
+ set(DEBUG_CXX_FLAGS "-g -O0")
+@@ -145,7 +145,7 @@
+
+ message(STATUS "Detected Clang version 3.1+")
+
+- set(NORMAL_CXX_FLAGS "-std=c++11 -Wall -Werror -Wold-style-cast -pedantic-errors")
++ set(NORMAL_CXX_FLAGS "-std=c++11 -Wall -Werror -pedantic-errors")
+ set(NORMAL_CXX_FLAGS "${NORMAL_CXX_FLAGS} -Wno-error=deprecated-declarations") # updated version of physfs is not available on some platforms so we keep using deprecated functions, see #958
+ set(RELEASE_CXX_FLAGS "-O2")
+ set(DEBUG_CXX_FLAGS "-g -O0")
diff --git a/colobot/patches/patch-src_CMakeLists.txt b/colobot/patches/patch-src_CMakeLists.txt
new file mode 100644
index 0000000000..5884183220
--- /dev/null
+++ b/colobot/patches/patch-src_CMakeLists.txt
@@ -0,0 +1,14 @@
+$NetBSD$
+--- ./src/CMakeLists.txt.orig 2018-03-11 12:55:18.384889395 -0700
++++ ./src/CMakeLists.txt 2018-03-11 12:55:58.689364470 -0700
+@@ -58,6 +58,10 @@
+ find_library(LIBINTL_LIBRARY NAMES intl libintl)
+ find_path(LIBINTL_INCLUDE_PATH NAMES libintl.h)
+ set(PLATFORM_LIBS ${LIBINTL_LIBRARY})
++elseif(PLATFORM_OTHER)
++ find_library(LIBINTL_LIBRARY NAMES intl libintl)
++ find_path(LIBINTL_INCLUDE_PATH NAMES libintl.h)
++ set(PLATFORM_LIBS ${LIBINTL_LIBRARY})
+ endif()
+
+
diff --git a/colobot/patches/patch-src_app_app.cpp b/colobot/patches/patch-src_app_app.cpp
new file mode 100644
index 0000000000..33349ff561
--- /dev/null
+++ b/colobot/patches/patch-src_app_app.cpp
@@ -0,0 +1,12 @@
+$NetBSD$
+--- ./src/app/app.cpp.orig 2018-03-11 12:40:22.438785848 -0700
++++ ./src/app/app.cpp 2018-03-11 12:40:34.907176246 -0700
+@@ -264,7 +264,7 @@
+
+ int c = 0;
+ int index = -1;
+- while ((c = getopt_long_only(argc, argv, "", options, &index)) != -1)
++ while ((c = getopt_long(argc, argv, "", options, &index)) != -1)
+ {
+ if (c == '?')
+ {
Home |
Main Index |
Thread Index |
Old Index