1 |
commit: 007e8f1a7bcb63fe11749a6c65d76151d1e5608a |
2 |
Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org> |
3 |
AuthorDate: Mon May 23 00:16:19 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 26 04:27:00 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=007e8f1a |
7 |
|
8 |
games-engines/openmw: update live ebuild |
9 |
|
10 |
Closes: https://bugs.gentoo.org/840188 |
11 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
12 |
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/25602 |
14 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
15 |
|
16 |
games-engines/openmw/Manifest | 1 + |
17 |
games-engines/openmw/openmw-9999.ebuild | 18 +++++++++++++++--- |
18 |
2 files changed, 16 insertions(+), 3 deletions(-) |
19 |
|
20 |
diff --git a/games-engines/openmw/Manifest b/games-engines/openmw/Manifest |
21 |
index 607fa30988f1..cba80402aaec 100644 |
22 |
--- a/games-engines/openmw/Manifest |
23 |
+++ b/games-engines/openmw/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST openmw-0.47.0.tar.gz 5156857 BLAKE2B 40e8b9670423259fa0cc03ef000c17ebe06d1d58c2527b51b25cea3b54978b8a698984371eac14ff212f9550253ab17d41b83d37426371f12f5ce2d30b240d3d SHA512 517e650d0054cdba8d38de05ed3975b0fcf8de32fda59c8df7c34b973e5390efa0dd9ec79babdfdaa79dee7aa8a75009776f62fad91b9aa9aa28016c5032652b |
26 |
+DIST openmw-template-8966dab24692555eec720c854fb0f73d108070cd.omwgame 139730 BLAKE2B bf7f96912fd828078c62d112f3ff83e9a35298516135fb46b15ed01fc0260247cc0cba4aa3bbc55bf6a688f216384dbd9a5aa3328c4387b9b180b80f7463963e SHA512 6e38642bcf013c5f496a9cb0bf3ec7c9553b6e86b836e7844824c5a05f556c9391167214469b6318401684b702d7569896bf743c85aee4198612b3315ba778d6 |
27 |
|
28 |
diff --git a/games-engines/openmw/openmw-9999.ebuild b/games-engines/openmw/openmw-9999.ebuild |
29 |
index c4315facbc5c..45b3ed5e772f 100644 |
30 |
--- a/games-engines/openmw/openmw-9999.ebuild |
31 |
+++ b/games-engines/openmw/openmw-9999.ebuild |
32 |
@@ -1,4 +1,4 @@ |
33 |
-# Copyright 1999-2021 Gentoo Authors |
34 |
+# Copyright 1999-2022 Gentoo Authors |
35 |
# Distributed under the terms of the GNU General Public License v2 |
36 |
|
37 |
EAPI=8 |
38 |
@@ -18,6 +18,11 @@ else |
39 |
S="${WORKDIR}/${PN}-${P}" |
40 |
fi |
41 |
|
42 |
+MY_TEMPLATE_COMMIT="8966dab24692555eec720c854fb0f73d108070cd" |
43 |
+SRC_URI+=" |
44 |
+ test? ( https://gitlab.com/OpenMW/example-suite/-/raw/${MY_TEMPLATE_COMMIT}/data/template.omwgame -> openmw-template-${MY_TEMPLATE_COMMIT}.omwgame ) |
45 |
+" |
46 |
+ |
47 |
LICENSE="GPL-3 MIT BitstreamVera ZLIB" |
48 |
SLOT="0" |
49 |
IUSE="doc devtools +osg-fork test +qt5" |
50 |
@@ -30,8 +35,11 @@ RESTRICT="!test? ( test )" |
51 |
RDEPEND="${LUA_DEPS} |
52 |
app-arch/lz4:= |
53 |
>=dev-games/mygui-3.4.1 |
54 |
+ dev-cpp/yaml-cpp:= |
55 |
+ dev-db/sqlite:3 |
56 |
dev-games/recastnavigation:= |
57 |
dev-libs/boost:=[threads(+),zlib] |
58 |
+ dev-libs/icu:= |
59 |
dev-libs/tinyxml[stl] |
60 |
media-libs/libsdl2[joystick,opengl,video] |
61 |
media-libs/openal |
62 |
@@ -74,7 +82,7 @@ src_prepare() { |
63 |
|
64 |
# Use the system tinyxml headers |
65 |
rm -v extern/oics/tiny{str,xml}* || die |
66 |
- rm -rv extern/sol3.2.2 || die |
67 |
+ rm -rv extern/sol3 || die |
68 |
} |
69 |
|
70 |
src_configure() { |
71 |
@@ -92,7 +100,6 @@ src_configure() { |
72 |
-DBUILD_UNITTESTS=$(usex test) |
73 |
-DGLOBAL_DATA_PATH="${EPREFIX}/usr/share" |
74 |
-DICONDIR="${EPREFIX}/usr/share/icons/hicolor/256x256/apps" |
75 |
- -DMORROWIND_DATA_FILES="${EPREFIX}/usr/share/morrowind-data" |
76 |
-DUSE_SYSTEM_TINYXML=ON |
77 |
-DOPENMW_USE_SYSTEM_RECASTNAVIGATION=ON |
78 |
) |
79 |
@@ -111,6 +118,11 @@ src_configure() { |
80 |
) |
81 |
fi |
82 |
|
83 |
+ if use test ; then |
84 |
+ mkdir -p "${BUILD_DIR}"/apps/openmw_test_suite/data || die |
85 |
+ cp "${DISTDIR}"/openmw-template-${MY_TEMPLATE_COMMIT}.omwgame "${BUILD_DIR}"/apps/openmw_test_suite/data/template.omwgame || die |
86 |
+ fi |
87 |
+ |
88 |
cmake_src_configure |
89 |
} |