games-board/gnono: remove deprecated games eclass
authorAustin English <wizardedit@gentoo.org>
Wed, 7 Sep 2016 20:52:04 +0000 (15:52 -0500)
committerAustin English <wizardedit@gentoo.org>
Wed, 7 Sep 2016 22:16:14 +0000 (17:16 -0500)
Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

games-board/gnono/gnono-1.9.1-r1.ebuild [new file with mode: 0644]

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 (file)
index 0000000..c2c9c9c
--- /dev/null
@@ -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
+}