pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games Add games/openmw.
details: https://anonhg.NetBSD.org/pkgsrc/rev/f5e3d9c4101c
branches: trunk
changeset: 399431:f5e3d9c4101c
user: nia <nia%pkgsrc.org@localhost>
date: Fri Aug 09 16:26:09 2019 +0000
description:
Add games/openmw.
OpenMW is a free, open source and modern game engine which reimplements and
extends the one that runs the 2002 open-world RPG Morrowind. The engine
comes with its own editor, called OpenMW-CS which allows the user to edit
or create their own original games.
NOTE: Playing Morrowind with this engine still requires the Morrowind data
files that you own.
diffstat:
games/Makefile | 3 +-
games/openmw/DESCR | 7 +
games/openmw/Makefile | 46 +++
games/openmw/PLIST | 122 ++++++++++
games/openmw/distinfo | 15 +
games/openmw/options.mk | 19 +
games/openmw/patches/patch-CMakeLists.txt | 29 ++
games/openmw/patches/patch-apps_openmw_mwgui_bookpage.hpp | 17 +
games/openmw/patches/patch-apps_openmw_mwgui_spellview.hpp | 17 +
games/openmw/patches/patch-apps_openmw_mwgui_videowidget.hpp | 17 +
games/openmw/patches/patch-components_crashcatcher_crashcatcher.cpp | 15 +
games/openmw/patches/patch-components_esm_custommarkerstate.hpp | 18 +
games/openmw/patches/patch-components_files_fixedpath.hpp | 15 +
games/openmw/patches/patch-components_files_linuxpath.cpp | 20 +
games/openmw/patches/patch-components_files_linuxpath.hpp | 15 +
15 files changed, 374 insertions(+), 1 deletions(-)
diffs (truncated from 445 to 300 lines):
diff -r 3fa2323a602b -r f5e3d9c4101c games/Makefile
--- a/games/Makefile Fri Aug 09 16:25:23 2019 +0000
+++ b/games/Makefile Fri Aug 09 16:26:09 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.445 2019/08/08 13:40:30 nia Exp $
+# $NetBSD: Makefile,v 1.446 2019/08/09 16:26:09 nia Exp $
#
COMMENT= Games
@@ -282,6 +282,7 @@
SUBDIR+= omega
SUBDIR+= onscripter
SUBDIR+= openmortal
+SUBDIR+= openmw
SUBDIR+= openttd
SUBDIR+= openttd-data
SUBDIR+= orbital_eunuchs_sniper
diff -r 3fa2323a602b -r f5e3d9c4101c games/openmw/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/openmw/DESCR Fri Aug 09 16:26:09 2019 +0000
@@ -0,0 +1,7 @@
+OpenMW is a free, open source and modern game engine which reimplements and
+extends the one that runs the 2002 open-world RPG Morrowind. The engine
+comes with its own editor, called OpenMW-CS which allows the user to edit
+or create their own original games.
+
+NOTE: Playing Morrowind with this engine still requires the Morrowind data
+files that you own.
diff -r 3fa2323a602b -r f5e3d9c4101c games/openmw/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/openmw/Makefile Fri Aug 09 16:26:09 2019 +0000
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1 2019/08/09 16:26:09 nia Exp $
+
+DISTNAME= openmw-0.45.0
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_GITHUB:=OpenMW/}
+GITHUB_TAG= openmw-${PKGVERSION_NOREV}
+
+MAINTAINER= nia%NetBSD.org@localhost
+HOMEPAGE= https://openmw.org/
+COMMENT= Recreation of The Elder Scrolls III: Morrowind game engine
+LICENSE= gnu-gpl-v3
+
+USE_CMAKE= yes
+USE_LANGUAGES= c c++11
+USE_TOOLS+= pkg-config
+
+# C++11
+GCC_REQD+= 4.8
+
+CMAKE_ARGS+= -DCMAKE_BUILD_TYPE="Release"
+CMAKE_ARGS+= -DGLOBAL_CONFIG_DIR=${PKG_SYSCONFDIR}
+
+EGDIR= ${PREFIX}/share/examples/openmw
+
+PKG_SYSCONFSUBDIR= openmw
+
+CONF_FILES+= ${EGDIR}/gamecontrollerdb.txt ${PKG_SYSCONFDIR}/gamecontrollerdb.txt
+CONF_FILES+= ${EGDIR}/gamecontrollerdb_204.txt ${PKG_SYSCONFDIR}/gamecontrollerdb_204.txt
+CONF_FILES+= ${EGDIR}/gamecontrollerdb_205.txt ${PKG_SYSCONFDIR}/gamecontrollerdb_205.txt
+CONF_FILES+= ${EGDIR}/openmw-cs.cfg ${PKG_SYSCONFDIR}/openmw-cs.cfg
+CONF_FILES+= ${EGDIR}/openmw.cfg ${PKG_SYSCONFDIR}/openmw.cfg
+CONF_FILES+= ${EGDIR}/settings-default.cfg ${PKG_SYSCONFDIR}/settings-default.cfg
+CONF_FILES+= ${EGDIR}/version ${PKG_SYSCONFDIR}/version
+
+.include "options.mk"
+.include "../../archivers/unshield/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/bullet/buildlink3.mk"
+.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/mygui/buildlink3.mk"
+.include "../../graphics/osg/buildlink3.mk"
+.include "../../audio/openal-soft/buildlink3.mk"
+.include "../../multimedia/ffmpeg4/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3fa2323a602b -r f5e3d9c4101c games/openmw/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/openmw/PLIST Fri Aug 09 16:26:09 2019 +0000
@@ -0,0 +1,122 @@
+@comment $NetBSD: PLIST,v 1.1 2019/08/09 16:26:09 nia Exp $
+bin/bsatool
+bin/esmtool
+bin/openmw
+bin/openmw-cs
+bin/openmw-essimporter
+bin/openmw-iniimporter
+bin/openmw-launcher
+bin/openmw-wizard
+share/applications/openmw-cs.desktop
+share/applications/openmw.desktop
+share/examples/openmw/gamecontrollerdb.txt
+share/examples/openmw/gamecontrollerdb_204.txt
+share/examples/openmw/gamecontrollerdb_205.txt
+share/examples/openmw/openmw-cs.cfg
+share/examples/openmw/openmw.cfg
+share/examples/openmw/settings-default.cfg
+share/examples/openmw/version
+share/games/openmw/resources/defaultfilters
+share/games/openmw/resources/mygui/DejaVuLGCSansMono.ttf
+share/games/openmw/resources/mygui/OpenMWResourcePlugin.xml
+share/games/openmw/resources/mygui/core.skin
+share/games/openmw/resources/mygui/core.xml
+share/games/openmw/resources/mygui/core_layouteditor.xml
+share/games/openmw/resources/mygui/openmw.png
+share/games/openmw/resources/mygui/openmw_alchemy_window.layout
+share/games/openmw/resources/mygui/openmw_book.layout
+share/games/openmw/resources/mygui/openmw_box.skin.xml
+share/games/openmw/resources/mygui/openmw_button.skin.xml
+share/games/openmw/resources/mygui/openmw_chargen_birth.layout
+share/games/openmw/resources/mygui/openmw_chargen_class.layout
+share/games/openmw/resources/mygui/openmw_chargen_class_description.layout
+share/games/openmw/resources/mygui/openmw_chargen_create_class.layout
+share/games/openmw/resources/mygui/openmw_chargen_generate_class_result.layout
+share/games/openmw/resources/mygui/openmw_chargen_race.layout
+share/games/openmw/resources/mygui/openmw_chargen_review.layout
+share/games/openmw/resources/mygui/openmw_chargen_select_attribute.layout
+share/games/openmw/resources/mygui/openmw_chargen_select_skill.layout
+share/games/openmw/resources/mygui/openmw_chargen_select_specialization.layout
+share/games/openmw/resources/mygui/openmw_companion_window.layout
+share/games/openmw/resources/mygui/openmw_confirmation_dialog.layout
+share/games/openmw/resources/mygui/openmw_console.layout
+share/games/openmw/resources/mygui/openmw_console.skin.xml
+share/games/openmw/resources/mygui/openmw_container_window.layout
+share/games/openmw/resources/mygui/openmw_count_window.layout
+share/games/openmw/resources/mygui/openmw_debug_window.layout
+share/games/openmw/resources/mygui/openmw_debug_window.skin.xml
+share/games/openmw/resources/mygui/openmw_dialogue_window.layout
+share/games/openmw/resources/mygui/openmw_dialogue_window.skin.xml
+share/games/openmw/resources/mygui/openmw_edit.skin.xml
+share/games/openmw/resources/mygui/openmw_edit_effect.layout
+share/games/openmw/resources/mygui/openmw_edit_note.layout
+share/games/openmw/resources/mygui/openmw_enchanting_dialog.layout
+share/games/openmw/resources/mygui/openmw_font.xml
+share/games/openmw/resources/mygui/openmw_hud.layout
+share/games/openmw/resources/mygui/openmw_hud_box.skin.xml
+share/games/openmw/resources/mygui/openmw_hud_energybar.skin.xml
+share/games/openmw/resources/mygui/openmw_infobox.layout
+share/games/openmw/resources/mygui/openmw_interactive_messagebox.layout
+share/games/openmw/resources/mygui/openmw_interactive_messagebox_notransp.layout
+share/games/openmw/resources/mygui/openmw_inventory_window.layout
+share/games/openmw/resources/mygui/openmw_itemselection_dialog.layout
+share/games/openmw/resources/mygui/openmw_jail_screen.layout
+share/games/openmw/resources/mygui/openmw_journal.layout
+share/games/openmw/resources/mygui/openmw_journal.skin.xml
+share/games/openmw/resources/mygui/openmw_layers.xml
+share/games/openmw/resources/mygui/openmw_levelup_dialog.layout
+share/games/openmw/resources/mygui/openmw_list.skin.xml
+share/games/openmw/resources/mygui/openmw_loading_screen.layout
+share/games/openmw/resources/mygui/openmw_magicselection_dialog.layout
+share/games/openmw/resources/mygui/openmw_mainmenu.layout
+share/games/openmw/resources/mygui/openmw_mainmenu.skin.xml
+share/games/openmw/resources/mygui/openmw_map_window.layout
+share/games/openmw/resources/mygui/openmw_map_window.skin.xml
+share/games/openmw/resources/mygui/openmw_merchantrepair.layout
+share/games/openmw/resources/mygui/openmw_messagebox.layout
+share/games/openmw/resources/mygui/openmw_persuasion_dialog.layout
+share/games/openmw/resources/mygui/openmw_pointer.xml
+share/games/openmw/resources/mygui/openmw_progress.skin.xml
+share/games/openmw/resources/mygui/openmw_quickkeys_menu.layout
+share/games/openmw/resources/mygui/openmw_quickkeys_menu_assign.layout
+share/games/openmw/resources/mygui/openmw_recharge_dialog.layout
+share/games/openmw/resources/mygui/openmw_repair.layout
+share/games/openmw/resources/mygui/openmw_resources.xml
+share/games/openmw/resources/mygui/openmw_savegame_dialog.layout
+share/games/openmw/resources/mygui/openmw_screen_fader.layout
+share/games/openmw/resources/mygui/openmw_screen_fader_hit.layout
+share/games/openmw/resources/mygui/openmw_scroll.layout
+share/games/openmw/resources/mygui/openmw_scroll.skin.xml
+share/games/openmw/resources/mygui/openmw_settings.xml
+share/games/openmw/resources/mygui/openmw_settings_window.layout
+share/games/openmw/resources/mygui/openmw_spell_buying_window.layout
+share/games/openmw/resources/mygui/openmw_spell_window.layout
+share/games/openmw/resources/mygui/openmw_spellcreation_dialog.layout
+share/games/openmw/resources/mygui/openmw_stats_window.layout
+share/games/openmw/resources/mygui/openmw_text.skin.xml
+share/games/openmw/resources/mygui/openmw_text_input.layout
+share/games/openmw/resources/mygui/openmw_tooltips.layout
+share/games/openmw/resources/mygui/openmw_trade_window.layout
+share/games/openmw/resources/mygui/openmw_trainingwindow.layout
+share/games/openmw/resources/mygui/openmw_travel_window.layout
+share/games/openmw/resources/mygui/openmw_wait_dialog.layout
+share/games/openmw/resources/mygui/openmw_wait_dialog_progressbar.layout
+share/games/openmw/resources/mygui/openmw_windows.skin.xml
+share/games/openmw/resources/mygui/skins.xml
+share/games/openmw/resources/shaders/lighting.glsl
+share/games/openmw/resources/shaders/objects_fragment.glsl
+share/games/openmw/resources/shaders/objects_vertex.glsl
+share/games/openmw/resources/shaders/parallax.glsl
+share/games/openmw/resources/shaders/s360_fragment.glsl
+share/games/openmw/resources/shaders/s360_vertex.glsl
+share/games/openmw/resources/shaders/terrain_fragment.glsl
+share/games/openmw/resources/shaders/terrain_vertex.glsl
+share/games/openmw/resources/shaders/water_fragment.glsl
+share/games/openmw/resources/shaders/water_nm.png
+share/games/openmw/resources/shaders/water_vertex.glsl
+share/games/openmw/resources/version
+share/licenses/openmw/DejaVu Font License.txt
+share/metainfo/openmw.appdata.xml
+share/pixmaps/openmw-cs.png
+share/pixmaps/openmw.png
+@pkgdir share/games/openmw/data
diff -r 3fa2323a602b -r f5e3d9c4101c games/openmw/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/openmw/distinfo Fri Aug 09 16:26:09 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: distinfo,v 1.1 2019/08/09 16:26:09 nia Exp $
+
+SHA1 (openmw-0.45.0.tar.gz) = 57ffaa0e066ddd4ad22b56b58879061693fa0c0d
+RMD160 (openmw-0.45.0.tar.gz) = 26810d9a3373691969d3f1c4b78b8aa52c866ec7
+SHA512 (openmw-0.45.0.tar.gz) = b968426659457cf486f6756f7ab82cc4cb34a92923c433dd86f711e5d7097f75441ed17daa50d21f15f1847f5aed1f4c3a094a06cfd3f2e9b90aa182742c596f
+Size (openmw-0.45.0.tar.gz) = 4711103 bytes
+SHA1 (patch-CMakeLists.txt) = 03224ef628e2a7a0668a331728ff0896bb0e6ed4
+SHA1 (patch-apps_openmw_mwgui_bookpage.hpp) = 5a47f960d9082e8d62e97010422815c059fd4df3
+SHA1 (patch-apps_openmw_mwgui_spellview.hpp) = c263753e14b7cb3e61c6cd3fddd04e5b8594b6ef
+SHA1 (patch-apps_openmw_mwgui_videowidget.hpp) = 5882cebcf7a658676b672f2716ab0ba6b9f4572f
+SHA1 (patch-components_crashcatcher_crashcatcher.cpp) = ecb17b1f5a199ddc8b3bd299e0222ebf88c1fdec
+SHA1 (patch-components_esm_custommarkerstate.hpp) = 1b7caefd441ff9ac30a328d53e630030997ccbb2
+SHA1 (patch-components_files_fixedpath.hpp) = c4047ee90e1771228ce5179d8a082345a0310e03
+SHA1 (patch-components_files_linuxpath.cpp) = 706543e2a684dda0e21b39b35c829baf314deedf
+SHA1 (patch-components_files_linuxpath.hpp) = 0627dc0a15e62b2e3c7314d19d1bb2b099af576e
diff -r 3fa2323a602b -r f5e3d9c4101c games/openmw/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/openmw/options.mk Fri Aug 09 16:26:09 2019 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: options.mk,v 1.1 2019/08/09 16:26:09 nia Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.openmw
+PKG_SUPPORTED_OPTIONS= qt5
+PKG_SUGGESTED_OPTIONS= qt5
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+= gui
+
+.if !empty(PKG_OPTIONS:Mqt5)
+PLIST.gui= yes
+CMAKE_ARGS+= -DDESIRED_QT_VERSION=5
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.else
+CMAKE_ARGS+= -DBUILD_LAUNCHER=OFF
+CMAKE_ARGS+= -DBUILD_OPENCS=OFF
+CMAKE_ARGS+= -DBUILD_WIZARD=OFF
+.endif
diff -r 3fa2323a602b -r f5e3d9c4101c games/openmw/patches/patch-CMakeLists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/openmw/patches/patch-CMakeLists.txt Fri Aug 09 16:26:09 2019 +0000
@@ -0,0 +1,29 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2019/08/09 16:26:09 nia Exp $
+
+Install configuration files to examples directory.
+
+--- CMakeLists.txt.orig 2019-08-09 16:06:59.842914670 +0000
++++ CMakeLists.txt
+@@ -420,15 +420,15 @@ IF(NOT WIN32 AND NOT APPLE)
+ ENDIF(BUILD_OPENCS)
+
+ # Install global configuration files
+- INSTALL(FILES "${OpenMW_BINARY_DIR}/settings-default.cfg" DESTINATION "${SYSCONFDIR}" COMPONENT "openmw")
+- INSTALL(FILES "${OpenMW_BINARY_DIR}/openmw.cfg.install" DESTINATION "${SYSCONFDIR}" RENAME "openmw.cfg" COMPONENT "openmw")
+- INSTALL(FILES "${OpenMW_BINARY_DIR}/resources/version" DESTINATION "${SYSCONFDIR}" COMPONENT "openmw")
+- INSTALL(FILES "${OpenMW_BINARY_DIR}/gamecontrollerdb.txt" DESTINATION "${SYSCONFDIR}" COMPONENT "openmw")
+- INSTALL(FILES "${OpenMW_BINARY_DIR}/gamecontrollerdb_204.txt" DESTINATION "${SYSCONFDIR}" COMPONENT "openmw")
+- INSTALL(FILES "${OpenMW_BINARY_DIR}/gamecontrollerdb_205.txt" DESTINATION "${SYSCONFDIR}" COMPONENT "openmw")
++ INSTALL(FILES "${OpenMW_BINARY_DIR}/settings-default.cfg" DESTINATION "${DATAROOTDIR}/examples/openmw" COMPONENT "openmw")
++ INSTALL(FILES "${OpenMW_BINARY_DIR}/openmw.cfg.install" DESTINATION "${DATAROOTDIR}/examples/openmw" RENAME "openmw.cfg" COMPONENT "openmw")
++ INSTALL(FILES "${OpenMW_BINARY_DIR}/resources/version" DESTINATION "${DATAROOTDIR}/examples/openmw" COMPONENT "openmw")
++ INSTALL(FILES "${OpenMW_BINARY_DIR}/gamecontrollerdb.txt" DESTINATION "${DATAROOTDIR}/examples/openmw" COMPONENT "openmw")
++ INSTALL(FILES "${OpenMW_BINARY_DIR}/gamecontrollerdb_204.txt" DESTINATION "${DATAROOTDIR}/examples/openmw" COMPONENT "openmw")
++ INSTALL(FILES "${OpenMW_BINARY_DIR}/gamecontrollerdb_205.txt" DESTINATION "${DATAROOTDIR}/examples/openmw" COMPONENT "openmw")
+
+ IF(BUILD_OPENCS)
+- INSTALL(FILES "${OpenMW_BINARY_DIR}/openmw-cs.cfg" DESTINATION "${SYSCONFDIR}" COMPONENT "opencs")
++ INSTALL(FILES "${OpenMW_BINARY_DIR}/openmw-cs.cfg" DESTINATION "${DATAROOTDIR}/examples/openmw" COMPONENT "opencs")
+ ENDIF(BUILD_OPENCS)
+
+ # Install resources
diff -r 3fa2323a602b -r f5e3d9c4101c games/openmw/patches/patch-apps_openmw_mwgui_bookpage.hpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/openmw/patches/patch-apps_openmw_mwgui_bookpage.hpp Fri Aug 09 16:26:09 2019 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-apps_openmw_mwgui_bookpage.hpp,v 1.1 2019/08/09 16:26:09 nia Exp $
+
+Always include <memory> for smart pointers in MWGui
+
+Upstream commit:
+https://github.com/OpenMW/openmw/commit/216e1ab16f88b9db6f8559bce2095e84c0ebbcbd.patch
+
+--- apps/openmw/mwgui/bookpage.hpp.orig 2019-03-10 10:50:29.000000000 +0000
++++ apps/openmw/mwgui/bookpage.hpp
+@@ -6,6 +6,7 @@
+ #include "MyGUI_FontManager.h"
+
+ #include <functional>
++#include <memory>
+ #include <stdint.h>
+
+ #include <components/settings/settings.hpp>
Home |
Main Index |
Thread Index |
Old Index