You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-board/gnome-mastermind/gnome-mastermind-0.3.1-r1.e...

47 lines
1.0 KiB

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-board/gnome-mastermind/gnome-mastermind-0.3.1-r1.ebuild,v 1.1 2014/11/22 16:17:47 pacho Exp $
EAPI=5
GCONF_DEBUG="yes"
inherit autotools eutils gnome2
DESCRIPTION="A little Mastermind game for GNOME"
HOMEPAGE="http://www.autistici.org/gnome-mastermind/"
SRC_URI="http://download.gna.org/gnome-mastermind/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86"
IUSE=""
RDEPEND="
gnome-base/gconf:2
gnome-base/orbit
app-text/gnome-doc-utils
dev-libs/atk
dev-libs/glib:2
x11-libs/pango
x11-libs/cairo
x11-libs/gtk+:2
"
DEPEND="${RDEPEND}
virtual/pkgconfig
dev-util/intltool
sys-devel/gettext
app-text/scrollkeeper
"
src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo.patch
# Fix .desktop file
sed -i -e 's/True/true/' desktop/gnome-mastermind.desktop.in || die
# Regenarate all intltool files to respect LINGUAS
eautoreconf
gnome2_src_prepare
}