blob: bc00926d8d952bc84aa855753834ef29f1d27cc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-board/pioneers/pioneers-15.3.ebuild,v 1.2 2015/01/08 20:15:52 tupone Exp $
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/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() {
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
}
|