public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-strategy/7k-ambition/
Date: Sat, 23 Aug 2025 19:32:22 +0000 (UTC)	[thread overview]
Message-ID: <1755858140.d6b9264d28c64d79db648ba14090f6e15842693b.davidroman@gentoo> (raw)

commit:     d6b9264d28c64d79db648ba14090f6e15842693b
Author:     Tim Sviridov <Lt.Infiltrator <AT> gmail <DOT> com>
AuthorDate: Sun Aug 17 22:31:55 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Aug 22 10:22:20 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d6b9264d

games-strategy/7k-ambition: new package, add 3.2.2 and 9999

Signed-off-by: Tim Sviridov <Lt.Infiltrator <AT> gmail.com>

 .../7k-ambition/7k-ambition-3.2.2.ebuild           | 60 ++++++++++++++++++++++
 games-strategy/7k-ambition/7k-ambition-9999.ebuild | 60 ++++++++++++++++++++++
 games-strategy/7k-ambition/Manifest                |  2 +
 games-strategy/7k-ambition/metadata.xml            | 21 ++++++++
 4 files changed, 143 insertions(+)

diff --git a/games-strategy/7k-ambition/7k-ambition-3.2.2.ebuild b/games-strategy/7k-ambition/7k-ambition-3.2.2.ebuild
new file mode 100644
index 0000000000..c5c6287cb9
--- /dev/null
+++ b/games-strategy/7k-ambition/7k-ambition-3.2.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools desktop toolchain-funcs xdg
+
+if [[ ${PV} == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.code.sf.net/p/seven-kingdoms-ambition/code"
+	EGIT_BRANCH="next"
+else
+	SRC_URI="https://github.com/Infiltrator/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Seven Kingdoms: Ambition"
+HOMEPAGE="https://seven-kingdoms-ambition.sourceforge.io/"
+SRC_URI+=" https://sourceforge.net/projects/seven-kingdoms-ambition/files/${PN}.png/download -> ${PN}.png"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="+nls +multiplayer"
+DEPEND="
+	dev-libs/boost:=
+	nls? ( <=sys-devel/gettext-0.22.5-r2 )
+	multiplayer? (
+		net-libs/enet:1.3=
+		net-misc/curl:=
+	)
+	media-libs/libsdl2[X,video]
+	media-libs/openal:=
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_enable nls)
+		$(use_enable multiplayer)
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	emake AR="$(tc-getAR)"
+}
+
+src_install() {
+	default
+
+	doicon "${DISTDIR}/7k-ambition.png"
+
+	make_desktop_entry 7k-ambition "Seven Kingdoms: Ambition" /usr/share/pixmaps/7k-ambition.png Game
+}

diff --git a/games-strategy/7k-ambition/7k-ambition-9999.ebuild b/games-strategy/7k-ambition/7k-ambition-9999.ebuild
new file mode 100644
index 0000000000..c5c6287cb9
--- /dev/null
+++ b/games-strategy/7k-ambition/7k-ambition-9999.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools desktop toolchain-funcs xdg
+
+if [[ ${PV} == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.code.sf.net/p/seven-kingdoms-ambition/code"
+	EGIT_BRANCH="next"
+else
+	SRC_URI="https://github.com/Infiltrator/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Seven Kingdoms: Ambition"
+HOMEPAGE="https://seven-kingdoms-ambition.sourceforge.io/"
+SRC_URI+=" https://sourceforge.net/projects/seven-kingdoms-ambition/files/${PN}.png/download -> ${PN}.png"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="+nls +multiplayer"
+DEPEND="
+	dev-libs/boost:=
+	nls? ( <=sys-devel/gettext-0.22.5-r2 )
+	multiplayer? (
+		net-libs/enet:1.3=
+		net-misc/curl:=
+	)
+	media-libs/libsdl2[X,video]
+	media-libs/openal:=
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_enable nls)
+		$(use_enable multiplayer)
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	emake AR="$(tc-getAR)"
+}
+
+src_install() {
+	default
+
+	doicon "${DISTDIR}/7k-ambition.png"
+
+	make_desktop_entry 7k-ambition "Seven Kingdoms: Ambition" /usr/share/pixmaps/7k-ambition.png Game
+}

diff --git a/games-strategy/7k-ambition/Manifest b/games-strategy/7k-ambition/Manifest
new file mode 100644
index 0000000000..6e8a18e397
--- /dev/null
+++ b/games-strategy/7k-ambition/Manifest
@@ -0,0 +1,2 @@
+DIST 7k-ambition-3.2.2.tar.gz 63123435 BLAKE2B e8e426b22580116b18821cf233a90b25cfde9aa2bc3d8a16d47322272619223800f121aebaf97b1b3d153d5fbc11d76ced2bbc1df2c621e8c66bd00bf860c332 SHA512 999a2519defd7b21e19de8dee8defc760461e3910daecfd13f5c96dc67fdb218c2bdf987c54a6a0b9043998a45fb3575db82e42760b9586b57a7a6b57b4d0fdb
+DIST 7k-ambition.png 203178 BLAKE2B 1feaeab6a4538a278578bdbd195d3b809472008fa8d691d564a27d05da3adcc1125f0eafe42c45dd28c8719c62397dedac2f2bf31276430e0e42be246a98f7be SHA512 33a4ed08facceb626f2dc3ed99c0e05b0e3898d2a800878be55520acbfeb2f4d71dfc9bc927b18aa24fb2bef5678674065a79c08fc8a8b44ecafe28d901b5c28

diff --git a/games-strategy/7k-ambition/metadata.xml b/games-strategy/7k-ambition/metadata.xml
new file mode 100644
index 0000000000..09219dfee0
--- /dev/null
+++ b/games-strategy/7k-ambition/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+    <maintainer type="person">
+        <email>Lt.Infiltrator@gmail.com</email>
+        <name>Tim Sviridov</name>
+    </maintainer>
+    <longdescription>
+        Seven Kingdoms: Ambition is a real-time game of epic strategy and empire
+        building featuring economy management, warfare, and intrigue.  It is an
+        updated and enhanced version of 7kaa (7K: Ancient Adversaries) featuring
+        numerous fixes and improvements.
+    </longdescription>
+    <use>
+      <flag name="multiplayer">Enable multiplayer.</flag>
+    </use>
+    <upstream>
+        <remote-id type="github">Infiltrator/7k-ambition</remote-id>
+        <remote-id type="sourceforge">seven-kingdoms-ambition</remote-id>
+    </upstream>
+</pkgmetadata>


             reply	other threads:[~2025-08-23 19:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-23 19:32 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-11 11:13 [gentoo-commits] repo/proj/guru:master commit in: games-strategy/7k-ambition/ Haelwenn Monnier
2025-09-12 10:49 David Roman
2025-09-12 10:49 David Roman
2025-09-12 10:49 David Roman
2025-09-09 14:47 David Roman
2025-09-09 14:47 David Roman
2025-09-05 23:31 David Roman
2025-09-05 23:31 David Roman
2025-09-04 14:57 David Roman
2025-08-25  8:44 David Roman
2025-08-25  8:44 David Roman
2025-08-23 19:32 David Roman
2025-08-20 12:45 David Roman
2025-08-20  9:25 [gentoo-commits] repo/proj/guru:dev " David Roman
2025-08-20 12:45 ` [gentoo-commits] repo/proj/guru:master " David Roman

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=1755858140.d6b9264d28c64d79db648ba14090f6e15842693b.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --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