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

This reverts commit 1905c3af38.

Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
David Roman
2025-08-20 11:14:03 +02:00
parent 6df03491b7
commit 63f6d348ee
4 changed files with 0 additions and 148 deletions

View File

@@ -1,64 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools desktop toolchain-funcs
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"
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"
if [[ ${PV} == *9999* ]]; then
KEYWORDS=""
SLOT="9999"
else
SLOT="$(ver_cut 1-2)"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
fi
DEPEND="dev-libs/boost
media-libs/libsdl2[X,video]
media-libs/openal
net-misc/curl
net-libs/enet:1.3"
RDEPEND="${DEPEND}"
src_prepare() {
default
eautoreconf
}
src_configure() {
econf \
--prefix="${EPREFIX}/opt/games/${P}" \
--datadir="${EPREFIX}/opt/games/${P}/share" \
--sysconfdir="${EPREFIX}/opt/games/${P}/etc" \
--localedir="${EPREFIX}/opt/games/${P}/share/locale"
}
src_compile() {
emake AR="$(tc-getAR)"
}
src_install() {
emake DESTDIR="${D}" install
insinto "/opt/games/${P}/share/pixmaps"
newins "${DISTDIR}/${PN}.png" "${PN}.png"
dosym "../../opt/games/${P}/bin/${PN}" "/usr/bin/${PN}-${PV}"
make_desktop_entry "${PN}-${PV}" "Seven Kingdoms: Ambition ${PV}" \
"/opt/games/${P}/share/pixmaps/${PN}.png" "Game;StrategyGame"
}

View File

@@ -1,64 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools desktop toolchain-funcs
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"
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"
if [[ ${PV} == *9999* ]]; then
KEYWORDS=""
SLOT="9999"
else
SLOT="$(ver_cut 1-2)"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
fi
DEPEND="dev-libs/boost
media-libs/libsdl2[X,video]
media-libs/openal
net-misc/curl
net-libs/enet:1.3"
RDEPEND="${DEPEND}"
src_prepare() {
default
eautoreconf
}
src_configure() {
econf \
--prefix="${EPREFIX}/opt/games/${P}" \
--datadir="${EPREFIX}/opt/games/${P}/share" \
--sysconfdir="${EPREFIX}/opt/games/${P}/etc" \
--localedir="${EPREFIX}/opt/games/${P}/share/locale"
}
src_compile() {
emake AR="$(tc-getAR)"
}
src_install() {
emake DESTDIR="${D}" install
insinto "/opt/games/${P}/share/pixmaps"
newins "${DISTDIR}/${PN}.png" "${PN}.png"
dosym "../../opt/games/${P}/bin/${PN}" "/usr/bin/${PN}-${PV}"
make_desktop_entry "${PN}-${PV}" "Seven Kingdoms: Ambition ${PV}" \
"/opt/games/${P}/share/pixmaps/${PN}.png" "Game;StrategyGame"
}

View File

@@ -1,2 +0,0 @@
DIST 7k-ambition-3.2.2.tar.gz 63123435 BLAKE2B e8e426b22580116b18821cf233a90b25cfde9aa2bc3d8a16d47322272619223800f121aebaf97b1b3d153d5fbc11d76ced2bbc1df2c621e8c66bd00bf860c332 SHA512 999a2519defd7b21e19de8dee8defc760461e3910daecfd13f5c96dc67fdb218c2bdf987c54a6a0b9043998a45fb3575db82e42760b9586b57a7a6b57b4d0fdb
DIST 7k-ambition.png 197382 BLAKE2B 561e49b78477898b2d019d1faf7285dac38732414d6d685644ee3ee26b79b0b32a800fe0fc2eb73b7344617b6f2dd85b4fe63a465a6c0b0719d8823685fd9a5a SHA512 0a9ca02ead44a2795121ce0c5a83917d136e8ade61c4eea9b01961054107dc10e0919ed7ccd629ac66f0acb4f1e11a3283fcd49457f853aad5f92e28f1764c78

View File

@@ -1,18 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>seven-kingdoms-ambition-discuss@lists.sourceforge.net</email>
<name>Seven Kingdoms: Ambition Team</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>
<upstream>
<remote-id type="github">Infiltrator/7k-ambition</remote-id>
<remote-id type="sourceforge">seven-kingdoms-ambition</remote-id>
</upstream>
</pkgmetadata>