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 BF595139083 for ; Fri, 15 Dec 2017 18:13:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E938DE0F4B; Fri, 15 Dec 2017 18:13:49 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B2085E0F4B for ; Fri, 15 Dec 2017 18:13:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2117F33BF0B for ; Fri, 15 Dec 2017 18:13:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 87465AE76 for ; Fri, 15 Dec 2017 18:13:44 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1513361609.82d9fc239fd1dc4a4e2bd0b5a6443ef54fcf4b92.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/gambit/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-board/gambit/Manifest games-board/gambit/gambit-1.0.4.ebuild X-VCS-Directories: games-board/gambit/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 82d9fc239fd1dc4a4e2bd0b5a6443ef54fcf4b92 X-VCS-Branch: master Date: Fri, 15 Dec 2017 18:13:44 +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: 3fcd1872-30f4-44b6-8fb2-0a1962b271e6 X-Archives-Hash: 79fae9ee6c1efd0d9ae795177d86c2e5 commit: 82d9fc239fd1dc4a4e2bd0b5a6443ef54fcf4b92 Author: Sebastian Pipping gentoo org> AuthorDate: Fri Dec 15 18:13:09 2017 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Fri Dec 15 18:13:29 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82d9fc23 games-board/gambit: 1.0.4 Package-Manager: Portage-2.3.16, Repoman-2.3.6 games-board/gambit/Manifest | 1 + games-board/gambit/gambit-1.0.4.ebuild | 56 ++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/games-board/gambit/Manifest b/games-board/gambit/Manifest index 23c6a71904e..c351c6c27c0 100644 --- a/games-board/gambit/Manifest +++ b/games-board/gambit/Manifest @@ -1,2 +1,3 @@ DIST Gambit-1.0.1-src.tar.bz2 1909190 BLAKE2B c53cee8ef368bdd4cd191a766c1549a0328b638f7f9bb2147e7087ef86b48107a458b9935eee120cc4fbf7aca932e68b93136af23dc7ebfc1a2bfbab8228d664 SHA512 749af3305ddd83742bc9ae908f8a9ccd09cb49879abb632d46e828b8ba4b68b68533f63fcf7b14a7e16719343de824f2c9be6e35e2bccc88a11f600854d16bf7 DIST Gambit-1.0.3-src.tar.bz2 1902202 BLAKE2B 8b4d830466f5894819c82a3b4657d193a1caa82f5cd6902dff8047e4c6731d8e0996806c88ab5f2990303e372eddff60dd085f6f839f4ba2d09ceca9b4ce5603 SHA512 c4d26849d9318b5c404f26c8ac2c09e64417e44e8a8786b9640fe76dd16d70d1ebbba2866e1d9e79efecab948f39cda9664c8eecad0f024782a8345be3acd6c9 +DIST Gambit-1.0.4-src.tar.xz 1675576 BLAKE2B 4545bee38509d44f80af874473ff562b441e570be3681b166b064574e12bfad8b8a2fb5043b9d0b9089160de2d97407160336cb58864168232cf0921244cf92d SHA512 9ba12e0e9598e2b08228aa009690e6a05677916dcea1413a42be20d620accbe7cef4f4300e3ccc5d4d99e37c7fb85d923df8f5fa9146ee8049bbde2ce66ab7a9 diff --git a/games-board/gambit/gambit-1.0.4.ebuild b/games-board/gambit/gambit-1.0.4.ebuild new file mode 100644 index 00000000000..28abd503a2c --- /dev/null +++ b/games-board/gambit/gambit-1.0.4.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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.xz" + +LICENSE="CC0-1.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtopengl:5 + dev-qt/qtwidgets:5 + 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 +}