summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2012-11-19 14:41:50 +0000
committerSergey Popov <pinkbyte@gentoo.org>2012-11-19 14:41:50 +0000
commit39256c903c2e36eaf4625a354596c5a5623e2508 (patch)
tree9d74bc09cb0ad4b790f67663f0c4e9c488c99482 /games-strategy/seven-kingdoms
parentInitial commit wrt bug #358209. Thanks to Sven Eden for initial ebuild (diff)
downloadgentoo-2-39256c903c2e36eaf4625a354596c5a5623e2508.tar.gz
gentoo-2-39256c903c2e36eaf4625a354596c5a5623e2508.tar.bz2
gentoo-2-39256c903c2e36eaf4625a354596c5a5623e2508.zip
Initial commit wrt bug #358209. Thanks to Sven Eden for initial ebuild
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-strategy/seven-kingdoms')
-rw-r--r--games-strategy/seven-kingdoms/ChangeLog10
-rw-r--r--games-strategy/seven-kingdoms/metadata.xml8
-rw-r--r--games-strategy/seven-kingdoms/seven-kingdoms-2.14.3.ebuild53
3 files changed, 71 insertions, 0 deletions
diff --git a/games-strategy/seven-kingdoms/ChangeLog b/games-strategy/seven-kingdoms/ChangeLog
new file mode 100644
index 000000000000..c4a68ba24a89
--- /dev/null
+++ b/games-strategy/seven-kingdoms/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-strategy/seven-kingdoms
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/seven-kingdoms/ChangeLog,v 1.1 2012/11/19 14:41:50 pinkbyte Exp $
+
+*seven-kingdoms-2.14.3 (19 Nov 2012)
+
+ 19 Nov 2012; Sergey Popov <pinkbyte@gentoo.org>
+ +seven-kingdoms-2.14.3.ebuild, +metadata.xml:
+ Initial commit wrt bug #358209. Thanks to Sven Eden for initial ebuild
+
diff --git a/games-strategy/seven-kingdoms/metadata.xml b/games-strategy/seven-kingdoms/metadata.xml
new file mode 100644
index 000000000000..b6b8956cde34
--- /dev/null
+++ b/games-strategy/seven-kingdoms/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/games-strategy/seven-kingdoms/seven-kingdoms-2.14.3.ebuild b/games-strategy/seven-kingdoms/seven-kingdoms-2.14.3.ebuild
new file mode 100644
index 000000000000..d374c650a6aa
--- /dev/null
+++ b/games-strategy/seven-kingdoms/seven-kingdoms-2.14.3.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/seven-kingdoms/seven-kingdoms-2.14.3.ebuild,v 1.1 2012/11/19 14:41:50 pinkbyte Exp $
+
+EAPI=4
+
+AUTOTOOLS_AUTORECONF=1
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+inherit autotools-utils games
+
+MY_PN="7kaa"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Seven Kingdoms: Ancient Adversaries"
+HOMEPAGE="http://7kfans.com/"
+SRC_URI="mirror://sourceforge/skfans/${MY_PN}-source-${PV}.tar.bz2
+ http://dev.gentoo.org/~pinkbyte/distfiles/${MY_PN}.png"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl
+ media-libs/sdl-net
+ media-libs/openal"
+RDEPEND="${DEPEND}"
+PDEPEND="games-strategy/seven-kingdoms-data"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( README )
+
+src_configure() {
+ # In current state debugging works only on Windows :-/
+ egamesconf \
+ --disable-debug \
+ --without-directx \
+ --without-wine \
+ --program-suffix=".bin" \
+ --datadir="${GAMES_DATADIR}/${MY_PN}"
+}
+
+src_install() {
+ autotools-utils_src_install
+
+ doicon "${DISTDIR}/${MY_PN}.png"
+ games_make_wrapper "${MY_PN}" "${GAMES_BINDIR}/${MY_PN}.bin" "${GAMES_DATADIR}/${MY_PN}"
+ make_desktop_entry "${MY_PN}" "Seven Kingdoms: Ancient Adversaries" "${MY_PN}" "Game;StrategyGame"
+
+ prepgamesdirs
+}