summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-04-25 16:47:46 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-04-25 16:47:46 +0000
commit2eb86f60223bb0e88d41e1446ba160757877d722 (patch)
treecbbe923b95cd53b1208d4222737db8423dd338e8 /games-board/holdingnuts
parentUpdate metadata.xml. (diff)
downloadgentoo-2-2eb86f60223bb0e88d41e1446ba160757877d722.tar.gz
gentoo-2-2eb86f60223bb0e88d41e1446ba160757877d722.tar.bz2
gentoo-2-2eb86f60223bb0e88d41e1446ba160757877d722.zip
initial commit - ebuild submitted by Dominik Geyer via bug #267432
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'games-board/holdingnuts')
-rw-r--r--games-board/holdingnuts/ChangeLog10
-rw-r--r--games-board/holdingnuts/holdingnuts-0.0.3.ebuild50
-rw-r--r--games-board/holdingnuts/metadata.xml5
3 files changed, 65 insertions, 0 deletions
diff --git a/games-board/holdingnuts/ChangeLog b/games-board/holdingnuts/ChangeLog
new file mode 100644
index 000000000000..53a174fd841c
--- /dev/null
+++ b/games-board/holdingnuts/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-board/holdingnuts
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/holdingnuts/ChangeLog,v 1.1 2009/04/25 16:47:46 mr_bones_ Exp $
+
+*holdingnuts-0.0.3 (25 Apr 2009)
+
+ 25 Apr 2009; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+ +holdingnuts-0.0.3.ebuild:
+ initial commit - ebuild submitted by Dominik Geyer via bug #267432
+
diff --git a/games-board/holdingnuts/holdingnuts-0.0.3.ebuild b/games-board/holdingnuts/holdingnuts-0.0.3.ebuild
new file mode 100644
index 000000000000..bff0b006b494
--- /dev/null
+++ b/games-board/holdingnuts/holdingnuts-0.0.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/holdingnuts/holdingnuts-0.0.3.ebuild,v 1.1 2009/04/25 16:47:46 mr_bones_ Exp $
+
+EAPI=2
+inherit eutils cmake-utils games
+
+DESCRIPTION="An open source poker client and server"
+HOMEPAGE="http://www.holdingnuts.net/"
+SRC_URI="http://downloads.sourceforge.net/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa debug dedicated"
+
+RDEPEND="
+ !dedicated? (
+ >=x11-libs/qt-core-4.4.1
+ >=x11-libs/qt-gui-4.4.1
+ alsa? ( >=media-libs/libsdl-1.2.10[alsa] )
+ )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/cmake-2.6.3"
+
+src_configure() {
+ local mycmakeargs="$(cmake-utils_use_enable alsa AUDIO)
+ $(cmake-utils_use_enable !dedicated CLIENT)
+ $(cmake-utils_use_enable debug DEBUG)"
+
+ mycmakeargs="${mycmakeargs}
+ -DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}
+ -DCMAKE_DATA_PATH=${GAMES_DATADIR}"
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ if ! use dedicated ; then
+ domenu ${PN}.desktop
+ doicon ${PN}.png
+ fi
+
+ dodoc docs/protocol_spec.txt
+
+ prepgamesdirs
+}
diff --git a/games-board/holdingnuts/metadata.xml b/games-board/holdingnuts/metadata.xml
new file mode 100644
index 000000000000..f72870c0c28d
--- /dev/null
+++ b/games-board/holdingnuts/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+</pkgmetadata>