summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2014-11-22 02:06:02 +0000
committerSebastian Pipping <sping@gentoo.org>2014-11-22 02:06:02 +0000
commit43d4b1fa2e227e6983e1df57056cc60c6470612d (patch)
tree3cb0d8cdbacab8547fc80e0857e181ae0082ff95 /games-board
parentVersion bumps. (diff)
downloadgentoo-2-43d4b1fa2e227e6983e1df57056cc60c6470612d.tar.gz
gentoo-2-43d4b1fa2e227e6983e1df57056cc60c6470612d.tar.bz2
gentoo-2-43d4b1fa2e227e6983e1df57056cc60c6470612d.zip
games-board/gambit: 1.0.3 (bug #529616)
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x401A1600)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/gambit/ChangeLog7
-rw-r--r--games-board/gambit/gambit-1.0.3.ebuild53
2 files changed, 59 insertions, 1 deletions
diff --git a/games-board/gambit/ChangeLog b/games-board/gambit/ChangeLog
index deaa4313c0ac..89f615633571 100644
--- a/games-board/gambit/ChangeLog
+++ b/games-board/gambit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-board/gambit
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gambit/ChangeLog,v 1.1 2014/11/16 14:41:09 sping Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/gambit/ChangeLog,v 1.2 2014/11/22 02:06:02 sping Exp $
+
+*gambit-1.0.3 (22 Nov 2014)
+
+ 22 Nov 2014; Sebastian Pipping <sping@gentoo.org> +gambit-1.0.3.ebuild:
+ Bump to 1.0.3 (which should fix start-up bug #529616)
*gambit-1.0.1 (16 Nov 2014)
diff --git a/games-board/gambit/gambit-1.0.3.ebuild b/games-board/gambit/gambit-1.0.3.ebuild
new file mode 100644
index 000000000000..362144d7bc6f
--- /dev/null
+++ b/games-board/gambit/gambit-1.0.3.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/gambit/gambit-1.0.3.ebuild,v 1.1 2014/11/22 02:06:02 sping Exp $
+
+EAPI="5"
+
+CMAKE_IN_SOURCE_BUILD=true
+inherit cmake-utils games
+
+DESCRIPTION="Qt-based chess application + engine \"gupta\""
+HOMEPAGE="http://sourceforge.net/projects/gambitchess/"
+SRC_URI="mirror://sourceforge/project/${PN}chess/${PN^}-${PV}/${PN^}-${PV}-src.tar.bz2"
+
+LICENSE="CC0-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-qt/qtopengl:4
+ media-libs/mesa
+ x11-libs/libX11"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/${PN^}-${PV}-src
+
+src_configure() {
+ local mycmakeargs=(
+ -DCONFIG_ENABLE_UPDATE_CHECKER=OFF
+ -DCONFIG_GUPTA_ENGINE_DIRECTORY="${GAMES_BINDIR}"/
+ -DCONFIG_RESOURCE_PATH_PREFIX="${GAMES_DATADIR}"/${PN}/
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ emake -C engine/gupta VERBOSE=1 STRIP=/bin/true CFLAGS_RELEASE= release || die
+}
+
+src_install() {
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r data/* || die
+
+ doicon artwork/icons/${PN}/${PN}.svg
+ make_desktop_entry ${PN}chess ${PN^} ${PN} Game || die
+ dodoc doc/contributors.txt || die
+
+ dogamesbin engine/gupta/gupta || die
+ dogamesbin ${PN}chess || die
+}