From c74ba037a9433072a4f10235b4e6084c0c4426f0 Mon Sep 17 00:00:00 2001 From: David Hicks Date: Fri, 28 Jul 2017 21:56:13 +1000 Subject: games-strategy/seven-kingdoms: bump to version 2.14.7 Changes made: * Download source from new official GitHub repository * Prefer https for official webpage * Use EAPI=6 * Remove src_prepare as the default in EAPI 6 now includes user patches * Add new curl dependency (required for full multi-player ability) * Remove deprecated games eclass dependency and use of functions * Update the data directory to /usr/share/ * --without-wine is not required as this is the default * --disable-debug is not required as this is the default * No need to specify DOCS as README will be picked up automatically * Remove package exclusion games-strategy/seven-kingdoms-data as this package is no longer in the tree Gentoo-Bug: 626426 Package-Manager: Portage-2.3.6, Repoman-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/5233 --- .../seven-kingdoms/seven-kingdoms-2.14.7.ebuild | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 games-strategy/seven-kingdoms/seven-kingdoms-2.14.7.ebuild (limited to 'games-strategy/seven-kingdoms/seven-kingdoms-2.14.7.ebuild') diff --git a/games-strategy/seven-kingdoms/seven-kingdoms-2.14.7.ebuild b/games-strategy/seven-kingdoms/seven-kingdoms-2.14.7.ebuild new file mode 100644 index 000000000000..012fe8f1bc68 --- /dev/null +++ b/games-strategy/seven-kingdoms/seven-kingdoms-2.14.7.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +MY_PN="7kaa" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Seven Kingdoms: Ancient Adversaries" +HOMEPAGE="https://7kfans.com/" +SRC_URI="https://github.com/the3dfxdude/${MY_PN}/releases/download/v${PV}/${MY_P}.tar.xz + https://dev.gentoo.org/~pinkbyte/distfiles/${MY_PN}.png" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="net-libs/enet:1.3= + media-libs/libsdl2[X,video] + media-libs/openal + net-misc/curl" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${MY_P}.tar.xz +} + +src_install() { + default + + doicon "${DISTDIR}/${MY_PN}.png" + make_desktop_entry "${MY_PN}" "Seven Kingdoms: Ancient Adversaries" "${MY_PN}" "Game;StrategyGame" +} -- cgit v1.2.3-65-gdbad