summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2016-09-08 11:49:20 -0500
committerAustin English <wizardedit@gentoo.org>2016-09-08 12:25:06 -0500
commitb4e485588765824440ac3e3de9fcbac95be54982 (patch)
treeac3c6f4a082624dd23291263dcba4ddd26256dc3 /games-board/blokish/blokish-0.9.4-r3.ebuild
parentgames-board/biloba: remove deprecated games eclass (diff)
downloadgentoo-b4e485588765824440ac3e3de9fcbac95be54982.tar.gz
gentoo-b4e485588765824440ac3e3de9fcbac95be54982.tar.bz2
gentoo-b4e485588765824440ac3e3de9fcbac95be54982.zip
games-board/blokish: remove deprecated games eclass
Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082
Diffstat (limited to 'games-board/blokish/blokish-0.9.4-r3.ebuild')
-rw-r--r--games-board/blokish/blokish-0.9.4-r3.ebuild54
1 files changed, 54 insertions, 0 deletions
diff --git a/games-board/blokish/blokish-0.9.4-r3.ebuild b/games-board/blokish/blokish-0.9.4-r3.ebuild
new file mode 100644
index 00000000000..780a429953c
--- /dev/null
+++ b/games-board/blokish/blokish-0.9.4-r3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+WX_GTK_VER="3.0"
+inherit eutils autotools wxwidgets
+
+MY_P="${PN}_v${PV}"
+DESCRIPTION="Open source clone of the four-player board game Blokus"
+HOMEPAGE="https://sourceforge.net/projects/blokish/"
+SRC_URI="mirror://sourceforge/blokish/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
+ virtual/glu
+ virtual/opengl"
+RDEPEND=${DEPEND}
+
+S=${WORKDIR}/${PN}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc43.patch
+ "${FILESDIR}"/${P}-underlink.patch
+ "${FILESDIR}"/${P}-wxgtk.patch
+)
+
+src_prepare() {
+ default
+
+ # Otherwise $WX_CONFIG is unset:
+ setup-wxwidgets
+
+ sed -i \
+ -e "s:wx-config:${WX_CONFIG}:" \
+ configure.in makefile.am || die
+ mv configure.in configure.ac || die
+
+ eautoreconf
+}
+
+src_install() {
+ default
+
+ doicon src/${PN}.xpm
+ make_desktop_entry ${PN} Blokish ${PN}
+
+ dodoc docs/*
+}