summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-board/gambit
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-board/gambit')
-rw-r--r--games-board/gambit/Manifest2
-rw-r--r--games-board/gambit/gambit-1.0.1.ebuild53
-rw-r--r--games-board/gambit/gambit-1.0.3.ebuild53
-rw-r--r--games-board/gambit/metadata.xml11
4 files changed, 119 insertions, 0 deletions
diff --git a/games-board/gambit/Manifest b/games-board/gambit/Manifest
new file mode 100644
index 000000000000..0b5bb982204a
--- /dev/null
+++ b/games-board/gambit/Manifest
@@ -0,0 +1,2 @@
+DIST Gambit-1.0.1-src.tar.bz2 1909190 SHA256 b4689a1c6943d1358bd1d9ea28a45536d60fbdd62ec1d29c76af0aed2b3a2791 SHA512 749af3305ddd83742bc9ae908f8a9ccd09cb49879abb632d46e828b8ba4b68b68533f63fcf7b14a7e16719343de824f2c9be6e35e2bccc88a11f600854d16bf7 WHIRLPOOL 32bf6b6b4c02c9cb9fb817df9ae8f5b7d29a7600a7c196ff67c5ba4a3160bc0b31ec34948990eaf04fa321bd9fd4eef5f340a398c75cd912b1def7d968738d7c
+DIST Gambit-1.0.3-src.tar.bz2 1902202 SHA256 8d3dafbd5adcf043010848017b29b504c9e88c0ea72eb3cd50c7bfdf6bd0fa9d SHA512 c4d26849d9318b5c404f26c8ac2c09e64417e44e8a8786b9640fe76dd16d70d1ebbba2866e1d9e79efecab948f39cda9664c8eecad0f024782a8345be3acd6c9 WHIRLPOOL a3b5a6581c7a2fc316a7af0da38f67fa444cbff5ceba4dddc0fc5fae988ba6f8da680654ce2aa810b5c321ac5865d6a990e71eeb0b7efcc4630a3231c534f5fd
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..9a55d662d015
--- /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
+# $Id$
+
+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/gambit-1.0.3.ebuild b/games-board/gambit/gambit-1.0.3.ebuild
new file mode 100644
index 000000000000..9a55d662d015
--- /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
+# $Id$
+
+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..7edb00c8ab8b
--- /dev/null
+++ b/games-board/gambit/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="sourceforge">gambitchess</remote-id>
+ </upstream>
+</pkgmetadata>