commit:     6c386a1cb194c96808364c924e8bd3db703384b0
Author:     Alexey Sokolov <sokolov <AT> google <DOT> com>
AuthorDate: Sun Aug  9 21:33:24 2020 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Aug 17 21:49:53 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c386a1c

games-engines/openmw: update the patch for 9999

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 .../openmw/files/openmw-0.47.0-mygui-license.patch       | 16 ++++++++++++++++
 games-engines/openmw/openmw-9999.ebuild                  |  2 +-
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/games-engines/openmw/files/openmw-0.47.0-mygui-license.patch 
b/games-engines/openmw/files/openmw-0.47.0-mygui-license.patch
new file mode 100644
index 00000000000..d0da8a2563b
--- /dev/null
+++ b/games-engines/openmw/files/openmw-0.47.0-mygui-license.patch
@@ -0,0 +1,16 @@
+We don't install license files
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d69352c94..5f97c86e9 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -470,9 +470,6 @@ IF(NOT WIN32 AND NOT APPLE)
+     #    INSTALL(PROGRAMS 
"${OpenMW_BINARY_DIR}/Plugin_MyGUI_OpenMW_Resources.so" DESTINATION "${LIBDIR}" 
)
+     #ENDIF(BUILD_MYGUI_PLUGIN)
+ 
+-    # Install licenses
+-    INSTALL(FILES "files/mygui/DejaVuFontLicense.txt" DESTINATION "${LICDIR}" 
)
+-
+     # Install icon and desktop file
+     INSTALL(FILES "${OpenMW_BINARY_DIR}/org.openmw.launcher.desktop" 
DESTINATION "${DATAROOTDIR}/applications" COMPONENT "openmw")
+     INSTALL(FILES "${OpenMW_SOURCE_DIR}/files/launcher/images/openmw.png" 
DESTINATION "${ICONDIR}" COMPONENT "openmw")

diff --git a/games-engines/openmw/openmw-9999.ebuild 
b/games-engines/openmw/openmw-9999.ebuild
index df9cc73b585..1183e5459a1 100644
--- a/games-engines/openmw/openmw-9999.ebuild
+++ b/games-engines/openmw/openmw-9999.ebuild
@@ -61,7 +61,7 @@ BDEPEND="
 "
 
 PATCHES=(
-       "${FILESDIR}"/openmw-0.46.0-mygui-license.patch
+       "${FILESDIR}"/openmw-0.47.0-mygui-license.patch
        "${FILESDIR}"/openmw-0.46.0-recastnavigation.patch
 )
 

Reply via email to