diff options
author | Sebastian Pipping <sping@gentoo.org> | 2014-11-16 14:41:09 +0000 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2014-11-16 14:41:09 +0000 |
commit | 1d991af16f0f64ed45466955e929de4f6c9f6c1c (patch) | |
tree | 0e8b05639229223a0f010dca44cbc2d2c67b612e /games-board | |
parent | proxy for maintainer, fix bug 525004, 506322, 489508, 499996 (diff) | |
download | gentoo-2-1d991af16f0f64ed45466955e929de4f6c9f6c1c.tar.gz gentoo-2-1d991af16f0f64ed45466955e929de4f6c9f6c1c.tar.bz2 gentoo-2-1d991af16f0f64ed45466955e929de4f6c9f6c1c.zip |
games-board/gambit: New package
(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/ChangeLog | 10 | ||||
-rw-r--r-- | games-board/gambit/Manifest | 4 | ||||
-rw-r--r-- | games-board/gambit/gambit-1.0.1.ebuild | 53 | ||||
-rw-r--r-- | games-board/gambit/metadata.xml | 8 |
4 files changed, 75 insertions, 0 deletions
diff --git a/games-board/gambit/ChangeLog b/games-board/gambit/ChangeLog new file mode 100644 index 000000000000..deaa4313c0ac --- /dev/null +++ b/games-board/gambit/ChangeLog @@ -0,0 +1,10 @@ +# 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 $ + +*gambit-1.0.1 (16 Nov 2014) + + 16 Nov 2014; Sebastian Pipping <sping@gentoo.org> +gambit-1.0.1.ebuild, + +metadata.xml: + New package + diff --git a/games-board/gambit/Manifest b/games-board/gambit/Manifest new file mode 100644 index 000000000000..d340aacb3c01 --- /dev/null +++ b/games-board/gambit/Manifest @@ -0,0 +1,4 @@ +DIST Gambit-1.0.1-src.tar.bz2 1909190 SHA256 b4689a1c6943d1358bd1d9ea28a45536d60fbdd62ec1d29c76af0aed2b3a2791 SHA512 749af3305ddd83742bc9ae908f8a9ccd09cb49879abb632d46e828b8ba4b68b68533f63fcf7b14a7e16719343de824f2c9be6e35e2bccc88a11f600854d16bf7 WHIRLPOOL 32bf6b6b4c02c9cb9fb817df9ae8f5b7d29a7600a7c196ff67c5ba4a3160bc0b31ec34948990eaf04fa321bd9fd4eef5f340a398c75cd912b1def7d968738d7c +EBUILD gambit-1.0.1.ebuild 1217 SHA256 cb250991e2692c3824ca1c4e3992661497c27c081e2c3d8fd8d9c512b27d6fd3 SHA512 ca83ff2bb221478e33eb08d69535cf94ac09c13e27fea9791c7115ff53688367c29134cf6e4bb6fc3187f7055a567e16e31f241348d261a2524382cea63d9f2b WHIRLPOOL d250720e48b2195d7ed0e42a20a61201eb8e2d0598b1161ff3203947f6df1ec071bc9cd4e9123aaf337c258535d8c001529cd1478ff826637905e2664686817a +MISC ChangeLog 254 SHA256 65449459a0319b6e9f48c993c2efaf0a2d1f7468ee6a54301556e4d9fd165e95 SHA512 b5e0133665738728acc24017b02bf25f5ef17b540944eddbc84e70416762069e0f716ec174e361a585af896c205b5d7592bc1d65253df7da0dd6dcfb8400b7b3 WHIRLPOOL e70a3abee2da6bd7a85d5494e4e511bb55c48cb1adaba693c15486167c055d25685dbc37f3b8ef31b480c14248733668566efc51c124f6084410932432d949de +MISC metadata.xml 235 SHA256 095e4ee6b3ae673e7ddf0d4e166a632d3384d6374c6dd86d8c401a8f5c43f7fe SHA512 52fe834d5150301a0247d32806e487fa9838f30eb94e3d6cc2f10f2b574e95a113accdd2dd4097c2033a0dfc6da06948a3ea6e13f593f038c0d0e9e13ecbfdf5 WHIRLPOOL e070f37f0eab35b3b21bba900e3d710592720cdcf57f02bd9dcc8f7af418a152c36b22022af50d40d7267b7bf041739031135d65e66c6e9b9b31597d920d4364 diff --git a/games-board/gambit/gambit-1.0.1.ebuild b/games-board/gambit/gambit-1.0.1.ebuild new file mode 100644 index 000000000000..e51c5904dee6 --- /dev/null +++ b/games-board/gambit/gambit-1.0.1.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.1.ebuild,v 1.1 2014/11/16 14:41:09 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 +} diff --git a/games-board/gambit/metadata.xml b/games-board/gambit/metadata.xml new file mode 100644 index 000000000000..16bcc9f800a2 --- /dev/null +++ b/games-board/gambit/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>sping@gentoo.org</email> + <name>Sebastian Pipping</name> + </maintainer> +</pkgmetadata> |