From: Austin English Date: Wed, 7 Sep 2016 20:52:04 +0000 (-0500) Subject: games-board/gnono: remove deprecated games eclass X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=4b6f3f8dfb070c5642e0e6c4e6c0cb61162f4176;p=gentoo.git games-board/gnono: remove deprecated games eclass Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.3.0 --- diff --git a/games-board/gnono/gnono-1.9.1-r1.ebuild b/games-board/gnono/gnono-1.9.1-r1.ebuild new file mode 100644 index 000000000000..c2c9c9c21762 --- /dev/null +++ b/games-board/gnono/gnono-1.9.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit autotools eutils gnome2-utils + +DESCRIPTION="A rewrite for GNOME of the Windows card game WUNO" +HOMEPAGE="https://sourceforge.net/projects/gnono/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="gnome-base/libgnomeui + virtual/libintl" +DEPEND="${RDEPEND} + sys-devel/gettext" + +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch + "${FILESDIR}"/${P}-glib-single-include.patch +) + +src_prepare() { + default + + eautoreconf +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}