commit: db29d1546207dcb54ee8e8ed2c1bb4381c4df82e parent: 3ad0698c5b81487b0da6b7675fb7091754d2a543 Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Date: Sat, 2 Feb 2019 01:27:41 +0100 games-board/cockatrice: revbump to 2.6.2Diffstat:
M | games-board/cockatrice/Manifest | 3 | ++- |
A | games-board/cockatrice/cockatrice-2.6.2.ebuild | 66 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
2 files changed, 68 insertions(+), 1 deletion(-)
diff --git a/games-board/cockatrice/Manifest b/games-board/cockatrice/Manifest @@ -1 +1,2 @@ -DIST cockatrice-2.3.17.tar.gz 7340644 SHA256 95f78db3c2f4f93e2b007b92687cb1655ce5d6b23d72aeb85fc043f60748701e SHA512 7cf319af46e4e2bd59428cf6635eeefebe70695adb445b24a727050abbc64124c17654ac058429b88a99f09f77639c15f8100d107ee8f54cad2bf0dec7051aa5 WHIRLPOOL 843b013e2ccadc56fe00b6f70527dc0a1e37a338dd6c87dd79017f842e569ca7513c6d445afc80cc8d65e37180cc03066739af2c6fc5bab5be28ff4978ef1f28 +DIST cockatrice-2.3.17.tar.gz 7340644 BLAKE2B da3503f5ac02d0a03d59c719af82926e693fc3f2028d096c2b1d8d5145c62439f68e88379281e224d812405b39520e34476a6fd1df75f8202adc463f6ea8b3f8 SHA512 7cf319af46e4e2bd59428cf6635eeefebe70695adb445b24a727050abbc64124c17654ac058429b88a99f09f77639c15f8100d107ee8f54cad2bf0dec7051aa5 +DIST cockatrice-2.6.2.tar.gz 8313639 BLAKE2B d627dbf58c1818d3d06170602eb2ebafd0140e33997bd8cc299d1a665c487b3917473ea54eafdf5e2e03248371a9274b44b34529fc9fbab1c78fc603aa925709 SHA512 02a6f6fe66f8a0ffc16279b1c0d0053acd5da1bbb89dc297ec2ae307cf66852885fc96a297a1c8dfde57797ce817935541fe81d5e4198db59d4ef1ef3fe65039 diff --git a/games-board/cockatrice/cockatrice-2.6.2.ebuild b/games-board/cockatrice/cockatrice-2.6.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Copyright 2017-2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +MY_P="Cockatrice-2018-12-20-Release-${PV}" + +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/Cockatrice/archive/${MY_P}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+client server +oracle nls" + +DEPEND=" + dev-libs/protobuf:= + nls? ( dev-qt/linguist-tools:5= ) + client? ( + dev-qt/qtconcurrent:5= + dev-qt/qtmultimedia:5= + dev-qt/qtnetwork:5= + dev-qt/qtprintsupport:5= + dev-qt/qtsvg:5= + dev-qt/qtwidgets:5= + ) + server? ( + dev-qt/qtnetwork:5= + dev-qt/qtsql:5= + # soft-deps follows + dev-qt/qtwebsockets:5= + ) + oracle? ( + dev-qt/qtconcurrent:5= + dev-qt/qtnetwork:5= + dev-qt/qtsvg:5= + dev-qt/qtwidgets:5= + # soft-deps follows + sys-libs/zlib:5= + ) +" + +src_configure() { + local mycmakeargs=( + -DWITH_CLIENT="$(usex client)" + -DWITH_SERVER="$(usex server)" + -DWITH_ORACLE="$(usex oracle)" + -DICONDIR="/usr/share/icons" + -DDESKTOPDIR="/usr/share/applications" + ) + + cmake-utils_src_configure +} + +pkg_postinst() { + #FIXME: + 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" +}