diff options
author | Julian Ospald <hasufell@gentoo.org> | 2014-06-12 20:03:25 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2014-06-12 20:03:25 +0000 |
commit | 7d63fe76e3a70de4f9db73810b1995a39ce21d7b (patch) | |
tree | a1dc263edd5eaaea0e339621612e647188edd3ed /games-board/pioneers/pioneers-15.1-r1.ebuild | |
parent | Version bump. (diff) | |
download | gentoo-2-7d63fe76e3a70de4f9db73810b1995a39ce21d7b.tar.gz gentoo-2-7d63fe76e3a70de4f9db73810b1995a39ce21d7b.tar.bz2 gentoo-2-7d63fe76e3a70de4f9db73810b1995a39ce21d7b.zip |
add dedicated USE flag wrt #513060
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
Diffstat (limited to 'games-board/pioneers/pioneers-15.1-r1.ebuild')
-rw-r--r-- | games-board/pioneers/pioneers-15.1-r1.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/games-board/pioneers/pioneers-15.1-r1.ebuild b/games-board/pioneers/pioneers-15.1-r1.ebuild new file mode 100644 index 000000000000..ab969f7492c4 --- /dev/null +++ b/games-board/pioneers/pioneers-15.1-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/pioneers/pioneers-15.1-r1.ebuild,v 1.1 2014/06/12 20:03:25 hasufell Exp $ + +# NOTE: "QA Notice: Unrecognized configure options --with-gtk" is a false-positive + +EAPI=5 +inherit autotools 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" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="dedicated help nls" + +# dev-util/gob only for autoreconf +RDEPEND=">=dev-libs/glib-2.6:2 + !dedicated? ( + >=x11-libs/gtk+-2.6:2 + x11-libs/libnotify + help? ( + >=app-text/scrollkeeper-0.3.8 + >=gnome-base/libgnome-2.10 + ) + ) + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + dev-util/gob:2 + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch + eautoreconf + gnome2_src_prepare +} + +src_configure() { + gnome-games_src_configure \ + $(use_enable nls) \ + --enable-minimal-flags \ + $(use_with 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 +} |