commit:     cb6db71ef8c09985e9f0da1438e98a0128009610
Author:     Stefan Cristian B. <stefan.cristian+git <AT> rogentos <DOT> ro>
AuthorDate: Sat Sep 13 11:52:22 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sat Sep 13 13:04:35 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb6db71e

games-strategy/seven-kingdoms: bump 2.15.7; corrected few issues

* Added maintainer
* Added new options in ECONF

Signed-off-by: Stefan Cristian B. <stefan.cristian+git <AT> rogentos.ro>
Part-of: https://github.com/gentoo/gentoo/pull/43407
Closes: https://github.com/gentoo/gentoo/pull/43407
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 games-strategy/seven-kingdoms/Manifest             |  1 +
 games-strategy/seven-kingdoms/metadata.xml         | 24 ++++++++--
 .../seven-kingdoms/seven-kingdoms-2.15.7.ebuild    | 55 ++++++++++++++++++++++
 3 files changed, 75 insertions(+), 5 deletions(-)

diff --git a/games-strategy/seven-kingdoms/Manifest 
b/games-strategy/seven-kingdoms/Manifest
index f5b6a2cdea04..7349aa1a12a7 100644
--- a/games-strategy/seven-kingdoms/Manifest
+++ b/games-strategy/seven-kingdoms/Manifest
@@ -1,2 +1,3 @@
 DIST 7kaa-2.15.6.tar.gz 73334247 BLAKE2B 
7ef2926df74f230208c438223d963362b96327c5a8dd002ec32a7af6c2c3ae910f8cbffd2f974b0a0b178b479bc798c8be9a70e99fda93797519f041c9e18aec
 SHA512 
8387680b39a203a50bcf466424a4401416d9f60aa00078e4e78a44b89e7afc722a62e81a1f3b5cdb20e323983e4a6506919340261fb6b2829e3ca275e648a64f
+DIST 7kaa-2.15.7.tar.gz 79785782 BLAKE2B 
d71594ed46086e2c5b2c38da7e5dd2ff9eb7c0b89abcd62c7dee295530ab6609923303d2b6df42b479b8628bd80b35c149ffd20f3000685ead25b6cd7a6304ce
 SHA512 
c599064d6f06095bef567611bbaefe3e3cf09637d5cba28078b3c03550485e1b57b34ecf9e1a48519fde5149fbd037b40d4d14cf4675942b15bdf0ee8c7e4594
 DIST 7kaa.png 559 BLAKE2B 
0379e60a5355c93cddf2a5f30b5e84711f77df073db4e85eee13d51654180572cd73dc96e8a9b954101e8b0ecacd879d6fa9e57feb70b66d1bdd043d07a40113
 SHA512 
0ec1ba67107a7823943704879efaf12297c5441c43b54f49684550927b10dc40c657fe93eb7c4cc85208d08194f179c9602fd8df6545776f3e1b4481803b16e6

diff --git a/games-strategy/seven-kingdoms/metadata.xml 
b/games-strategy/seven-kingdoms/metadata.xml
index 039514c16118..50a97d152995 100644
--- a/games-strategy/seven-kingdoms/metadata.xml
+++ b/games-strategy/seven-kingdoms/metadata.xml
@@ -1,9 +1,23 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-       <!-- maintainer-needed -->
-       <upstream>
-               <remote-id type="sourceforge">skfans</remote-id>
-               <remote-id type="github">the3dfxdude/7kaa</remote-id>
-       </upstream>
+        <maintainer type="person" proxied="yes">
+                <email>[email protected]</email>
+                <name>Stefan Cristian B.</name>
+        </maintainer>
+        <maintainer type="project" proxied="proxy">
+                <email>[email protected]</email>
+                <name>Proxy Maintainers</name>
+        </maintainer>
+    <longdescription>
+        Seven Kingdoms: Ancient Adversaries is a real-time strategy game set in
+        the medieval world, where players can control one of several factions
+        and engage in battles, diplomacy, and resource management.
+    </longdescription>
+    <use>
+      <flag name="multiplayer">Enable multiplayer.</flag>
+    </use>
+    <upstream>
+        <remote-id type="sourceforge">skfans</remote-id>
+    </upstream>
 </pkgmetadata>

diff --git a/games-strategy/seven-kingdoms/seven-kingdoms-2.15.7.ebuild 
b/games-strategy/seven-kingdoms/seven-kingdoms-2.15.7.ebuild
new file mode 100644
index 000000000000..953caab60b02
--- /dev/null
+++ b/games-strategy/seven-kingdoms/seven-kingdoms-2.15.7.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop toolchain-funcs
+
+MY_PN="7kaa"
+MY_PV="$(ver_rs 3- '')"
+MY_P="${MY_PN}-${MY_PV}"
+
+DESCRIPTION="Seven Kingdoms: Ancient Adversaries"
+HOMEPAGE="https://7kfans.com/";
+SRC_URI="https://downloads.sourceforge.net/skfans/${MY_P}.tar.gz
+       https://dev.gentoo.org/~pinkbyte/distfiles/${MY_PN}.png";
+
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+IUSE="+nls +multiplayer"
+DEPEND="
+       multiplayer? (
+               net-libs/enet:1.3=
+               net-misc/curl
+               )
+       media-libs/libsdl2[X,video]
+       media-libs/openal
+"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+       unpack ${MY_P}.tar.gz
+}
+
+src_configure() {
+               local myeconfargs=(
+                       $(use_enable multiplayer)
+                       $(use_enable nls)
+               )
+               econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+       emake AR="$(tc-getAR)"
+}
+
+src_install() {
+       default
+
+       doicon "${DISTDIR}/${MY_PN}.png"
+       make_desktop_entry "${MY_PN}" "Seven Kingdoms: Ancient Adversaries" 
"${MY_PN}" "Game;StrategyGame"
+}

Reply via email to