summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2010-12-18 00:32:19 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2010-12-18 00:32:19 +0000
commit74ddd542904cde261113600e7269fad6faecca29 (patch)
tree2b4dda50db70bdbf3d4a2244b1047e67430dccb1 /games-board/kaya
parentminor cleanup (diff)
downloadgentoo-2-74ddd542904cde261113600e7269fad6faecca29.tar.gz
gentoo-2-74ddd542904cde261113600e7269fad6faecca29.tar.bz2
gentoo-2-74ddd542904cde261113600e7269fad6faecca29.zip
New game, fixes bug 275943.
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'games-board/kaya')
-rw-r--r--games-board/kaya/ChangeLog10
-rw-r--r--games-board/kaya/kaya-0.3.ebuild66
-rw-r--r--games-board/kaya/metadata.xml8
3 files changed, 84 insertions, 0 deletions
diff --git a/games-board/kaya/ChangeLog b/games-board/kaya/ChangeLog
new file mode 100644
index 000000000000..618f8710f528
--- /dev/null
+++ b/games-board/kaya/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-board/kaya
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/kaya/ChangeLog,v 1.1 2010/12/18 00:32:19 dilfridge Exp $
+
+*kaya-0.3 (18 Dec 2010)
+
+ 18 Dec 2010; Andreas K. Huettel <dilfridge@gentoo.org> +kaya-0.3.ebuild,
+ +metadata.xml:
+ New game, fixes bug 275943.
+
diff --git a/games-board/kaya/kaya-0.3.ebuild b/games-board/kaya/kaya-0.3.ebuild
new file mode 100644
index 000000000000..f6faa0739d8c
--- /dev/null
+++ b/games-board/kaya/kaya-0.3.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/kaya/kaya-0.3.ebuild,v 1.1 2010/12/18 00:32:19 dilfridge Exp $
+
+EAPI="2"
+USE_RUBY="ruby18"
+
+inherit kde4-base ruby-ng
+
+DESCRIPTION="Board game suite for KDE"
+HOMEPAGE="http://pcapriotti.github.com/kaya/"
+SRC_URI="http://cloud.github.com/downloads/pcapriotti/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+ruby_add_rdepend "kde-base/kdebindings-ruby"
+ruby_add_rdepend "dev-ruby/builder"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ ruby-ng_pkg_setup
+ kde4-base_pkg_setup
+}
+
+src_unpack() {
+ kde4-base_src_unpack
+
+ cd "${WORKDIR}"
+ mkdir all
+ mv ${P} all/ || die "Could not move sources"
+}
+
+all_ruby_prepare() {
+ kde4-base_src_prepare
+}
+
+each_ruby_configure() {
+ CMAKE_USE_DIR=${S}
+ mycmakeargs=(
+ -DRUBY_LIBRARY=$(ruby_get_libruby)
+ -DRUBY_INCLUDE_PATH=$(ruby_get_hdrdir)
+ -DRUBY_EXECUTABLE=${RUBY}
+ )
+ kde4-base_src_configure
+}
+
+each_ruby_compile() {
+ CMAKE_USE_DIR=${S}
+ kde4-base_src_compile
+}
+
+each_ruby_install() {
+ CMAKE_USE_DIR=${S}
+ kde4-base_src_install
+}
+
+pkg_postinst() {
+ elog "To be able to use the kaya board game front-end, you need to install at least one"
+ elog "of the following game engines: "
+ elog " games-board/gnuchess"
+ elog " games-board/gnushogi"
+}
diff --git a/games-board/kaya/metadata.xml b/games-board/kaya/metadata.xml
new file mode 100644
index 000000000000..7811270f141a
--- /dev/null
+++ b/games-board/kaya/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>kde</herd>
+ <maintainer>
+ <email>dilfridge@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>