summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Misbakh-Soloviov <mva@gentoo.org>2024-01-15 23:51:37 +0700
committerVadim Misbakh-Soloviov <mva@gentoo.org>2024-01-15 23:55:48 +0700
commitcc94c1ccdb5805a994ba097ea6acf31a0d4d4f3d (patch)
treee021891529911ef195476d22f4b6751082f7d68e
parentgames-strategy/worms-reloaded: Migrated to EAPI8 (diff)
downloadgamerlay-cc94c1ccdb5805a994ba097ea6acf31a0d4d4f3d.tar.gz
gamerlay-cc94c1ccdb5805a994ba097ea6acf31a0d4d4f3d.tar.bz2
gamerlay-cc94c1ccdb5805a994ba097ea6acf31a0d4d4f3d.zip
games-strategy/vcmi: Bump
Closes: https://bugs.gentoo.org/905707 Signed-off-by: Vadim Misbakh-Soloviov <mva@gentoo.org>
-rw-r--r--games-strategy/vcmi/Manifest2
-rw-r--r--games-strategy/vcmi/metadata.xml14
-rw-r--r--games-strategy/vcmi/vcmi-1.4.2.ebuild (renamed from games-strategy/vcmi/vcmi-1.2.0.ebuild)11
3 files changed, 18 insertions, 9 deletions
diff --git a/games-strategy/vcmi/Manifest b/games-strategy/vcmi/Manifest
index 46aa551..d030cd8 100644
--- a/games-strategy/vcmi/Manifest
+++ b/games-strategy/vcmi/Manifest
@@ -1 +1 @@
-DIST vcmi-1.2.0.tar.gz 7143423 BLAKE2B 1a79d38de7947e4c0e539977c336a43e204ae282a9a3ca784844c92148fef072e6829269be77caffa8d3b6787d1f07f7e48f0d5b6335744d51bf2581d20becb6 SHA512 5d72db1584cf963b4c09675f81a817fae16e70e3766309593b7ad95c471cadeaa247463d2ecba7ac671775b908f511cc8598a190a9af848e07d1224209a7e77d
+DIST vcmi-1.4.2.tar.gz 9664335 BLAKE2B 7010c0b9e229280ff9d6ebc4aa6fcf48886b3014070aadef9b10eafceeceff9b9c7fbc0312f227bb213a5aba385a94cba878e48686e4989ec17552f1fa6fbb5b SHA512 77f9caf1055cae0baee7d2b28a5b893daf569f87a0652acf31bb6294b468d5552cfccf2e3f704954a7bd56909923fbf891c7d3d3d102f2bb008d2fa203de09ea
diff --git a/games-strategy/vcmi/metadata.xml b/games-strategy/vcmi/metadata.xml
index 0fbb816..a946854 100644
--- a/games-strategy/vcmi/metadata.xml
+++ b/games-strategy/vcmi/metadata.xml
@@ -1,8 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<use>
-<flag name="erm">Enable compilation of ERM scripting module</flag>
-<flag name="launcher">Enable launcer support</flag>
-</use>
+ <use>
+ <flag name="erm">Enable compilation of ERM scripting module</flag>
+ <flag name="launcher">Enable launcer support</flag>
+ <flag name="editor">Enable editor support</flag>
+ <flag name="nullkiller-ai">Enable NulKIller AI</flag>
+ <flag name="translations">Install translations</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">vcmi/vcmi</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/games-strategy/vcmi/vcmi-1.2.0.ebuild b/games-strategy/vcmi/vcmi-1.4.2.ebuild
index aa35155..06a7390 100644
--- a/games-strategy/vcmi/vcmi-1.2.0.ebuild
+++ b/games-strategy/vcmi/vcmi-1.4.2.ebuild
@@ -4,9 +4,9 @@
EAPI=8
LUA_COMPAT=(luajit)
-# TODO: other targets (buildsystem is fucked and needs patches)
+# TODO: other targets (buildsystem is crazy and needs patches)
-inherit cmake lua-single flag-o-matic
+inherit cmake lua-single
DESCRIPTION="Heroes of Might and Magic III game engine rewrite"
HOMEPAGE="http://forum.vcmi.eu/index.php"
@@ -16,7 +16,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# TODO: other arches
-IUSE="+editor +debug +erm +launcher +lua +nullkiller-ai +translations"
+IUSE="+editor debug erm +launcher lua +nullkiller-ai +translations"
REQUIRED_USE="
erm? ( lua )
@@ -74,10 +74,13 @@ src_configure() {
-DENABLE_NULLKILLER_AI=$(usex nullkiller-ai)
-DENABLE_MONOLITHIC_INSTALL=OFF
+ -DFORCE_BUNDLED_FL=OFF
+ -DFORCE_BUNDLED_MINIZIP=OFF
+ -DENABLE_GITVERSION=OFF
+ -DBoost_NO_BOOST_CMAKE=ON
)
export CCACHE_SLOPPINESS="time_macros"
cmake_src_configure
- strip-cppflags -DNDEBUG
}
pkg_postinst() {