From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 013DB13832E for ; Fri, 5 Aug 2016 00:23:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10226E0962; Fri, 5 Aug 2016 00:23:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4965EE095B for ; Fri, 5 Aug 2016 00:23:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2007F340BE6 for ; Fri, 5 Aug 2016 00:23:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E02C82444 for ; Fri, 5 Aug 2016 00:23:04 +0000 (UTC) From: "Austin English" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Austin English" Message-ID: <1470356554.ce7d36bd87f8529dce1a50029233da5b8903c15b.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/holdingnuts/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-board/holdingnuts/holdingnuts-0.0.5-r2.ebuild X-VCS-Directories: games-board/holdingnuts/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: ce7d36bd87f8529dce1a50029233da5b8903c15b X-VCS-Branch: master Date: Fri, 5 Aug 2016 00:23:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a57beef6-b76f-4820-949b-1b09389d7d1e X-Archives-Hash: 06f2b70e50040322bbe9115a6807e881 commit: ce7d36bd87f8529dce1a50029233da5b8903c15b Author: Austin English gentoo org> AuthorDate: Thu Aug 4 22:56:30 2016 +0000 Commit: Austin English gentoo org> CommitDate: Fri Aug 5 00:22:34 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce7d36bd games-board/holdingnuts: remove deprecated games eclass Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.3.0 .../holdingnuts/holdingnuts-0.0.5-r2.ebuild | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/games-board/holdingnuts/holdingnuts-0.0.5-r2.ebuild b/games-board/holdingnuts/holdingnuts-0.0.5-r2.ebuild new file mode 100644 index 0000000..89c6f2b --- /dev/null +++ b/games-board/holdingnuts/holdingnuts-0.0.5-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils cmake-utils + +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 ~ppc ~x86" +IUSE="alsa debug dedicated" + +RDEPEND=" + !dedicated? ( + dev-qt/qtcore:4 + dev-qt/qtgui:4 + alsa? ( >=media-libs/libsdl-1.2.10:0[alsa] ) + )" + +DEPEND="${RDEPEND} + >=dev-util/cmake-2.6.3" + +PATCHES=( + "${FILESDIR}"/${P}-wheel.patch # upstream patch (bug #307901) +) + +src_prepare() { + default + + sed -i -e '/^Path/d' holdingnuts.desktop || die +} + +src_configure() { + local mycmakeargs="-DWITH_AUDIO=$(usex alsa) + -DENABLE_CLIENT=$(usex !dedicated) + -DWITH_DEBUG=$(usex debug)" + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + if ! use dedicated ; then + domenu ${PN}.desktop + doicon ${PN}.png + doman docs/${PN}.6 + fi + + dodoc ChangeLog docs/protocol_spec.txt + doman docs/${PN}-server.6 +}