public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/openmw/
Date: Sat, 16 Oct 2021 21:27:43 +0000 (UTC)	[thread overview]
Message-ID: <1634419604.0fba856a672b3098df56c4ae99740ae3f677673d.ionen@gentoo> (raw)

commit:     0fba856a672b3098df56c4ae99740ae3f677673d
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Thu Oct 14 20:23:45 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Oct 16 21:26:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fba856a

games-engines/openmw: version 0.47

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/22579
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-engines/openmw/Manifest                      |  1 +
 .../{openmw-9999.ebuild => openmw-0.47.0.ebuild}   | 51 ++++++----------------
 games-engines/openmw/openmw-9999.ebuild            | 28 +++++-------
 3 files changed, 25 insertions(+), 55 deletions(-)

diff --git a/games-engines/openmw/Manifest b/games-engines/openmw/Manifest
index 08b631916bc..088a9b8fd26 100644
--- a/games-engines/openmw/Manifest
+++ b/games-engines/openmw/Manifest
@@ -1,2 +1,3 @@
 DIST openmw-0.46.0-floattest.patch 43168 BLAKE2B 060b529fd4cd01f0fc723bb5a00a256b9c1ae4413c7b22581467cce75416e01041c3af22f0215ad9b1c475965a988065e0860c01c1e71d97454b022eec4779ea SHA512 0e165417e9ae047231fdc27b62251b33867f3782c1753f81705c886d6d3a433c8bbc3b4653a2555bc644bad11db9769d4bc2abcc84ca3ab23fabb6b80347bc32
 DIST openmw-0.46.0.tar.gz 5155004 BLAKE2B 8ad94a7fffe5a0739c56c778efe2ec17ef66c312a7fe5caf015cf3cad2bc17d2abe8cdc3f4134049a32fe55c4f4b3f72678d2d0ce1037fd02f6ac753b9d89b2c SHA512 da384aead300552817c0d0ce03515a5ccc95dcab4e02d4c1dd0d6c5f1b01ee01209bbaea74e2d12021e3465e49b051823bb018de39675c5a22c6892893624486
+DIST openmw-0.47.0.tar.gz 5156857 BLAKE2B 40e8b9670423259fa0cc03ef000c17ebe06d1d58c2527b51b25cea3b54978b8a698984371eac14ff212f9550253ab17d41b83d37426371f12f5ce2d30b240d3d SHA512 517e650d0054cdba8d38de05ed3975b0fcf8de32fda59c8df7c34b973e5390efa0dd9ec79babdfdaa79dee7aa8a75009776f62fad91b9aa9aa28016c5032652b

diff --git a/games-engines/openmw/openmw-9999.ebuild b/games-engines/openmw/openmw-0.47.0.ebuild
similarity index 78%
copy from games-engines/openmw/openmw-9999.ebuild
copy to games-engines/openmw/openmw-0.47.0.ebuild
index a716d898ad5..2ee105fb115 100644
--- a/games-engines/openmw/openmw-9999.ebuild
+++ b/games-engines/openmw/openmw-0.47.0.ebuild
@@ -1,10 +1,9 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-LUA_COMPAT=( lua5-{1,3,4} luajit )
-inherit cmake lua-single xdg-utils readme.gentoo-r1
+inherit cmake readme.gentoo-r1 xdg
 
 DESCRIPTION="Open source reimplementation of TES III: Morrowind"
 HOMEPAGE="https://openmw.org/ https://gitlab.com/OpenMW/openmw"
@@ -21,18 +20,17 @@ fi
 LICENSE="GPL-3 MIT BitstreamVera ZLIB"
 SLOT="0"
 IUSE="doc devtools +osg-fork test +qt5"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="!test? ( test )"
 
 # FIXME: Unbundle dev-games/openscenegraph-qt in extern/osgQt directory,
 # used when BUILD_OPENCS flag is enabled. See bug #676266.
 
-RDEPEND="${LUA_DEPS}
-	app-arch/lz4
+RDEPEND="
+	app-arch/lz4:=
 	dev-games/mygui
-	dev-games/recastnavigation
+	dev-games/recastnavigation:=
 	dev-libs/boost:=[threads(+),zlib]
-	dev-libs/tinyxml:=[stl]
+	dev-libs/tinyxml[stl]
 	media-libs/libsdl2[joystick,opengl,video]
 	media-libs/openal
 	media-video/ffmpeg:=
@@ -50,14 +48,12 @@ RDEPEND="${LUA_DEPS}
 	)
 "
 
-DEPEND="${RDEPEND}
-	dev-cpp/sol2
-"
+DEPEND="${RDEPEND}"
 
 BDEPEND="
 	virtual/pkgconfig
 	doc? (
-		app-doc/doxygen[doc]
+		app-doc/doxygen[dot]
 		dev-python/sphinx
 	)
 	test? (
@@ -74,11 +70,10 @@ src_prepare() {
 
 	# Use the system tinyxml headers
 	rm -v extern/oics/tiny{str,xml}* || die
-	rm -rv extern/sol3.2.2 || die
 }
 
 src_configure() {
-	use devtools && ! use qt5 && \
+	use devtools && ! use qt5 &&
 		elog "'qt5' USE flag is disabled, 'openmw-cs' will not be installed"
 
 	local mycmakeargs=(
@@ -95,24 +90,8 @@ src_configure() {
 		-DMORROWIND_DATA_FILES="${EPREFIX}/usr/share/morrowind-data"
 		-DUSE_SYSTEM_TINYXML=ON
 		-DOPENMW_USE_SYSTEM_RECASTNAVIGATION=ON
-		-DDESIRED_QT_VERSION=5
-		-DBULLET_USE_DOUBLES=ON
 	)
 
-	if [[ ${ELUA} == luajit ]]; then
-		mycmakeargs+=(
-			-DUSE_LUAJIT=ON
-		)
-	else
-		mycmakeargs+=(
-			-DUSE_LUAJIT=OFF
-			-DLua_FIND_VERSION_MAJOR=$(ver_cut 1 $(lua_get_version))
-			-DLua_FIND_VERSION_MINOR=$(ver_cut 2 $(lua_get_version))
-			-DLua_FIND_VERSION_COUNT=2
-			-DLua_FIND_VERSION_EXACT=ON
-		)
-	fi
-
 	cmake_src_configure
 }
 
@@ -121,9 +100,9 @@ src_compile() {
 
 	if use doc ; then
 		cmake_src_compile doc
-		find "${CMAKE_BUILD_DIR}"/docs/Doxygen/html \
+		find "${BUILD_DIR}"/docs/Doxygen/html \
 			-name '*.md5' -type f -delete || die
-		HTML_DOCS=( "${CMAKE_BUILD_DIR}"/docs/Doxygen/html/. )
+		HTML_DOCS=( "${BUILD_DIR}"/docs/Doxygen/html/. )
 	fi
 }
 
@@ -142,7 +121,7 @@ src_install() {
 	directly).\n"
 
 	if ! use qt5; then
-		local DOC_CONTENTS+="\n\n
+		DOC_CONTENTS+="\n\n
 		USE flag 'qt5' is disabled, 'openmw-launcher' and
 		'openmw-wizard' are not available. You are on your own for
 		making the Morrowind data files available and pointing
@@ -158,10 +137,6 @@ src_install() {
 }
 
 pkg_postinst() {
-	xdg_icon_cache_update
+	xdg_pkg_postinst
 	readme.gentoo_print_elog
 }
-
-pkg_postrm() {
-	xdg_icon_cache_update
-}

diff --git a/games-engines/openmw/openmw-9999.ebuild b/games-engines/openmw/openmw-9999.ebuild
index a716d898ad5..0bad76f5745 100644
--- a/games-engines/openmw/openmw-9999.ebuild
+++ b/games-engines/openmw/openmw-9999.ebuild
@@ -1,10 +1,10 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 LUA_COMPAT=( lua5-{1,3,4} luajit )
-inherit cmake lua-single xdg-utils readme.gentoo-r1
+inherit cmake lua-single readme.gentoo-r1 xdg
 
 DESCRIPTION="Open source reimplementation of TES III: Morrowind"
 HOMEPAGE="https://openmw.org/ https://gitlab.com/OpenMW/openmw"
@@ -28,11 +28,11 @@ RESTRICT="!test? ( test )"
 # used when BUILD_OPENCS flag is enabled. See bug #676266.
 
 RDEPEND="${LUA_DEPS}
-	app-arch/lz4
+	app-arch/lz4:=
 	dev-games/mygui
-	dev-games/recastnavigation
+	dev-games/recastnavigation:=
 	dev-libs/boost:=[threads(+),zlib]
-	dev-libs/tinyxml:=[stl]
+	dev-libs/tinyxml[stl]
 	media-libs/libsdl2[joystick,opengl,video]
 	media-libs/openal
 	media-video/ffmpeg:=
@@ -57,7 +57,7 @@ DEPEND="${RDEPEND}
 BDEPEND="
 	virtual/pkgconfig
 	doc? (
-		app-doc/doxygen[doc]
+		app-doc/doxygen[dot]
 		dev-python/sphinx
 	)
 	test? (
@@ -78,7 +78,7 @@ src_prepare() {
 }
 
 src_configure() {
-	use devtools && ! use qt5 && \
+	use devtools && ! use qt5 &&
 		elog "'qt5' USE flag is disabled, 'openmw-cs' will not be installed"
 
 	local mycmakeargs=(
@@ -95,8 +95,6 @@ src_configure() {
 		-DMORROWIND_DATA_FILES="${EPREFIX}/usr/share/morrowind-data"
 		-DUSE_SYSTEM_TINYXML=ON
 		-DOPENMW_USE_SYSTEM_RECASTNAVIGATION=ON
-		-DDESIRED_QT_VERSION=5
-		-DBULLET_USE_DOUBLES=ON
 	)
 
 	if [[ ${ELUA} == luajit ]]; then
@@ -121,9 +119,9 @@ src_compile() {
 
 	if use doc ; then
 		cmake_src_compile doc
-		find "${CMAKE_BUILD_DIR}"/docs/Doxygen/html \
+		find "${BUILD_DIR}"/docs/Doxygen/html \
 			-name '*.md5' -type f -delete || die
-		HTML_DOCS=( "${CMAKE_BUILD_DIR}"/docs/Doxygen/html/. )
+		HTML_DOCS=( "${BUILD_DIR}"/docs/Doxygen/html/. )
 	fi
 }
 
@@ -142,7 +140,7 @@ src_install() {
 	directly).\n"
 
 	if ! use qt5; then
-		local DOC_CONTENTS+="\n\n
+		DOC_CONTENTS+="\n\n
 		USE flag 'qt5' is disabled, 'openmw-launcher' and
 		'openmw-wizard' are not available. You are on your own for
 		making the Morrowind data files available and pointing
@@ -158,10 +156,6 @@ src_install() {
 }
 
 pkg_postinst() {
-	xdg_icon_cache_update
+	xdg_pkg_postinst
 	readme.gentoo_print_elog
 }
-
-pkg_postrm() {
-	xdg_icon_cache_update
-}


             reply	other threads:[~2021-10-16 21:27 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-16 21:27 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-23 16:19 [gentoo-commits] repo/gentoo:master commit in: games-engines/openmw/ Sam James
2024-03-23 13:44 Sam James
2023-09-09  0:49 Ionen Wolkens
2023-08-14 11:38 Joonas Niilola
2023-07-22 17:01 David Seifert
2023-07-22 17:01 David Seifert
2023-02-16  9:51 David Seifert
2022-08-28  0:10 Ionen Wolkens
2022-05-26  4:28 Ionen Wolkens
2021-12-18 18:26 David Seifert
2021-12-08  3:33 Sam James
2021-09-12 20:20 Ionen Wolkens
2021-08-16  8:30 Joonas Niilola
2021-07-31  1:15 Ionen Wolkens
2021-07-14  5:47 Ionen Wolkens
2021-06-18 19:18 David Seifert
2021-06-05 23:39 Ionen Wolkens
2021-05-06 12:47 Joonas Niilola
2020-10-13 10:46 Joonas Niilola
2020-05-27  9:43 Andreas Sturmlechner
2020-03-14 17:59 Andreas Sturmlechner
2019-07-28 22:26 James Le Cuirot
2019-07-28 22:26 James Le Cuirot
2018-12-23 22:48 Andreas Sturmlechner
2018-08-21  8:31 Patrice Clement
2018-07-15 14:53 Andreas Sturmlechner
2018-03-18 10:03 Andreas Sturmlechner
2018-02-07  2:02 Andreas Sturmlechner
2018-01-12 21:02 David Seifert
2017-11-01 20:30 James Le Cuirot
2017-03-02 19:39 Andreas Sturmlechner
2017-02-18 21:45 Andreas Sturmlechner
2017-02-18 21:17 Andreas Sturmlechner
2017-02-18 21:17 Andreas Sturmlechner
2016-11-11 19:39 Austin English
2016-06-07 22:27 Michael Sterrett
2016-05-24 19:52 Michael Sterrett
2015-09-06 19:31 Michael Sterrett
2015-08-09 13:28 Julian Ospald
2015-08-09 12:25 Julian Ospald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1634419604.0fba856a672b3098df56c4ae99740ae3f677673d.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox