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 071A31382FE for ; Tue, 12 Jul 2016 17:03:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C9C7121C039; Tue, 12 Jul 2016 17:03:43 +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 5701F21C039 for ; Tue, 12 Jul 2016 17:03:43 +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 227C6340C69 for ; Tue, 12 Jul 2016 17:03:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A11842416 for ; Tue, 12 Jul 2016 17:03:38 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1468343012.2f2b7ec5b6fb49b79bd936219f0b0ae5baa70514.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-board/cockatrice/Manifest games-board/cockatrice/cockatrice-20160506.ebuild X-VCS-Directories: games-board/cockatrice/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 2f2b7ec5b6fb49b79bd936219f0b0ae5baa70514 X-VCS-Branch: master Date: Tue, 12 Jul 2016 17:03:38 +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: 5267adb2-f619-4f1f-a603-2dbc8b62cd9f X-Archives-Hash: c1601ecf265513084810e43360bb4ce1 commit: 2f2b7ec5b6fb49b79bd936219f0b0ae5baa70514 Author: Guillaume Seren gmail com> AuthorDate: Fri Jun 24 13:38:59 2016 +0000 Commit: Patrice Clement gentoo org> CommitDate: Tue Jul 12 17:03:32 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f2b7ec5 games-board/cockatrice: version bump to 20160506 Also add the new dependencies for QT5. Closes: https://github.com/gentoo/gentoo/pull/1735 Signed-off-by: Patrice Clement gentoo.org> games-board/cockatrice/Manifest | 1 + games-board/cockatrice/cockatrice-20160506.ebuild | 70 +++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/games-board/cockatrice/Manifest b/games-board/cockatrice/Manifest index 12a95c4..a0b0cc2 100644 --- a/games-board/cockatrice/Manifest +++ b/games-board/cockatrice/Manifest @@ -1 +1,2 @@ +DIST 2016-05-06-Release.tar.gz 6910937 SHA256 379835006f38b603af01cf46d508fd40e862b451045807b444042914e8736fee SHA512 5f90804270907b3a915e763e6a20c39432f76591a11df7198526fde5635314ffbb27026860053c302be1ef1dfce1efa445c5849c72d1220575314d6c3d67e94f WHIRLPOOL a13c531980da2cf172e933c5bcb179f8dc9368514fe7d2ec12a203f54c04aa5258218c6d2fc1bee30826598e1e8c057c437af6810709c26b0863cd2b665bc159 DIST cockatrice_source_20120702.tar.gz 3790304 SHA256 a418124d3df255f2af70a20ff6b13f85361467abe4ea4216602bd3647cfc490e SHA512 119acd394dfe97de72b0be8d1ea8c6178f9d0150dcb50d1aba074c28c8d0f52f2be5758ac3943c49d11f655f02a70fc5f5a7e207b8a2631f73f7178ff17b5c35 WHIRLPOOL 1e5112519ddd0f4107778c97d4cf415959117d7e5854ad9760d50621a77a53d992678470772358c880e89ba35376cbf6abab4687969810c117d2851eae4ec70a diff --git a/games-board/cockatrice/cockatrice-20160506.ebuild b/games-board/cockatrice/cockatrice-20160506.ebuild new file mode 100644 index 0000000..9cb5d3b --- /dev/null +++ b/games-board/cockatrice/cockatrice-20160506.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit cmake-utils eutils gnome2-utils games + +DESCRIPTION="An open-source multiplatform software for playing card games over a network" +HOMEPAGE="https://github.com/Cockatrice/Cockatrice" + +SRC_URI="https://github.com/Cockatrice/${PN}/archive/2016-05-06-Release.tar.gz" + +S=${WORKDIR}/"Cockatrice-2016-05-06-Release" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="dedicated server" + +DEPEND=" + dev-libs/libgcrypt:0 + dev-libs/protobuf + dev-qt/qtcore:5 + dev-qt/qtconcurrent + dev-qt/linguist-tools + dev-qt/qtprintsupport + !dedicated? ( + dev-qt/qtmultimedia:5 + dev-qt/qtsvg:5 + dev-qt/qtgui:5 + )" + +src_configure() { + local mycmakeargs=( + $(usex dedicated "-DWITHOUT_CLIENT=1 -DWITH_SERVER=1" "$(usex server "-DWITH_SERVER=1" "")") + -DCMAKE_INSTALL_BINDIR="${GAMES_BINDIR}" + -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" + -DDATADIR="${GAMES_DATADIR}/${PN}" + -DICONDIR="/usr/share/icons" + -DDESKTOPDIR="/usr/share/applications" + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + use dedicated || gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + elog "zonebg pictures are in ${GAMES_DATADIR}/${PN}/zonebg" + elog "sounds are in ${GAMES_DATADIR}/${PN}/sounds" + elog "you can use those directories in cockatrice settings" + use dedicated || gnome2_icon_cache_update +} + +pkg_postrm() { + use dedicated || gnome2_icon_cache_update +}