diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-board/cockatrice | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-board/cockatrice')
-rw-r--r-- | games-board/cockatrice/Manifest | 3 | ||||
-rw-r--r-- | games-board/cockatrice/cockatrice-20170505.ebuild | 47 | ||||
-rw-r--r-- | games-board/cockatrice/metadata.xml | 30 |
3 files changed, 80 insertions, 0 deletions
diff --git a/games-board/cockatrice/Manifest b/games-board/cockatrice/Manifest new file mode 100644 index 000000000000..f67526750451 --- /dev/null +++ b/games-board/cockatrice/Manifest @@ -0,0 +1,3 @@ +DIST cockatrice-20170505.tar.gz 7340644 BLAKE2B da3503f5ac02d0a03d59c719af82926e693fc3f2028d096c2b1d8d5145c62439f68e88379281e224d812405b39520e34476a6fd1df75f8202adc463f6ea8b3f8 SHA512 7cf319af46e4e2bd59428cf6635eeefebe70695adb445b24a727050abbc64124c17654ac058429b88a99f09f77639c15f8100d107ee8f54cad2bf0dec7051aa5 +EBUILD cockatrice-20170505.ebuild 1249 BLAKE2B 5447fab0e293d71ec4d92697f91366559cbee58493723348e8f0c8ebb23588a8fab71feaecc50532aea3670924fc598aef9e92f31ddea55d94c09b14db43170b SHA512 d6a722d0325ed0290bb18e44e801a2322ec573a7bc92c41c46c10f4d8f3d2a4984a216a26d4a6fed4f7650be32cd8a9e6af0742017616a3c9536a8306d0d45d8 +MISC metadata.xml 1187 BLAKE2B b04809289e20d3d8e98c474cf7673c4620ee337edaf7a61b94fdb0e56a1957b459350032a725a25bce4fd262768bb1f09937320450902966698d6140978a9656 SHA512 cc3711f5230ae38cdeca3da9d1ed9f23a71f4790567433fc1a60e5035412c2259633fb3a5200d248b0247bc282903fa0f2e8d741900bde1b990ef0ce56f38b0b diff --git a/games-board/cockatrice/cockatrice-20170505.ebuild b/games-board/cockatrice/cockatrice-20170505.ebuild new file mode 100644 index 000000000000..a8edee2cae16 --- /dev/null +++ b/games-board/cockatrice/cockatrice-20170505.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-utils eutils gnome2-utils + +DESCRIPTION="An open-source multiplatform software for playing card games over a network" +HOMEPAGE="https://github.com/Cockatrice/Cockatrice" +SRC_URI="${HOMEPAGE}/archive/2017-05-05-Release-2.3.17.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="server +client +oracle" + +DEPEND=" + dev-libs/libgcrypt:0 + dev-libs/protobuf + dev-qt/linguist-tools:5 + dev-qt/qtconcurrent:5 + dev-qt/qtprintsupport:5 + dev-qt/qtcore:5 + client? ( + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtsvg:5 ) + oracle? ( + sys-libs/zlib + )" + +# As the default help/about display the sha1 we need it +SHA1='c96f234' + +S=${WORKDIR}/"Cockatrice-2017-05-05-Release-2.3.17" + +src_configure() { + local mycmakeargs=( + -DWITH_CLIENT=$(usex client) + -DWITH_ORACLE=$(usex oracle) + -DWITH_SERVER=$(usex server) + -DICONDIR="/usr/share/icons" + -DDESKTOPDIR="/usr/share/applications" ) + + # Add date in the help about, come from git originally + sed -i 's/^set(PROJECT_VERSION_FRIENDLY.*/set(PROJECT_VERSION_FRIENDLY \"'${SHA1}'\")/' cmake/getversion.cmake || die "Sed failed!" + cmake-utils_src_configure +} diff --git a/games-board/cockatrice/metadata.xml b/games-board/cockatrice/metadata.xml new file mode 100644 index 000000000000..4b7993356215 --- /dev/null +++ b/games-board/cockatrice/metadata.xml @@ -0,0 +1,30 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <maintainer status="active"> + <email>brukie@gmx.net</email> + <name>Max-Wilhelm Bruker</name> + </maintainer> + <changelog>https://github.com/mbruker/Cockatrice/commits/master</changelog> + <doc lang="en">http://cockatrice.de/dokuwiki/doku.php</doc> + <bugs-to>https://github.com/mbruker/Cockatrice/issues</bugs-to> + <remote-id type="github">Cockatrice/cockatrice</remote-id> + </upstream> + <use> + <flag name="server">Compile server support</flag> + <flag name="oracle">Build with oracle</flag> + <flag name="client">Build with client</flag> + </use> + <longdescription lang="en"> + Cockatrice is an open-source multiplatform software for playing card + games, such as Magic: The Gathering, over a network. It is fully + client-server based to prevent any kind of cheating, though it supports + single-player games without a network interface as well. Both client + and server are written in Qt 4. + </longdescription> +</pkgmetadata> |