From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DBD151581FD for ; Fri, 12 Sep 2025 10:50:01 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C92B63410B0 for ; Fri, 12 Sep 2025 10:50:00 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C395A110575; Fri, 12 Sep 2025 10:49:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id B2274110575 for ; Fri, 12 Sep 2025 10:49:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6E4CC341064 for ; Fri, 12 Sep 2025 10:49:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CEE483991 for ; Fri, 12 Sep 2025 10:49:47 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1757492811.26f12f8d86a66a947e272ae1c0929e536d28d1ca.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: games-strategy/7k-ambition/ X-VCS-Repository: repo/proj/guru X-VCS-Files: games-strategy/7k-ambition/7k-ambition-3.2.5-r1.ebuild X-VCS-Directories: games-strategy/7k-ambition/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 26f12f8d86a66a947e272ae1c0929e536d28d1ca X-VCS-Branch: master Date: Fri, 12 Sep 2025 10:49:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a9bcddab-0bc8-474c-a884-57aa06abf74e X-Archives-Hash: 2fd83b70a7f5250638c68cf9a80befda commit: 26f12f8d86a66a947e272ae1c0929e536d28d1ca Author: Tim Sviridov gmail com> AuthorDate: Wed Sep 10 08:26:08 2025 +0000 Commit: David Roman gmail 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 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 +}