public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tim Sviridov" <Lt.Infiltrator@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-strategy/7k-ambition/
Date: Wed, 10 Sep 2025 08:27:01 +0000 (UTC)	[thread overview]
Message-ID: <1757492811.26f12f8d86a66a947e272ae1c0929e536d28d1ca.Lt.Infiltrator@gentoo> (raw)

commit:     26f12f8d86a66a947e272ae1c0929e536d28d1ca
Author:     Tim Sviridov <Lt.Infiltrator <AT> gmail <DOT> com>
AuthorDate: Wed Sep 10 08:26:08 2025 +0000
Commit:     Tim Sviridov <Lt.Infiltrator <AT> gmail <DOT> com>
CommitDate: Wed Sep 10 08:26:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=26f12f8d

games-strategy/7k-ambition: Fix gettext dependency version

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

 .../7k-ambition/7k-ambition-3.2.5-r1.ebuild        | 79 ++++++++++++++++++++++
 1 file changed, 79 insertions(+)

diff --git a/games-strategy/7k-ambition/7k-ambition-3.2.5-r1.ebuild b/games-strategy/7k-ambition/7k-ambition-3.2.5-r1.ebuild
new file mode 100644
index 0000000000..38fc05bbf7
--- /dev/null
+++ b/games-strategy/7k-ambition/7k-ambition-3.2.5-r1.ebuild
@@ -0,0 +1,79 @@
+# 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
+	music? ( https://www.7kfans.com/downloads/7kaa-music-2.15.tar.bz2 )
+"
+
+LICENSE="GPL-2
+		music? ( 7k-music )"
+SLOT="0"
+IUSE="+nls +multiplayer +music"
+RESTRICT="music? ( bindist ) mirror"
+
+DEPEND="
+	dev-libs/boost:=
+	nls? ( >=sys-devel/gettext-0.23 )
+	multiplayer? (
+		net-libs/enet:1.3=
+		net-misc/curl:=
+	)
+	media-libs/libsdl2[X,video]
+	media-libs/openal:=
+"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+	if [[ ${PV} == *9999* ]]; then
+		git-r3_src_unpack
+	fi
+
+	default
+}
+
+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
+
+	if use music ; then
+		insinto "usr/share/${PN}/"
+		doins -r "${WORKDIR}/7kaa-music/MUSIC"
+
+		dodoc "${WORKDIR}/7kaa-music/README-Music.txt" "${WORKDIR}/7kaa-music/COPYING-Music.txt"
+	fi
+
+	doicon "${DISTDIR}/${PN}.png"
+
+	make_desktop_entry ${PN} "Seven Kingdoms: Ambition" /usr/share/pixmaps/${PN}.png Game
+}


             reply	other threads:[~2025-09-10  8:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-10  8:27 Tim Sviridov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-24  3:29 [gentoo-commits] repo/proj/guru:dev commit in: games-strategy/7k-ambition/ Tim Sviridov
2025-10-10 15:13 demize
2025-10-08 12:21 Tim Sviridov
2025-09-10  9:04 Tim Sviridov
2025-09-10  8:43 Tim Sviridov
2025-09-09  7:58 Alexander Tsoy
2025-09-09  5:47 Tim Sviridov
2025-09-05  8:17 Tim Sviridov
2025-09-05  1:54 Tim Sviridov
2025-09-03  2:45 Tim Sviridov
2025-08-24 23:51 Tim Sviridov
2025-08-24  7:24 Tim Sviridov
2025-08-23 12:07 Tim Sviridov
2025-08-22 10:23 Tim Sviridov
2025-08-20  9:25 David Roman
2025-08-20  8:57 Tim Sviridov

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=1757492811.26f12f8d86a66a947e272ae1c0929e536d28d1ca.Lt.Infiltrator@gentoo \
    --to=lt.infiltrator@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