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@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@gentoo.org>
This commit is contained in:
Stefan Cristian B. 2025-09-13 14:52:22 +03:00 committed by Viorel Munteanu
parent 43acfc5801
commit cb6db71ef8
No known key found for this signature in database
GPG Key ID: 0CE5A97D9310DAB0
3 changed files with 75 additions and 5 deletions

View File

@ -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

View File

@ -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>stefan.cristian+git@rogentos.ro</email>
<name>Stefan Cristian B.</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</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>

View File

@ -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"
}