diff options
Diffstat (limited to 'games-board/pioneers')
-rw-r--r-- | games-board/pioneers/Manifest | 1 | ||||
-rw-r--r-- | games-board/pioneers/metadata.xml | 14 | ||||
-rw-r--r-- | games-board/pioneers/pioneers-15.3.ebuild | 49 |
3 files changed, 64 insertions, 0 deletions
diff --git a/games-board/pioneers/Manifest b/games-board/pioneers/Manifest new file mode 100644 index 000000000000..f894de727f31 --- /dev/null +++ b/games-board/pioneers/Manifest @@ -0,0 +1 @@ +DIST pioneers-15.3.tar.gz 4154470 SHA256 69afa51b71646565536b571b0f89786d3a7616965265f196fd51656b51381a89 SHA512 57aa8bc48019c87a683a4728d28d56f6bd755a0566922dddb4de825904820d1204f893e73fd13465fcec63cecb4a5735a90338f6ff915b7f17113dc0f1e834c1 WHIRLPOOL d9f313bde1b8e1042031784905f3dd3ad133da5b3e9096e147b74d75196875615a0b52053fdd73c615c006ed40f3019b30b030e1882e193fc2335fdc3914e8b1 diff --git a/games-board/pioneers/metadata.xml b/games-board/pioneers/metadata.xml new file mode 100644 index 000000000000..fd23dc88c4b9 --- /dev/null +++ b/games-board/pioneers/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <longdescription> + Pio (Pioneers) is a clone of the board game The Settlers of Catan. +</longdescription> + <use> + <flag name="help">Enable gnome ingame help via scrollkeeper</flag> + </use> + <upstream> + <remote-id type="sourceforge">pio</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-board/pioneers/pioneers-15.3.ebuild b/games-board/pioneers/pioneers-15.3.ebuild new file mode 100644 index 000000000000..7641839e26ad --- /dev/null +++ b/games-board/pioneers/pioneers-15.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils gnome-games + +DESCRIPTION="A clone of the popular board game The Settlers of Catan" +HOMEPAGE="http://pio.sourceforge.net/" +SRC_URI="mirror://sourceforge/pio/${P}.tar.gz" + +LICENSE="GPL-2 CC-BY-SA-4.0" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="dedicated help nls" + +# dev-util/gob only for autoreconf +RDEPEND=">=dev-libs/glib-2.26:2 + !dedicated? ( + >=x11-libs/gtk+-3.4:3 + >=x11-libs/libnotify-0.7.4 + help? ( + app-text/rarian + >=gnome-base/libgnome-2.10 + ) + ) + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + dev-util/gob:2 + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +src_prepare() { + gnome2_src_prepare +} + +src_configure() { + gnome-games_src_configure \ + $(use_enable nls) \ + $(use_enable help) \ + --includedir=/usr/include \ + $(use_with !dedicated gtk) +} + +src_install() { + DOCS='AUTHORS ChangeLog README TODO NEWS' \ + gnome2_src_install scrollkeeper_localstate_dir="${ED%/}"/var/lib/scrollkeeper/ + prepgamesdirs +} |