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 00EFB138331 for ; Wed, 7 Sep 2016 22:16:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B451B21C09E; Wed, 7 Sep 2016 22:16:25 +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 1ADEE21C099 for ; Wed, 7 Sep 2016 22:16:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 E84B3340B57 for ; Wed, 7 Sep 2016 22:16:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1BC26247C for ; Wed, 7 Sep 2016 22:16:22 +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: <1473286574.5b8de23ab638c51fbc2c80d2a108218ba67c5bd3.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/gambit/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-board/gambit/gambit-1.0.3-r1.ebuild X-VCS-Directories: games-board/gambit/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: 5b8de23ab638c51fbc2c80d2a108218ba67c5bd3 X-VCS-Branch: master Date: Wed, 7 Sep 2016 22:16:22 +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: 8315fe78-8eb6-497f-a70b-d9d8d961e260 X-Archives-Hash: 513472dc6bed3465094d5f10e493aa50 commit: 5b8de23ab638c51fbc2c80d2a108218ba67c5bd3 Author: Austin English gentoo org> AuthorDate: Wed Sep 7 22:15:41 2016 +0000 Commit: Austin English gentoo org> CommitDate: Wed Sep 7 22:16:14 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b8de23a games-board/gambit: remove deprecated games eclass Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.3.0 games-board/gambit/gambit-1.0.3-r1.ebuild | 55 +++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/games-board/gambit/gambit-1.0.3-r1.ebuild b/games-board/gambit/gambit-1.0.3-r1.ebuild new file mode 100644 index 00000000..fd41ce5 --- /dev/null +++ b/games-board/gambit/gambit-1.0.3-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +CMAKE_IN_SOURCE_BUILD=true +inherit cmake-utils + +MY_P="${P^}" + +DESCRIPTION="Qt-based chess application + engine \"gupta\"" +HOMEPAGE="https://sourceforge.net/projects/gambitchess/" +SRC_URI="mirror://sourceforge/project/${PN}chess/${MY_P}/${MY_P}-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}/${MY_P}-src" + +src_configure() { + local mycmakeargs=( + -DCONFIG_ENABLE_UPDATE_CHECKER=OFF + -DCONFIG_GUPTA_ENGINE_DIRECTORY=/usr/bin + -DCONFIG_RESOURCE_PATH_PREFIX=/usr/share/${PN}/ + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + emake -C engine/gupta VERBOSE=1 STRIP=/bin/true CFLAGS_RELEASE= release +} + +src_install() { + insinto /usr/share/${PN} + doins -r data/* + + doicon artwork/icons/${PN}/${PN}.svg + make_desktop_entry ${PN}chess ${PN^} ${PN} Game + dodoc doc/contributors.txt + + dobin engine/gupta/gupta + dobin ${PN}chess +}