[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2017-08-25 Thread Patrice Clement
commit: 94b62cb9701b8de80e1b31747aa2a5460e2a1a0b
Author: Guillaume Seren  gmail  com>
AuthorDate: Sat Jul 15 12:45:38 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Fri Aug 25 22:45:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94b62cb9

games-board/cockatrice: version bump to 20170505.

Gentoo-Bug: https://bugs.gentoo.org/625214
Closes: https://github.com/gentoo/gentoo/pull/5108

 games-board/cockatrice/Manifest   |  1 +
 games-board/cockatrice/cockatrice-20170505.ebuild | 47 +++
 games-board/cockatrice/metadata.xml   |  2 +
 3 files changed, 50 insertions(+)

diff --git a/games-board/cockatrice/Manifest b/games-board/cockatrice/Manifest
index 0ad7ff7cca9..43c513d7770 100644
--- a/games-board/cockatrice/Manifest
+++ b/games-board/cockatrice/Manifest
@@ -1,2 +1,3 @@
 DIST cockatrice-20160506.tar.gz 6910937 SHA256 
379835006f38b603af01cf46d508fd40e862b451045807b444042914e8736fee SHA512 
5f90804270907b3a915e763e6a20c39432f76591a11df7198526fde5635314ffbb27026860053c302be1ef1dfce1efa445c5849c72d1220575314d6c3d67e94f
 WHIRLPOOL 
a13c531980da2cf172e933c5bcb179f8dc9368514fe7d2ec12a203f54c04aa5258218c6d2fc1bee30826598e1e8c057c437af6810709c26b0863cd2b665bc159
 DIST cockatrice-20160630.tar.gz 6928656 SHA256 
18c7ec245be8600d4c4be5868b71238ec669a38a24053d84aed608dae888a6f5 SHA512 
a208b0e754285f9dd9f1f0bd28dbb29d97edf2d40da02bbe4dd6d6f01cfdff6fdc978ceaaf3d251252a69318519283790fa7ed5c552b08142e849e0b7c18d4cd
 WHIRLPOOL 
c339974104dc697f27c92263460b9dcd892819c0f7797247d3479bfb54b998118c22e7441ce9877749f6ffc265d7d5a6b5b5aa62bea1b0108fa558e0cc237e4d
+DIST cockatrice-20170505.tar.gz 7340644 SHA256 
95f78db3c2f4f93e2b007b92687cb1655ce5d6b23d72aeb85fc043f60748701e SHA512 
7cf319af46e4e2bd59428cf6635eeefebe70695adb445b24a727050abbc64124c17654ac058429b88a99f09f77639c15f8100d107ee8f54cad2bf0dec7051aa5
 WHIRLPOOL 
843b013e2ccadc56fe00b6f70527dc0a1e37a338dd6c87dd79017f842e569ca7513c6d445afc80cc8d65e37180cc03066739af2c6fc5bab5be28ff4978ef1f28

diff --git a/games-board/cockatrice/cockatrice-20170505.ebuild 
b/games-board/cockatrice/cockatrice-20170505.ebuild
new file mode 100644
index 000..a8edee2cae1
--- /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
index 552042935af..4b799335621 100644
--- a/games-board/cockatrice/metadata.xml
+++ b/games-board/cockatrice/metadata.xml
@@ -17,6 +17,8 @@


Compile server support
+   Build with oracle
+   Build with client


Cockatrice is an open-source multiplatform software for playing 
card



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2016-05-05 Thread Michael Sterrett
commit: 971641c0c65017a1a4cc62b1ccbea547bb6b758f
Author: Michael Sterrett  gentoo  org>
AuthorDate: Fri May  6 01:30:35 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri May  6 02:49:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=971641c0

games-board/cockatrice: set RDEPEND

Package-Manager: portage-2.2.26

 games-board/cockatrice/cockatrice-20120702.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games-board/cockatrice/cockatrice-20120702.ebuild 
b/games-board/cockatrice/cockatrice-20120702.ebuild
index 8664e2c..931419a 100644
--- a/games-board/cockatrice/cockatrice-20120702.ebuild
+++ b/games-board/cockatrice/cockatrice-20120702.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -24,6 +24,7 @@ DEPEND="
dev-qt/qtsvg:4
dev-qt/qtgui:4
)"
+RDEPEND=${DEPEND}
 
 S=${WORKDIR}/${PN}_${PV}
 



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2016-07-30 Thread Mike Gilbert
commit: 19c3cd12668b6a85ed5781278b0d3dd27e460a9a
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Jul 30 14:30:50 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Jul 30 14:30:50 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19c3cd12

games-board/cockatrice: rename tarball

Package-Manager: portage-2.3.0_p16

 games-board/cockatrice/Manifest   | 2 +-
 games-board/cockatrice/cockatrice-20160506.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-board/cockatrice/Manifest b/games-board/cockatrice/Manifest
index beec551..ca33575 100644
--- a/games-board/cockatrice/Manifest
+++ b/games-board/cockatrice/Manifest
@@ -1 +1 @@
-DIST 2016-05-06-Release.tar.gz 6910937 SHA256 
379835006f38b603af01cf46d508fd40e862b451045807b444042914e8736fee SHA512 
5f90804270907b3a915e763e6a20c39432f76591a11df7198526fde5635314ffbb27026860053c302be1ef1dfce1efa445c5849c72d1220575314d6c3d67e94f
 WHIRLPOOL 
a13c531980da2cf172e933c5bcb179f8dc9368514fe7d2ec12a203f54c04aa5258218c6d2fc1bee30826598e1e8c057c437af6810709c26b0863cd2b665bc159
+DIST cockatrice-20160506.tar.gz 6910937 SHA256 
379835006f38b603af01cf46d508fd40e862b451045807b444042914e8736fee SHA512 
5f90804270907b3a915e763e6a20c39432f76591a11df7198526fde5635314ffbb27026860053c302be1ef1dfce1efa445c5849c72d1220575314d6c3d67e94f
 WHIRLPOOL 
a13c531980da2cf172e933c5bcb179f8dc9368514fe7d2ec12a203f54c04aa5258218c6d2fc1bee30826598e1e8c057c437af6810709c26b0863cd2b665bc159

diff --git a/games-board/cockatrice/cockatrice-20160506.ebuild 
b/games-board/cockatrice/cockatrice-20160506.ebuild
index 9cb5d3b..bdf640c 100644
--- a/games-board/cockatrice/cockatrice-20160506.ebuild
+++ b/games-board/cockatrice/cockatrice-20160506.ebuild
@@ -8,7 +8,7 @@ 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";
+SRC_URI="https://github.com/Cockatrice/${PN}/archive/2016-05-06-Release.tar.gz 
-> ${P}.tar.gz"
 
 S=${WORKDIR}/"Cockatrice-2016-05-06-Release"
 



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2016-09-14 Thread Austin English
commit: 2a6bbbdc37ddc1aa765eb2a12210e1162caa88c3
Author: Austin English  gentoo  org>
AuthorDate: Thu Sep  8 23:56:00 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Wed Sep 14 17:26:33 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a6bbbdc

games-board/cockatrice: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

 .../cockatrice/cockatrice-20160506-r1.ebuild   | 65 ++
 1 file changed, 65 insertions(+)

diff --git a/games-board/cockatrice/cockatrice-20160506-r1.ebuild 
b/games-board/cockatrice/cockatrice-20160506-r1.ebuild
new file mode 100644
index ..3fb686a
--- /dev/null
+++ b/games-board/cockatrice/cockatrice-20160506-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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="https://github.com/Cockatrice/${PN}/archive/2016-05-06-Release.tar.gz 
-> ${P}.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/linguist-tools
+   dev-qt/qtconcurrent
+   dev-qt/qtcore:5
+   dev-qt/qtprintsupport
+   !dedicated? (
+   dev-qt/qtgui:5
+   dev-qt/qtmultimedia:5
+   dev-qt/qtsvg:5
+   )"
+
+src_configure() {
+   local mycmakeargs=(
+   $(usex dedicated "-DWITHOUT_CLIENT=1 -DWITH_SERVER=1" "$(usex 
server "-DWITH_SERVER=1" "")")
+   -DICONDIR="/usr/share/icons"
+   -DDESKTOPDIR="/usr/share/applications"
+   )
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_compile
+}
+
+src_install() {
+   cmake-utils_src_install
+}
+
+pkg_preinst() {
+   use dedicated || gnome2_icon_savelist
+}
+
+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"
+   use dedicated || gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+   use dedicated || gnome2_icon_cache_update
+}



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2016-09-28 Thread Michael Palimaka
commit: 51925d237fbc040057061bf6cb11ec39a7de54f7
Author: Michael Palimaka  gentoo  org>
AuthorDate: Wed Sep 28 18:35:25 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Wed Sep 28 18:35:43 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51925d23

games-board/cockatrice: pin Qt dependencies to SLOT 5

Package-Manager: portage-2.3.1

 games-board/cockatrice/cockatrice-20160506-r1.ebuild | 6 +++---
 games-board/cockatrice/cockatrice-20160506.ebuild| 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/games-board/cockatrice/cockatrice-20160506-r1.ebuild 
b/games-board/cockatrice/cockatrice-20160506-r1.ebuild
index 3fb686a..a553025 100644
--- a/games-board/cockatrice/cockatrice-20160506-r1.ebuild
+++ b/games-board/cockatrice/cockatrice-20160506-r1.ebuild
@@ -20,10 +20,10 @@ IUSE="dedicated server"
 DEPEND="
dev-libs/libgcrypt:0
dev-libs/protobuf
-   dev-qt/linguist-tools
-   dev-qt/qtconcurrent
+   dev-qt/linguist-tools:5
+   dev-qt/qtconcurrent:5
dev-qt/qtcore:5
-   dev-qt/qtprintsupport
+   dev-qt/qtprintsupport:5
!dedicated? (
dev-qt/qtgui:5
dev-qt/qtmultimedia:5

diff --git a/games-board/cockatrice/cockatrice-20160506.ebuild 
b/games-board/cockatrice/cockatrice-20160506.ebuild
index bdf640c..a058945 100644
--- a/games-board/cockatrice/cockatrice-20160506.ebuild
+++ b/games-board/cockatrice/cockatrice-20160506.ebuild
@@ -21,9 +21,9 @@ DEPEND="
dev-libs/libgcrypt:0
dev-libs/protobuf
dev-qt/qtcore:5
-   dev-qt/qtconcurrent
-   dev-qt/linguist-tools
-   dev-qt/qtprintsupport
+   dev-qt/qtconcurrent:5
+   dev-qt/linguist-tools:5
+   dev-qt/qtprintsupport:5
!dedicated? (
dev-qt/qtmultimedia:5
dev-qt/qtsvg:5



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2016-07-12 Thread Patrice Clement
commit: 2f2b7ec5b6fb49b79bd936219f0b0ae5baa70514
Author: Guillaume Seren  gmail  com>
AuthorDate: Fri Jun 24 13:38:59 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Jul 12 17:03:32 2016 +
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 000..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
+}



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2016-12-21 Thread Patrice Clement
commit: bfc2e54ec072472688d96f06fc6cd5a2f70c0285
Author: Guillaume Seren  gmail  com>
AuthorDate: Tue Nov  8 17:31:49 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Dec 21 10:46:07 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfc2e54e

games-board/cockatrice: version bump to 20160630.

"Archivist Madness"

Release notes: 
https://github.com/Cockatrice/Cockatrice/releases/tag/2016-06-30-Release

Closes: https://github.com/gentoo/gentoo/pull/2780

 games-board/cockatrice/Manifest   |  1 +
 games-board/cockatrice/cockatrice-20160630.ebuild | 68 +++
 2 files changed, 69 insertions(+)

diff --git a/games-board/cockatrice/Manifest b/games-board/cockatrice/Manifest
index ca33575..0ad7ff7 100644
--- a/games-board/cockatrice/Manifest
+++ b/games-board/cockatrice/Manifest
@@ -1 +1,2 @@
 DIST cockatrice-20160506.tar.gz 6910937 SHA256 
379835006f38b603af01cf46d508fd40e862b451045807b444042914e8736fee SHA512 
5f90804270907b3a915e763e6a20c39432f76591a11df7198526fde5635314ffbb27026860053c302be1ef1dfce1efa445c5849c72d1220575314d6c3d67e94f
 WHIRLPOOL 
a13c531980da2cf172e933c5bcb179f8dc9368514fe7d2ec12a203f54c04aa5258218c6d2fc1bee30826598e1e8c057c437af6810709c26b0863cd2b665bc159
+DIST cockatrice-20160630.tar.gz 6928656 SHA256 
18c7ec245be8600d4c4be5868b71238ec669a38a24053d84aed608dae888a6f5 SHA512 
a208b0e754285f9dd9f1f0bd28dbb29d97edf2d40da02bbe4dd6d6f01cfdff6fdc978ceaaf3d251252a69318519283790fa7ed5c552b08142e849e0b7c18d4cd
 WHIRLPOOL 
c339974104dc697f27c92263460b9dcd892819c0f7797247d3479bfb54b998118c22e7441ce9877749f6ffc265d7d5a6b5b5aa62bea1b0108fa558e0cc237e4d

diff --git a/games-board/cockatrice/cockatrice-20160630.ebuild 
b/games-board/cockatrice/cockatrice-20160630.ebuild
new file mode 100644
index ..17e5d87
--- /dev/null
+++ b/games-board/cockatrice/cockatrice-20160630.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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="https://github.com/Cockatrice/${PN}/archive/2016-06-30-Release.tar.gz 
-> ${P}.tar.gz"
+# As the default help/about display the sha1 we need it
+SHA1='277d7e2'
+S=${WORKDIR}/"Cockatrice-2016-06-30-Release"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dedicated server"
+
+DEPEND="
+   dev-libs/libgcrypt:0
+   dev-libs/protobuf
+   dev-qt/linguist-tools:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtcore:5
+   dev-qt/qtprintsupport:5
+   !dedicated? (
+   dev-qt/qtgui:5
+   dev-qt/qtmultimedia:5
+   dev-qt/qtsvg:5
+   )"
+
+src_configure() {
+   local mycmakeargs=(
+   $(usex dedicated "-DWITHOUT_CLIENT=1 -DWITH_SERVER=1" "$(usex 
server "-DWITH_SERVER=1" "")")
+   -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
+}
+
+src_compile() {
+   cmake-utils_src_compile
+}
+
+src_install() {
+   cmake-utils_src_install
+}
+
+pkg_preinst() {
+   use dedicated || gnome2_icon_savelist
+}
+
+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"
+   use dedicated || gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+   use dedicated || gnome2_icon_cache_update
+}



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2019-03-13 Thread James Le Cuirot
commit: ff410b90e91a54963ec77a19b00fbfaf101c143a
Author: James Le Cuirot  gentoo  org>
AuthorDate: Wed Mar 13 22:45:08 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Wed Mar 13 22:45:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff410b90

games-board/cockatrice: Drop old 20170505-r1

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: James Le Cuirot  gentoo.org>

 games-board/cockatrice/Manifest|  1 -
 .../cockatrice/cockatrice-20170505-r1.ebuild   | 58 --
 2 files changed, 59 deletions(-)

diff --git a/games-board/cockatrice/Manifest b/games-board/cockatrice/Manifest
index 4c6053c0799..b24c9988252 100644
--- a/games-board/cockatrice/Manifest
+++ b/games-board/cockatrice/Manifest
@@ -1,2 +1 @@
-DIST cockatrice-20170505.tar.gz 7340644 BLAKE2B 
da3503f5ac02d0a03d59c719af82926e693fc3f2028d096c2b1d8d5145c62439f68e88379281e224d812405b39520e34476a6fd1df75f8202adc463f6ea8b3f8
 SHA512 
7cf319af46e4e2bd59428cf6635eeefebe70695adb445b24a727050abbc64124c17654ac058429b88a99f09f77639c15f8100d107ee8f54cad2bf0dec7051aa5
 DIST cockatrice-20190304.tar.gz 8464830 BLAKE2B 
6e6b41593d7eddc8599fa894eed63f993fb69888c57fdfc4a45d71e6e7990d7d716663b69902139f5fd7ead455acdba76ac1d649977e26dceb2948293c34b74e
 SHA512 
6a76e5de2aa7a4d2c9943bee9225ebf01aca7679bcd2542450b7e8b919e401992019f5bfb69597e8845bb2d8db568d7a6549600b85b576f9fb29be712bbfc9e5

diff --git a/games-board/cockatrice/cockatrice-20170505-r1.ebuild 
b/games-board/cockatrice/cockatrice-20170505-r1.ebuild
deleted file mode 100644
index b5d17ff65ab..000
--- a/games-board/cockatrice/cockatrice-20170505-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-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="+client +oracle server"
-
-RDEPEND="
-   dev-qt/qtconcurrent:5
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtnetwork:5[ssl]
-   dev-qt/qtwidgets:5
-   client? (
-   dev-libs/protobuf:=
-   dev-qt/qtmultimedia:5
-   dev-qt/qtprintsupport:5
-   dev-qt/qtsvg:5
-   )
-   oracle? ( sys-libs/zlib:= )
-   server? (
-   dev-libs/protobuf:=
-   dev-qt/qtsql:5
-   dev-qt/qtwebsockets:5
-   )
-"
-DEPEND="${RDEPEND}
-   dev-qt/linguist-tools:5
-"
-
-# 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 -e 's/^set(PROJECT_VERSION_FRIENDLY.*/set(PROJECT_VERSION_FRIENDLY 
\"'${SHA1}'\")/' \
-   -i cmake/getversion.cmake || die "sed failed!"
-
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2019-03-13 Thread James Le Cuirot
commit: 82cae6686aa9e39f0ab90df44a313ae7a21a9f7e
Author: James Le Cuirot  gentoo  org>
AuthorDate: Wed Mar 13 22:31:25 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Wed Mar 13 22:44:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82cae668

games-board/cockatrice: Version bump to 20190304, drop 20181220

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: James Le Cuirot  gentoo.org>

 games-board/cockatrice/Manifest | 2 +-
 .../{cockatrice-20181220.ebuild => cockatrice-20190304.ebuild}  | 6 --
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/games-board/cockatrice/Manifest b/games-board/cockatrice/Manifest
index 085013d9d62..4c6053c0799 100644
--- a/games-board/cockatrice/Manifest
+++ b/games-board/cockatrice/Manifest
@@ -1,2 +1,2 @@
 DIST cockatrice-20170505.tar.gz 7340644 BLAKE2B 
da3503f5ac02d0a03d59c719af82926e693fc3f2028d096c2b1d8d5145c62439f68e88379281e224d812405b39520e34476a6fd1df75f8202adc463f6ea8b3f8
 SHA512 
7cf319af46e4e2bd59428cf6635eeefebe70695adb445b24a727050abbc64124c17654ac058429b88a99f09f77639c15f8100d107ee8f54cad2bf0dec7051aa5
-DIST cockatrice-20181220.tar.gz 8313639 BLAKE2B 
d627dbf58c1818d3d06170602eb2ebafd0140e33997bd8cc299d1a665c487b3917473ea54eafdf5e2e03248371a9274b44b34529fc9fbab1c78fc603aa925709
 SHA512 
02a6f6fe66f8a0ffc16279b1c0d0053acd5da1bbb89dc297ec2ae307cf66852885fc96a297a1c8dfde57797ce817935541fe81d5e4198db59d4ef1ef3fe65039
+DIST cockatrice-20190304.tar.gz 8464830 BLAKE2B 
6e6b41593d7eddc8599fa894eed63f993fb69888c57fdfc4a45d71e6e7990d7d716663b69902139f5fd7ead455acdba76ac1d649977e26dceb2948293c34b74e
 SHA512 
6a76e5de2aa7a4d2c9943bee9225ebf01aca7679bcd2542450b7e8b919e401992019f5bfb69597e8845bb2d8db568d7a6549600b85b576f9fb29be712bbfc9e5

diff --git a/games-board/cockatrice/cockatrice-20181220.ebuild 
b/games-board/cockatrice/cockatrice-20190304.ebuild
similarity index 89%
rename from games-board/cockatrice/cockatrice-20181220.ebuild
rename to games-board/cockatrice/cockatrice-20190304.ebuild
index 9b968e73da7..bd8edfdaf6b 100644
--- a/games-board/cockatrice/cockatrice-20181220.ebuild
+++ b/games-board/cockatrice/cockatrice-20190304.ebuild
@@ -5,9 +5,10 @@ EAPI=7
 
 inherit cmake-utils
 
+MY_PV="2019-03-04-Release-2.7.0"
 DESCRIPTION="An open-source multiplatform software for playing card games over 
a network"
 HOMEPAGE="https://github.com/Cockatrice/Cockatrice";
-SRC_URI="${HOMEPAGE}/archive/2018-12-20-Release-2.6.2.tar.gz -> ${P}.tar.gz"
+SRC_URI="${HOMEPAGE}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -20,6 +21,7 @@ RDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5[ssl]
+   dev-qt/qtwebsockets:5
dev-qt/qtwidgets:5
client? (
dev-libs/protobuf:=
@@ -45,7 +47,7 @@ DEPEND="${RDEPEND}
 # As the default help/about display the sha1 we need it
 SHA1='294b433'
 
-S="${WORKDIR}/Cockatrice-2018-12-20-Release-2.6.2"
+S="${WORKDIR}/Cockatrice-${MY_PV}"
 
 src_configure() {
local mycmakeargs=(



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2019-03-13 Thread James Le Cuirot
commit: 8591839037b228484d81fdf9e31d1f04b5b8f3de
Author: Guillaume Seren  gmail  com>
AuthorDate: Sun Feb 24 16:00:04 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Wed Mar 13 22:44:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85918390

games-board/cockatrice: version bump to 20181220

Closes: https://bugs.gentoo.org/664712
Closes: https://bugs.gentoo.org/678690
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Guillaume Seren  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11149
Signed-off-by: James Le Cuirot  gentoo.org>

 games-board/cockatrice/Manifest   |  1 +
 games-board/cockatrice/cockatrice-20181220.ebuild | 63 +++
 2 files changed, 64 insertions(+)

diff --git a/games-board/cockatrice/Manifest b/games-board/cockatrice/Manifest
index 8dfb668862a..085013d9d62 100644
--- a/games-board/cockatrice/Manifest
+++ b/games-board/cockatrice/Manifest
@@ -1 +1,2 @@
 DIST cockatrice-20170505.tar.gz 7340644 BLAKE2B 
da3503f5ac02d0a03d59c719af82926e693fc3f2028d096c2b1d8d5145c62439f68e88379281e224d812405b39520e34476a6fd1df75f8202adc463f6ea8b3f8
 SHA512 
7cf319af46e4e2bd59428cf6635eeefebe70695adb445b24a727050abbc64124c17654ac058429b88a99f09f77639c15f8100d107ee8f54cad2bf0dec7051aa5
+DIST cockatrice-20181220.tar.gz 8313639 BLAKE2B 
d627dbf58c1818d3d06170602eb2ebafd0140e33997bd8cc299d1a665c487b3917473ea54eafdf5e2e03248371a9274b44b34529fc9fbab1c78fc603aa925709
 SHA512 
02a6f6fe66f8a0ffc16279b1c0d0053acd5da1bbb89dc297ec2ae307cf66852885fc96a297a1c8dfde57797ce817935541fe81d5e4198db59d4ef1ef3fe65039

diff --git a/games-board/cockatrice/cockatrice-20181220.ebuild 
b/games-board/cockatrice/cockatrice-20181220.ebuild
new file mode 100644
index 000..9b968e73da7
--- /dev/null
+++ b/games-board/cockatrice/cockatrice-20181220.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+DESCRIPTION="An open-source multiplatform software for playing card games over 
a network"
+HOMEPAGE="https://github.com/Cockatrice/Cockatrice";
+SRC_URI="${HOMEPAGE}/archive/2018-12-20-Release-2.6.2.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+client +oracle server"
+
+RDEPEND="
+   dev-qt/qtconcurrent:5
+   dev-qt/qtprintsupport:5
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5[ssl]
+   dev-qt/qtwidgets:5
+   client? (
+   dev-libs/protobuf:=
+   dev-qt/qtmultimedia:5
+   dev-qt/qtprintsupport:5
+   dev-qt/qtsvg:5
+   )
+   oracle? ( sys-libs/zlib )
+   server? (
+   dev-libs/protobuf:=
+   dev-qt/qtsql:5
+   dev-qt/qtwebsockets:5
+   )
+"
+BDEPEND="
+   dev-qt/linguist-tools:5
+   client? ( dev-libs/protobuf )
+   server? ( dev-libs/protobuf )
+"
+DEPEND="${RDEPEND}
+"
+
+# As the default help/about display the sha1 we need it
+SHA1='294b433'
+
+S="${WORKDIR}/Cockatrice-2018-12-20-Release-2.6.2"
+
+src_configure() {
+   local mycmakeargs=(
+   -DWITH_CLIENT=$(usex client)
+   -DWITH_ORACLE=$(usex oracle)
+   -DWITH_SERVER=$(usex server)
+   -DICONDIR="${EPREFIX}/usr/share/icons"
+   -DDESKTOPDIR="${EPREFIX}/usr/share/applications" )
+
+   # Add date in the help about, come from git originally
+   sed -e 's/^set(PROJECT_VERSION_FRIENDLY.*/set(PROJECT_VERSION_FRIENDLY 
\"'${SHA1}'\")/' \
+   -i cmake/getversion.cmake || die "sed failed!"
+
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2019-03-24 Thread James Le Cuirot
commit: 2187df4e2a89e7e13984ed149a2bfc3a6b22552e
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sun Mar 24 17:15:23 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sun Mar 24 17:15:57 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2187df4e

games-board/cockatrice: Build static libraries rather than shared

Closes: https://bugs.gentoo.org/681664
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: James Le Cuirot  gentoo.org>

 .../{cockatrice-20190304.ebuild => cockatrice-20190304-r1.ebuild}| 1 +
 1 file changed, 1 insertion(+)

diff --git a/games-board/cockatrice/cockatrice-20190304.ebuild 
b/games-board/cockatrice/cockatrice-20190304-r1.ebuild
similarity index 98%
rename from games-board/cockatrice/cockatrice-20190304.ebuild
rename to games-board/cockatrice/cockatrice-20190304-r1.ebuild
index 8d1cd205662..f44fa453f6d 100644
--- a/games-board/cockatrice/cockatrice-20190304.ebuild
+++ b/games-board/cockatrice/cockatrice-20190304-r1.ebuild
@@ -55,6 +55,7 @@ PATCHES=(
 
 src_configure() {
local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=OFF
-DUSE_CCACHE=OFF
-DWITH_CLIENT=$(usex client)
-DWITH_ORACLE=$(usex oracle)



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2018-08-22 Thread Andreas Sturmlechner
commit: e59c6b51cfdd41f0bdbdaf385c5378187fb42342
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Aug 22 18:35:21 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Aug 22 18:39:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e59c6b51

games-board/cockatrice: Add missing USE=server RDEPENDs

Package-Manager: Portage-2.3.48, Repoman-2.3.10

 games-board/cockatrice/cockatrice-20170505-r1.ebuild | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/games-board/cockatrice/cockatrice-20170505-r1.ebuild 
b/games-board/cockatrice/cockatrice-20170505-r1.ebuild
index 902b7730730..86db0f458d0 100644
--- a/games-board/cockatrice/cockatrice-20170505-r1.ebuild
+++ b/games-board/cockatrice/cockatrice-20170505-r1.ebuild
@@ -15,7 +15,6 @@ KEYWORDS="~amd64 ~x86"
 IUSE="+client +oracle server"
 
 RDEPEND="
-   dev-libs/protobuf
dev-qt/qtconcurrent:5
dev-qt/qtcore:5
dev-qt/qtgui:5
@@ -27,6 +26,11 @@ RDEPEND="
dev-qt/qtsvg:5
)
oracle? ( sys-libs/zlib:= )
+   server? (
+   dev-libs/protobuf:=
+   dev-qt/qtsql:5
+   dev-qt/qtwebsockets:5
+   )
 "
 DEPEND="${RDEPEND}
dev-qt/linguist-tools:5



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2018-08-22 Thread Andreas Sturmlechner
commit: b4b2fc1a667dfb4ada426f60f4f08bf732a8e640
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Aug 22 17:32:17 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Aug 22 18:39:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4b2fc1a

games-board/cockatrice: Fix missing (R)DEPENDs, superfluous inherits

Sort dependencies, add missing sys-libs/zlib slot op
Add completely missing RDEPEND (since 2f2b7ec5b6fb49b79bd936219f0b0ae5baa70514)
Add missing USE-dep on dev-qt/qtnetwork:5[ssl]

Closes: https://bugs.gentoo.org/664290
Package-Manager: Portage-2.3.48, Repoman-2.3.10

 ...170505.ebuild => cockatrice-20170505-r1.ebuild} | 32 +-
 1 file changed, 19 insertions(+), 13 deletions(-)

diff --git a/games-board/cockatrice/cockatrice-20170505.ebuild 
b/games-board/cockatrice/cockatrice-20170505-r1.ebuild
similarity index 68%
rename from games-board/cockatrice/cockatrice-20170505.ebuild
rename to games-board/cockatrice/cockatrice-20170505-r1.ebuild
index a8edee2cae1..902b7730730 100644
--- a/games-board/cockatrice/cockatrice-20170505.ebuild
+++ b/games-board/cockatrice/cockatrice-20170505-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit cmake-utils eutils gnome2-utils
+
+inherit cmake-utils
 
 DESCRIPTION="An open-source multiplatform software for playing card games over 
a network"
 HOMEPAGE="https://github.com/Cockatrice/Cockatrice";
@@ -11,22 +12,25 @@ 
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"
+IUSE="+client +oracle server"
 
-DEPEND="
-   dev-libs/libgcrypt:0
+RDEPEND="
dev-libs/protobuf
-   dev-qt/linguist-tools:5
dev-qt/qtconcurrent:5
-   dev-qt/qtprintsupport:5
dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5[ssl]
+   dev-qt/qtwidgets:5
client? (
-   dev-qt/qtgui:5
dev-qt/qtmultimedia:5
-   dev-qt/qtsvg:5 )
-   oracle? (
-   sys-libs/zlib
-   )"
+   dev-qt/qtprintsupport:5
+   dev-qt/qtsvg:5
+   )
+   oracle? ( sys-libs/zlib:= )
+"
+DEPEND="${RDEPEND}
+   dev-qt/linguist-tools:5
+"
 
 # As the default help/about display the sha1 we need it
 SHA1='c96f234'
@@ -42,6 +46,8 @@ src_configure() {
-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!"
+   sed -e 's/^set(PROJECT_VERSION_FRIENDLY.*/set(PROJECT_VERSION_FRIENDLY 
\"'${SHA1}'\")/' \
+   -i cmake/getversion.cmake || die "sed failed!"
+
cmake-utils_src_configure
 }



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2018-08-29 Thread Andreas Sturmlechner
commit: 40fb80bcfa2be653c3fc383ded761555c9d4612a
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Aug 28 17:41:33 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Aug 29 07:45:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40fb80bc

games-board/cockatrice: USE=client depends on dev-libs/protobuf:=

Closes: https://bugs.gentoo.org/664390
Package-Manager: Portage-2.3.48, Repoman-2.3.10

 games-board/cockatrice/cockatrice-20170505-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/games-board/cockatrice/cockatrice-20170505-r1.ebuild 
b/games-board/cockatrice/cockatrice-20170505-r1.ebuild
index 86db0f458d0..b5d17ff65ab 100644
--- a/games-board/cockatrice/cockatrice-20170505-r1.ebuild
+++ b/games-board/cockatrice/cockatrice-20170505-r1.ebuild
@@ -21,6 +21,7 @@ RDEPEND="
dev-qt/qtnetwork:5[ssl]
dev-qt/qtwidgets:5
client? (
+   dev-libs/protobuf:=
dev-qt/qtmultimedia:5
dev-qt/qtprintsupport:5
dev-qt/qtsvg:5



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2019-12-06 Thread David Seifert
commit: 67b2db7205bd6f70048c74511bdfc1916a96c384
Author: Wim Muskee  gmail  com>
AuthorDate: Fri Dec  6 15:41:09 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Dec  6 20:31:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67b2db72

games-board/cockatrice: fix HomepageInSrcUri

Signed-off-by: Wim Muskee  gmail.com>
Signed-off-by: David Seifert  gentoo.org>

 games-board/cockatrice/cockatrice-20190304-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/cockatrice/cockatrice-20190304-r1.ebuild 
b/games-board/cockatrice/cockatrice-20190304-r1.ebuild
index f44fa453f6d..b4a18e8d208 100644
--- a/games-board/cockatrice/cockatrice-20190304-r1.ebuild
+++ b/games-board/cockatrice/cockatrice-20190304-r1.ebuild
@@ -8,7 +8,7 @@ inherit cmake-utils
 MY_PV="2019-03-04-Release-2.7.0"
 DESCRIPTION="An open-source multiplatform software for playing card games over 
a network"
 HOMEPAGE="https://github.com/Cockatrice/Cockatrice";
-SRC_URI="${HOMEPAGE}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/Cockatrice/Cockatrice/archive/${MY_PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2021-06-23 Thread Ionen Wolkens
commit: 2800fac798ad4cf1018e6fea464f17c2c4c26db6
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Jun 21 16:25:05 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Jun 24 01:53:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2800fac7

games-board/cockatrice: fix LICENSE, add missing eclass

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Ionen Wolkens  gentoo.org>

 games-board/cockatrice/cockatrice-20210126.ebuild | 32 +--
 1 file changed, 12 insertions(+), 20 deletions(-)

diff --git a/games-board/cockatrice/cockatrice-20210126.ebuild 
b/games-board/cockatrice/cockatrice-20210126.ebuild
index f3f5bd2606f..caa652ceef6 100644
--- a/games-board/cockatrice/cockatrice-20210126.ebuild
+++ b/games-board/cockatrice/cockatrice-20210126.ebuild
@@ -3,14 +3,16 @@
 
 EAPI=7
 
-inherit cmake
+inherit xdg cmake
 
 MY_PV="2021-01-26-Release-2.8.0"
-DESCRIPTION="An open-source multiplatform software for playing card games over 
a network"
+
+DESCRIPTION="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_PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/Cockatrice-${MY_PV}"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="+client +oracle test server"
@@ -33,17 +35,14 @@ RDEPEND="
server? (
dev-libs/protobuf:=
dev-qt/qtsql:5
-   )
-"
+   )"
+DEPEND="
+   ${RDEPEND}
+   test? ( dev-cpp/gtest )"
 BDEPEND="
dev-qt/linguist-tools:5
client? ( dev-libs/protobuf )
-   server? ( dev-libs/protobuf )
-   test? ( dev-cpp/gtest )
-"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/Cockatrice-${MY_PV}"
+   server? ( dev-libs/protobuf )"
 
 src_configure() {
local mycmakeargs=(
@@ -54,7 +53,8 @@ src_configure() {
-DWITH_SERVER=$(usex server)
-DTEST=$(usex test)
-DICONDIR="${EPREFIX}/usr/share/icons"
-   -DDESKTOPDIR="${EPREFIX}/usr/share/applications" )
+   -DDESKTOPDIR="${EPREFIX}/usr/share/applications"
+   )
 
# Add date in the help about, come from git originally
sed -e 's/^set(PROJECT_VERSION_FRIENDLY.*/set(PROJECT_VERSION_FRIENDLY 
\"'${MY_PV}'\")/' \
@@ -62,11 +62,3 @@ src_configure() {
 
cmake_src_configure
 }
-
-pkg_postinst() {
-   xdg_icon_cache_update
-}
-
-pkg_postrm() {
-   xdg_icon_cache_update
-}



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2021-06-23 Thread Ionen Wolkens
commit: a31ab6d146f9c3150d02eaa67dcdbd0815125806
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Jun 21 16:26:10 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Jun 24 01:53:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a31ab6d1

games-board/cockatrice: remove old

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Ionen Wolkens  gentoo.org>

 games-board/cockatrice/Manifest   |  1 -
 games-board/cockatrice/cockatrice-20200823.ebuild | 64 ---
 2 files changed, 65 deletions(-)

diff --git a/games-board/cockatrice/Manifest b/games-board/cockatrice/Manifest
index 66f9d16e724..4b942ce0236 100644
--- a/games-board/cockatrice/Manifest
+++ b/games-board/cockatrice/Manifest
@@ -1,2 +1 @@
-DIST cockatrice-20200823.tar.gz 8503044 BLAKE2B 
a987418b25db53e5fc42627e3efa93ee7348ff341d7cf844647c6655b00bb76f2929cff91c6a1d199525fba2785f4d5da533c934ad483636af1979d52f8eea94
 SHA512 
0fa919009536238cd540db6ef01271a41f96aa40a3d40b468fbc400905dbdfe914cfb785f62f8135355c64cc8fef19a83604aee1ad4420bb73c8f31b9d48e48b
 DIST cockatrice-20210126.tar.gz 8589061 BLAKE2B 
f90840f2b6044ea364101410adc9481660a7247460f7191d6b022e447cc1685f28384a39596a3fbeaeb67f1af0cc184cf017f8e666e67e673672bc3968ac807a
 SHA512 
e07cdee72c8bf4755d49cac69bd6a2ddb4c168d370ed4a1cbd341537184869ee8680fbf5e9d6b636c7c6a8d00f474bae9cf245303d638b3aac8762f9fa8e

diff --git a/games-board/cockatrice/cockatrice-20200823.ebuild 
b/games-board/cockatrice/cockatrice-20200823.ebuild
deleted file mode 100644
index fa3bd9ba82e..000
--- a/games-board/cockatrice/cockatrice-20200823.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit xdg cmake
-
-MY_PV="2020-08-23-Release-2.7.5"
-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_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+client +oracle test server"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   dev-qt/qtconcurrent:5
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtnetwork:5[ssl]
-   dev-qt/qtprintsupport:5
-   dev-qt/qtwebsockets:5
-   dev-qt/qtwidgets:5
-   client? (
-   dev-libs/protobuf:=
-   dev-qt/qtmultimedia:5
-   dev-qt/qtsvg:5
-   )
-   oracle? ( sys-libs/zlib )
-   server? (
-   dev-libs/protobuf:=
-   dev-qt/qtsql:5
-   )
-"
-BDEPEND="
-   dev-qt/linguist-tools:5
-   client? ( dev-libs/protobuf )
-   server? ( dev-libs/protobuf )
-   test? ( dev-cpp/gtest )
-"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/Cockatrice-${MY_PV}"
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_SHARED_LIBS=OFF
-   -DUSE_CCACHE=OFF
-   -DWITH_CLIENT=$(usex client)
-   -DWITH_ORACLE=$(usex oracle)
-   -DWITH_SERVER=$(usex server)
-   -DTEST=$(usex test)
-   -DICONDIR="${EPREFIX}/usr/share/icons"
-   -DDESKTOPDIR="${EPREFIX}/usr/share/applications" )
-
-   # Add date in the help about, come from git originally
-   sed -e 's/^set(PROJECT_VERSION_FRIENDLY.*/set(PROJECT_VERSION_FRIENDLY 
\"'${MY_PV}'\")/' \
-   -i cmake/getversion.cmake || die "sed failed!"
-
-   cmake_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2021-01-24 Thread James Le Cuirot
commit: cb81a059a3b68153159ee52c6d40983c57e30c8e
Author: Guillaume Seren  gmail  com>
AuthorDate: Fri Dec 11 19:26:12 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sun Jan 24 10:17:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb81a059

games-board/cockatrice: Add version bump 20200823

Closes: https://bugs.gentoo.org/759505
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Guillaume Seren  gmail.com>
Signed-off-by: James Le Cuirot  gentoo.org>

 games-board/cockatrice/Manifest   |  1 +
 games-board/cockatrice/cockatrice-20200823.ebuild | 64 +++
 2 files changed, 65 insertions(+)

diff --git a/games-board/cockatrice/Manifest b/games-board/cockatrice/Manifest
index b24c9988252..42e894d509b 100644
--- a/games-board/cockatrice/Manifest
+++ b/games-board/cockatrice/Manifest
@@ -1 +1,2 @@
 DIST cockatrice-20190304.tar.gz 8464830 BLAKE2B 
6e6b41593d7eddc8599fa894eed63f993fb69888c57fdfc4a45d71e6e7990d7d716663b69902139f5fd7ead455acdba76ac1d649977e26dceb2948293c34b74e
 SHA512 
6a76e5de2aa7a4d2c9943bee9225ebf01aca7679bcd2542450b7e8b919e401992019f5bfb69597e8845bb2d8db568d7a6549600b85b576f9fb29be712bbfc9e5
+DIST cockatrice-20200823.tar.gz 8503044 BLAKE2B 
a987418b25db53e5fc42627e3efa93ee7348ff341d7cf844647c6655b00bb76f2929cff91c6a1d199525fba2785f4d5da533c934ad483636af1979d52f8eea94
 SHA512 
0fa919009536238cd540db6ef01271a41f96aa40a3d40b468fbc400905dbdfe914cfb785f62f8135355c64cc8fef19a83604aee1ad4420bb73c8f31b9d48e48b

diff --git a/games-board/cockatrice/cockatrice-20200823.ebuild 
b/games-board/cockatrice/cockatrice-20200823.ebuild
new file mode 100644
index 000..fa3bd9ba82e
--- /dev/null
+++ b/games-board/cockatrice/cockatrice-20200823.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit xdg cmake
+
+MY_PV="2020-08-23-Release-2.7.5"
+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_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+client +oracle test server"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   dev-qt/qtconcurrent:5
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5[ssl]
+   dev-qt/qtprintsupport:5
+   dev-qt/qtwebsockets:5
+   dev-qt/qtwidgets:5
+   client? (
+   dev-libs/protobuf:=
+   dev-qt/qtmultimedia:5
+   dev-qt/qtsvg:5
+   )
+   oracle? ( sys-libs/zlib )
+   server? (
+   dev-libs/protobuf:=
+   dev-qt/qtsql:5
+   )
+"
+BDEPEND="
+   dev-qt/linguist-tools:5
+   client? ( dev-libs/protobuf )
+   server? ( dev-libs/protobuf )
+   test? ( dev-cpp/gtest )
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/Cockatrice-${MY_PV}"
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=OFF
+   -DUSE_CCACHE=OFF
+   -DWITH_CLIENT=$(usex client)
+   -DWITH_ORACLE=$(usex oracle)
+   -DWITH_SERVER=$(usex server)
+   -DTEST=$(usex test)
+   -DICONDIR="${EPREFIX}/usr/share/icons"
+   -DDESKTOPDIR="${EPREFIX}/usr/share/applications" )
+
+   # Add date in the help about, come from git originally
+   sed -e 's/^set(PROJECT_VERSION_FRIENDLY.*/set(PROJECT_VERSION_FRIENDLY 
\"'${MY_PV}'\")/' \
+   -i cmake/getversion.cmake || die "sed failed!"
+
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2021-01-24 Thread James Le Cuirot
commit: 9a88f3e6df04b356d75f886aa6c0ab567628f962
Author: Guillaume Seren  gmail  com>
AuthorDate: Fri Dec 11 19:31:54 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sun Jan 24 10:17:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a88f3e6

games-board/cockatrice: Clean old version

Closes: https://bugs.gentoo.org/759505
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Guillaume Seren  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18611
Signed-off-by: James Le Cuirot  gentoo.org>

 games-board/cockatrice/Manifest|  1 -
 .../cockatrice/cockatrice-20190304-r1.ebuild   | 69 --
 2 files changed, 70 deletions(-)

diff --git a/games-board/cockatrice/Manifest b/games-board/cockatrice/Manifest
index 42e894d509b..58e38529b60 100644
--- a/games-board/cockatrice/Manifest
+++ b/games-board/cockatrice/Manifest
@@ -1,2 +1 @@
-DIST cockatrice-20190304.tar.gz 8464830 BLAKE2B 
6e6b41593d7eddc8599fa894eed63f993fb69888c57fdfc4a45d71e6e7990d7d716663b69902139f5fd7ead455acdba76ac1d649977e26dceb2948293c34b74e
 SHA512 
6a76e5de2aa7a4d2c9943bee9225ebf01aca7679bcd2542450b7e8b919e401992019f5bfb69597e8845bb2d8db568d7a6549600b85b576f9fb29be712bbfc9e5
 DIST cockatrice-20200823.tar.gz 8503044 BLAKE2B 
a987418b25db53e5fc42627e3efa93ee7348ff341d7cf844647c6655b00bb76f2929cff91c6a1d199525fba2785f4d5da533c934ad483636af1979d52f8eea94
 SHA512 
0fa919009536238cd540db6ef01271a41f96aa40a3d40b468fbc400905dbdfe914cfb785f62f8135355c64cc8fef19a83604aee1ad4420bb73c8f31b9d48e48b

diff --git a/games-board/cockatrice/cockatrice-20190304-r1.ebuild 
b/games-board/cockatrice/cockatrice-20190304-r1.ebuild
deleted file mode 100644
index 50792e3ce5f..000
--- a/games-board/cockatrice/cockatrice-20190304-r1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-MY_PV="2019-03-04-Release-2.7.0"
-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_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+client +oracle server"
-
-RDEPEND="
-   dev-qt/qtconcurrent:5
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtnetwork:5[ssl]
-   dev-qt/qtprintsupport:5
-   dev-qt/qtwebsockets:5
-   dev-qt/qtwidgets:5
-   client? (
-   dev-libs/protobuf:=
-   dev-qt/qtmultimedia:5
-   dev-qt/qtsvg:5
-   )
-   oracle? ( sys-libs/zlib )
-   server? (
-   dev-libs/protobuf:=
-   dev-qt/qtsql:5
-   )
-"
-BDEPEND="
-   dev-qt/linguist-tools:5
-   client? ( dev-libs/protobuf )
-   server? ( dev-libs/protobuf )
-"
-DEPEND="${RDEPEND}"
-
-# As the default help/about display the sha1 we need it
-SHA1='294b433'
-
-S="${WORKDIR}/Cockatrice-${MY_PV}"
-
-PATCHES=(
-   "${FILESDIR}"/use-ccache.patch
-   "${FILESDIR}"/${P}-qt-5.15.patch
-)
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_SHARED_LIBS=OFF
-   -DUSE_CCACHE=OFF
-   -DWITH_CLIENT=$(usex client)
-   -DWITH_ORACLE=$(usex oracle)
-   -DWITH_SERVER=$(usex server)
-   -DICONDIR="${EPREFIX}/usr/share/icons"
-   -DDESKTOPDIR="${EPREFIX}/usr/share/applications" )
-
-   # Add date in the help about, come from git originally
-   sed -e 's/^set(PROJECT_VERSION_FRIENDLY.*/set(PROJECT_VERSION_FRIENDLY 
\"'${SHA1}'\")/' \
-   -i cmake/getversion.cmake || die "sed failed!"
-
-   cmake_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2021-01-24 Thread James Le Cuirot
commit: be9394f12c291c33834cedf3cf09124d47d00ee5
Author: Guillaume Seren  gmail  com>
AuthorDate: Fri Dec 11 19:21:44 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sun Jan 24 10:17:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be9394f1

games-board/cockatrice: Added myself as co-maintainer

Closes: https://bugs.gentoo.org/759505
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Guillaume Seren  gmail.com>
Signed-off-by: James Le Cuirot  gentoo.org>

 games-board/cockatrice/metadata.xml | 8 
 1 file changed, 8 insertions(+)

diff --git a/games-board/cockatrice/metadata.xml 
b/games-board/cockatrice/metadata.xml
index 4b799335621..36a79b8d8ab 100644
--- a/games-board/cockatrice/metadata.xml
+++ b/games-board/cockatrice/metadata.xml
@@ -5,6 +5,14 @@
ga...@gentoo.org
Gentoo Games Project

+   
+   guillaumese...@gmail.com
+   Guillaume Seren
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   


bru...@gmx.net



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2021-05-31 Thread Sam James
commit: f58f22e500f64b3b954e6a375e9932baf5370631
Author: Guillaume Seren  gmail  com>
AuthorDate: Sun May 30 11:13:26 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 31 08:14:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f58f22e5

games-board/cockatrice: Version bump 20210126

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Closes: https://bugs.gentoo.org/793029
Signed-off-by: Guillaume Seren  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/21050
Signed-off-by: Sam James  gentoo.org>

 games-board/cockatrice/Manifest   |  1 +
 games-board/cockatrice/cockatrice-20210126.ebuild | 72 +++
 2 files changed, 73 insertions(+)

diff --git a/games-board/cockatrice/Manifest b/games-board/cockatrice/Manifest
index 58e38529b60..66f9d16e724 100644
--- a/games-board/cockatrice/Manifest
+++ b/games-board/cockatrice/Manifest
@@ -1 +1,2 @@
 DIST cockatrice-20200823.tar.gz 8503044 BLAKE2B 
a987418b25db53e5fc42627e3efa93ee7348ff341d7cf844647c6655b00bb76f2929cff91c6a1d199525fba2785f4d5da533c934ad483636af1979d52f8eea94
 SHA512 
0fa919009536238cd540db6ef01271a41f96aa40a3d40b468fbc400905dbdfe914cfb785f62f8135355c64cc8fef19a83604aee1ad4420bb73c8f31b9d48e48b
+DIST cockatrice-20210126.tar.gz 8589061 BLAKE2B 
f90840f2b6044ea364101410adc9481660a7247460f7191d6b022e447cc1685f28384a39596a3fbeaeb67f1af0cc184cf017f8e666e67e673672bc3968ac807a
 SHA512 
e07cdee72c8bf4755d49cac69bd6a2ddb4c168d370ed4a1cbd341537184869ee8680fbf5e9d6b636c7c6a8d00f474bae9cf245303d638b3aac8762f9fa8e

diff --git a/games-board/cockatrice/cockatrice-20210126.ebuild 
b/games-board/cockatrice/cockatrice-20210126.ebuild
new file mode 100644
index 000..f3f5bd2606f
--- /dev/null
+++ b/games-board/cockatrice/cockatrice-20210126.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PV="2021-01-26-Release-2.8.0"
+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_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+client +oracle test server"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   dev-qt/qtconcurrent:5
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5[ssl]
+   dev-qt/qtprintsupport:5
+   dev-qt/qtwebsockets:5
+   dev-qt/qtwidgets:5
+   client? (
+   dev-libs/protobuf:=
+   dev-qt/qtmultimedia:5
+   dev-qt/qtsvg:5
+   )
+   oracle? ( sys-libs/zlib )
+   server? (
+   dev-libs/protobuf:=
+   dev-qt/qtsql:5
+   )
+"
+BDEPEND="
+   dev-qt/linguist-tools:5
+   client? ( dev-libs/protobuf )
+   server? ( dev-libs/protobuf )
+   test? ( dev-cpp/gtest )
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/Cockatrice-${MY_PV}"
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=OFF
+   -DUSE_CCACHE=OFF
+   -DWITH_CLIENT=$(usex client)
+   -DWITH_ORACLE=$(usex oracle)
+   -DWITH_SERVER=$(usex server)
+   -DTEST=$(usex test)
+   -DICONDIR="${EPREFIX}/usr/share/icons"
+   -DDESKTOPDIR="${EPREFIX}/usr/share/applications" )
+
+   # Add date in the help about, come from git originally
+   sed -e 's/^set(PROJECT_VERSION_FRIENDLY.*/set(PROJECT_VERSION_FRIENDLY 
\"'${MY_PV}'\")/' \
+   -i cmake/getversion.cmake || die "sed failed!"
+
+   cmake_src_configure
+}
+
+pkg_postinst() {
+   xdg_icon_cache_update
+}
+
+pkg_postrm() {
+   xdg_icon_cache_update
+}



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/

2024-03-09 Thread Andreas Sturmlechner
commit: b9e8a1fb308e729e598f17ee34001a5b123cbec6
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Mar  7 09:51:15 2024 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Mar  9 16:18:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9e8a1fb

games-board/cockatrice: drop 20210126

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 games-board/cockatrice/Manifest   |  1 -
 games-board/cockatrice/cockatrice-20210126.ebuild | 64 ---
 2 files changed, 65 deletions(-)

diff --git a/games-board/cockatrice/Manifest b/games-board/cockatrice/Manifest
index 53f083a1ae09..3a2b8dfe1bfa 100644
--- a/games-board/cockatrice/Manifest
+++ b/games-board/cockatrice/Manifest
@@ -1,2 +1 @@
-DIST cockatrice-20210126.tar.gz 8589061 BLAKE2B 
f90840f2b6044ea364101410adc9481660a7247460f7191d6b022e447cc1685f28384a39596a3fbeaeb67f1af0cc184cf017f8e666e67e673672bc3968ac807a
 SHA512 
e07cdee72c8bf4755d49cac69bd6a2ddb4c168d370ed4a1cbd341537184869ee8680fbf5e9d6b636c7c6a8d00f474bae9cf245303d638b3aac8762f9fa8e
 DIST cockatrice-20230914.tar.gz 9295150 BLAKE2B 
b4dbe0ab8afb8871c63ca844dddcd540181a1cbfae3af3603f9677f6cbd871603527de8dc6ac148423457c227bcfd291c7db804607d1b8986dcb23138510eec6
 SHA512 
06841d1aabd14afef8d041e9c9eb1f157f9db1e8440d35b6092ffc68007599bf1b4185ec90e40074d562097d2230985087c4e9531b3e004eab221060c4076c57

diff --git a/games-board/cockatrice/cockatrice-20210126.ebuild 
b/games-board/cockatrice/cockatrice-20210126.ebuild
deleted file mode 100644
index caa652ceef6e..
--- a/games-board/cockatrice/cockatrice-20210126.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit xdg cmake
-
-MY_PV="2021-01-26-Release-2.8.0"
-
-DESCRIPTION="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_PV}.tar.gz -> 
${P}.tar.gz"
-S="${WORKDIR}/Cockatrice-${MY_PV}"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+client +oracle test server"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   dev-qt/qtconcurrent:5
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtnetwork:5[ssl]
-   dev-qt/qtprintsupport:5
-   dev-qt/qtwebsockets:5
-   dev-qt/qtwidgets:5
-   client? (
-   dev-libs/protobuf:=
-   dev-qt/qtmultimedia:5
-   dev-qt/qtsvg:5
-   )
-   oracle? ( sys-libs/zlib )
-   server? (
-   dev-libs/protobuf:=
-   dev-qt/qtsql:5
-   )"
-DEPEND="
-   ${RDEPEND}
-   test? ( dev-cpp/gtest )"
-BDEPEND="
-   dev-qt/linguist-tools:5
-   client? ( dev-libs/protobuf )
-   server? ( dev-libs/protobuf )"
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_SHARED_LIBS=OFF
-   -DUSE_CCACHE=OFF
-   -DWITH_CLIENT=$(usex client)
-   -DWITH_ORACLE=$(usex oracle)
-   -DWITH_SERVER=$(usex server)
-   -DTEST=$(usex test)
-   -DICONDIR="${EPREFIX}/usr/share/icons"
-   -DDESKTOPDIR="${EPREFIX}/usr/share/applications"
-   )
-
-   # Add date in the help about, come from git originally
-   sed -e 's/^set(PROJECT_VERSION_FRIENDLY.*/set(PROJECT_VERSION_FRIENDLY 
\"'${MY_PV}'\")/' \
-   -i cmake/getversion.cmake || die "sed failed!"
-
-   cmake_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/files/

2021-01-29 Thread James Le Cuirot
commit: 575319695ccf04677439f055c6d0415d8f86bc66
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri Jan 29 15:39:41 2021 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Fri Jan 29 21:55:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57531969

games-board/cockatrice: remove unused patch(es)

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/19254
Signed-off-by: James Le Cuirot  gentoo.org>

 .../files/cockatrice-20190304-qt-5.15.patch| 20 -
 games-board/cockatrice/files/use-ccache.patch  | 33 --
 2 files changed, 53 deletions(-)

diff --git a/games-board/cockatrice/files/cockatrice-20190304-qt-5.15.patch 
b/games-board/cockatrice/files/cockatrice-20190304-qt-5.15.patch
deleted file mode 100644
index 878a8d42824..000
--- a/games-board/cockatrice/files/cockatrice-20190304-qt-5.15.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-From 7fa1936d0f4efffa16ae28d6bd3f9e727e207046 Mon Sep 17 00:00:00 2001
-From: ebbit1q 
-Date: Fri, 19 Jun 2020 16:50:09 +0200
-Subject: [PATCH] qt 5.15 compatibility (#4027)
-

- cockatrice/src/replay_timeline_widget.cpp  |  1 +
- 27 files changed, 101 insertions(+), 39 deletions(-)
-
-diff --git a/cockatrice/src/replay_timeline_widget.cpp 
b/cockatrice/src/replay_timeline_widget.cpp
-index 6d04dce80..e79ad5f5c 100644
 a/cockatrice/src/replay_timeline_widget.cpp
-+++ b/cockatrice/src/replay_timeline_widget.cpp
-@@ -1,6 +1,7 @@
- #include "replay_timeline_widget.h"
- #include 
-+#include 
- #include 
- #include 
- #include 

diff --git a/games-board/cockatrice/files/use-ccache.patch 
b/games-board/cockatrice/files/use-ccache.patch
deleted file mode 100644
index 16deeaf0bb7..000
--- a/games-board/cockatrice/files/use-ccache.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 494501bbc88d30d9f1ceb6fb3fbd428eeb58ddee Mon Sep 17 00:00:00 2001
-From: James Le Cuirot 
-Date: Wed, 13 Mar 2019 22:18:45 +
-Subject: [PATCH] Add USE_CCACHE option to CMake so that ccache can be forcibly
- disabled
-

- CMakeLists.txt | 15 +--
- 1 file changed, 9 insertions(+), 6 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index cc39e77..59eec3d 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -25,12 +25,15 @@ ELSE()
- ENDIF()
- 
- # Early detect ccache
-+OPTION(USE_CCACHE "Cache the build results with ccache" ON)
-+if(USE_CCACHE)
- find_program(CCACHE_PROGRAM ccache)
- if(CCACHE_PROGRAM)
- # Support Unix Makefiles and Ninja
- set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")
- MESSAGE(STATUS "Found CCache ${CCACHE_PROGRAM}")
- endif()
-+endif()
- 
- # A project name is needed for CPack
- # Version can be overriden by git tags, see cmake/getversion.cmake
--- 
-2.20.1
-



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/files/

2024-01-20 Thread James Le Cuirot
commit: ad57df48cafcb1c8591a50ff1969cae990ccb4a0
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Jan 20 17:24:35 2024 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Jan 20 17:24:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad57df48

games-board/cockatrice: Extract patch that was accidentally added as a tar

Closes: https://bugs.gentoo.org/922539
Signed-off-by: James Le Cuirot  gentoo.org>

 .../files/cockatrice-2.9.0-support-protobuf-23.patch | Bin 10240 -> 4896 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git 
a/games-board/cockatrice/files/cockatrice-2.9.0-support-protobuf-23.patch 
b/games-board/cockatrice/files/cockatrice-2.9.0-support-protobuf-23.patch
index 72aca6614311..3bc205d10413 100644
Binary files 
a/games-board/cockatrice/files/cockatrice-2.9.0-support-protobuf-23.patch and 
b/games-board/cockatrice/files/cockatrice-2.9.0-support-protobuf-23.patch differ



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/files/, games-board/cockatrice/

2016-07-12 Thread Patrice Clement
commit: 0f7add0d551daf7d75718cc67b929f404ddede4e
Author: Guillaume Seren  gmail  com>
AuthorDate: Fri Jun 24 13:43:17 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Jul 12 17:03:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f7add0d

games-board/cockatrice: Clean old ebuild

* Remove old patches in files.
* Clean old ebuild in Manifest.

Closes: https://github.com/gentoo/gentoo/pull/1735

Signed-off-by: Patrice Clement  gentoo.org>

 games-board/cockatrice/Manifest|   1 -
 games-board/cockatrice/cockatrice-20120702.ebuild  |  73 ---
 .../files/cockatrice-20120702-build.patch  | 103 -
 .../files/cockatrice-20120702-underlinking.patch   |  29 --
 4 files changed, 206 deletions(-)

diff --git a/games-board/cockatrice/Manifest b/games-board/cockatrice/Manifest
index a0b0cc2..beec551 100644
--- a/games-board/cockatrice/Manifest
+++ b/games-board/cockatrice/Manifest
@@ -1,2 +1 @@
 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-20120702.ebuild 
b/games-board/cockatrice/cockatrice-20120702.ebuild
deleted file mode 100644
index 931419a..000
--- a/games-board/cockatrice/cockatrice-20120702.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# 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="http://cockatrice.de/";
-SRC_URI="http://cockatrice.de/files/${PN}_source_${PV}.tar.gz";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="dedicated server"
-
-DEPEND="
-   dev-libs/libgcrypt:0
-   dev-libs/protobuf
-   dev-qt/qtcore:4
-   dev-qt/qtsql:4
-   !dedicated? (
-   dev-qt/qtmultimedia:4
-   dev-qt/qtsvg:4
-   dev-qt/qtgui:4
-   )"
-RDEPEND=${DEPEND}
-
-S=${WORKDIR}/${PN}_${PV}
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-build.patch \
-   "${FILESDIR}"/${P}-underlinking.patch
-}
-
-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
-}

diff --git a/games-board/cockatrice/files/cockatrice-20120702-build.patch 
b/games-board/cockatrice/files/cockatrice-20120702-build.patch
deleted file mode 100644
index 6876fcd..000
--- a/games-board/cockatrice/files/cockatrice-20120702-build.patch
+++ /dev/null
@@ -1,103 +0,0 @@
-From: Julian Ospald 
-Date: Thu Aug  2 21:27:25 UTC 2012
-Subject: build system
-
-add install rule for cockatrice binary
-make paths for ICONDIR and DESKTOPDIR modifiable
-
 CMakeLists.txt
-+++ CMakeLists.txt
-@@ -8,7 +8,9 @@
-   add_subdirectory(oracle)
- endif(NOT WITHOUT_CLIENT)
- 
-+set(DATADIR "share/cockatrice" CACHE PATH "Data dir")
-+
- FILE(GLOB sounds "${CMAKE_CURRENT_SOURCE_DIR}/sounds/*.raw")
--INSTALL(FILES ${sounds} DESTINATION share/cockatrice/sounds)
-+INSTALL(FILES ${sounds} DESTINATION ${DATADIR}/sounds)
- FILE(GLOB zonebg "${CMAKE_CURRENT_SOURCE_DIR}/zonebg/*.*")
--INSTALL(FILES ${zonebg} DESTINATION share/cockatrice/zonebg)
-\ No newline at end of file
-+INSTALL(FILES ${zonebg} DESTINATION ${D

[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/files/, games-board/cockatrice/

2019-03-13 Thread James Le Cuirot
commit: 4c06333a40da1166407b071e2eebc712b2663c3d
Author: James Le Cuirot  gentoo  org>
AuthorDate: Wed Mar 13 22:44:04 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Wed Mar 13 22:44:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c06333a

games-board/cockatrice: Disable automagic use of ccache with a patch

This has been submitted upstream.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: James Le Cuirot  gentoo.org>

 games-board/cockatrice/cockatrice-20190304.ebuild |  5 
 games-board/cockatrice/files/use-ccache.patch | 33 +++
 2 files changed, 38 insertions(+)

diff --git a/games-board/cockatrice/cockatrice-20190304.ebuild 
b/games-board/cockatrice/cockatrice-20190304.ebuild
index bd8edfdaf6b..8d1cd205662 100644
--- a/games-board/cockatrice/cockatrice-20190304.ebuild
+++ b/games-board/cockatrice/cockatrice-20190304.ebuild
@@ -49,8 +49,13 @@ SHA1='294b433'
 
 S="${WORKDIR}/Cockatrice-${MY_PV}"
 
+PATCHES=(
+   "${FILESDIR}"/use-ccache.patch
+)
+
 src_configure() {
local mycmakeargs=(
+   -DUSE_CCACHE=OFF
-DWITH_CLIENT=$(usex client)
-DWITH_ORACLE=$(usex oracle)
-DWITH_SERVER=$(usex server)

diff --git a/games-board/cockatrice/files/use-ccache.patch 
b/games-board/cockatrice/files/use-ccache.patch
new file mode 100644
index 000..16deeaf0bb7
--- /dev/null
+++ b/games-board/cockatrice/files/use-ccache.patch
@@ -0,0 +1,33 @@
+From 494501bbc88d30d9f1ceb6fb3fbd428eeb58ddee Mon Sep 17 00:00:00 2001
+From: James Le Cuirot 
+Date: Wed, 13 Mar 2019 22:18:45 +
+Subject: [PATCH] Add USE_CCACHE option to CMake so that ccache can be forcibly
+ disabled
+
+---
+ CMakeLists.txt | 15 +--
+ 1 file changed, 9 insertions(+), 6 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index cc39e77..59eec3d 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -25,12 +25,15 @@ ELSE()
+ ENDIF()
+ 
+ # Early detect ccache
++OPTION(USE_CCACHE "Cache the build results with ccache" ON)
++if(USE_CCACHE)
+ find_program(CCACHE_PROGRAM ccache)
+ if(CCACHE_PROGRAM)
+ # Support Unix Makefiles and Ninja
+ set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")
+ MESSAGE(STATUS "Found CCache ${CCACHE_PROGRAM}")
+ endif()
++endif()
+ 
+ # A project name is needed for CPack
+ # Version can be overriden by git tags, see cmake/getversion.cmake
+-- 
+2.20.1
+



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/files/, games-board/cockatrice/

2020-06-21 Thread Andreas Sturmlechner
commit: a74631c7a568d0bde571713530dbc0da7bde363b
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Jun 21 11:16:53 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Jun 21 11:37:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a74631c7

games-board/cockatrice: Fix build with Qt 5.15

Closes: https://bugs.gentoo.org/726740
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 games-board/cockatrice/cockatrice-20190304-r1.ebuild |  8 +++-
 .../files/cockatrice-20190304-qt-5.15.patch  | 20 
 2 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/games-board/cockatrice/cockatrice-20190304-r1.ebuild 
b/games-board/cockatrice/cockatrice-20190304-r1.ebuild
index 39f89707cad..50792e3ce5f 100644
--- a/games-board/cockatrice/cockatrice-20190304-r1.ebuild
+++ b/games-board/cockatrice/cockatrice-20190304-r1.ebuild
@@ -17,23 +17,21 @@ IUSE="+client +oracle server"
 
 RDEPEND="
dev-qt/qtconcurrent:5
-   dev-qt/qtprintsupport:5
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5[ssl]
+   dev-qt/qtprintsupport:5
dev-qt/qtwebsockets:5
dev-qt/qtwidgets:5
client? (
dev-libs/protobuf:=
dev-qt/qtmultimedia:5
-   dev-qt/qtprintsupport:5
dev-qt/qtsvg:5
)
oracle? ( sys-libs/zlib )
server? (
dev-libs/protobuf:=
dev-qt/qtsql:5
-   dev-qt/qtwebsockets:5
)
 "
 BDEPEND="
@@ -41,8 +39,7 @@ BDEPEND="
client? ( dev-libs/protobuf )
server? ( dev-libs/protobuf )
 "
-DEPEND="${RDEPEND}
-"
+DEPEND="${RDEPEND}"
 
 # As the default help/about display the sha1 we need it
 SHA1='294b433'
@@ -51,6 +48,7 @@ S="${WORKDIR}/Cockatrice-${MY_PV}"
 
 PATCHES=(
"${FILESDIR}"/use-ccache.patch
+   "${FILESDIR}"/${P}-qt-5.15.patch
 )
 
 src_configure() {

diff --git a/games-board/cockatrice/files/cockatrice-20190304-qt-5.15.patch 
b/games-board/cockatrice/files/cockatrice-20190304-qt-5.15.patch
new file mode 100644
index 000..878a8d42824
--- /dev/null
+++ b/games-board/cockatrice/files/cockatrice-20190304-qt-5.15.patch
@@ -0,0 +1,20 @@
+From 7fa1936d0f4efffa16ae28d6bd3f9e727e207046 Mon Sep 17 00:00:00 2001
+From: ebbit1q 
+Date: Fri, 19 Jun 2020 16:50:09 +0200
+Subject: [PATCH] qt 5.15 compatibility (#4027)
+
+---
+ cockatrice/src/replay_timeline_widget.cpp  |  1 +
+ 27 files changed, 101 insertions(+), 39 deletions(-)
+
+diff --git a/cockatrice/src/replay_timeline_widget.cpp 
b/cockatrice/src/replay_timeline_widget.cpp
+index 6d04dce80..e79ad5f5c 100644
+--- a/cockatrice/src/replay_timeline_widget.cpp
 b/cockatrice/src/replay_timeline_widget.cpp
+@@ -1,6 +1,7 @@
+ #include "replay_timeline_widget.h"
+ #include 
++#include 
+ #include 
+ #include 
+ #include 



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/files/, games-board/cockatrice/

2023-12-17 Thread James Le Cuirot
commit: 751eda8a95ec16ce5d4947e339a19aed79542f5c
Author: Guillaume Seren  gmail  com>
AuthorDate: Sun Nov 26 19:53:23 2023 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sun Dec 17 21:36:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=751eda8a

games-board/cockatrice: Bump to 20230914

Closes: https://bugs.gentoo.org/918619
Closes: https://bugs.gentoo.org/739118
Closes: https://bugs.gentoo.org/843257
Closes: https://bugs.gentoo.org/912942
Signed-off-by: Guillaume Seren  gmail.com>
Signed-off-by: James Le Cuirot  gentoo.org>

 games-board/cockatrice/Manifest|   1 +
 games-board/cockatrice/cockatrice-20230914.ebuild  |  78 +
 .../cockatrice-2.9.0-support-protobuf-23.patch | Bin 0 -> 10240 bytes
 3 files changed, 79 insertions(+)

diff --git a/games-board/cockatrice/Manifest b/games-board/cockatrice/Manifest
index 4b942ce02363..53f083a1ae09 100644
--- a/games-board/cockatrice/Manifest
+++ b/games-board/cockatrice/Manifest
@@ -1 +1,2 @@
 DIST cockatrice-20210126.tar.gz 8589061 BLAKE2B 
f90840f2b6044ea364101410adc9481660a7247460f7191d6b022e447cc1685f28384a39596a3fbeaeb67f1af0cc184cf017f8e666e67e673672bc3968ac807a
 SHA512 
e07cdee72c8bf4755d49cac69bd6a2ddb4c168d370ed4a1cbd341537184869ee8680fbf5e9d6b636c7c6a8d00f474bae9cf245303d638b3aac8762f9fa8e
+DIST cockatrice-20230914.tar.gz 9295150 BLAKE2B 
b4dbe0ab8afb8871c63ca844dddcd540181a1cbfae3af3603f9677f6cbd871603527de8dc6ac148423457c227bcfd291c7db804607d1b8986dcb23138510eec6
 SHA512 
06841d1aabd14afef8d041e9c9eb1f157f9db1e8440d35b6092ffc68007599bf1b4185ec90e40074d562097d2230985087c4e9531b3e004eab221060c4076c57

diff --git a/games-board/cockatrice/cockatrice-20230914.ebuild 
b/games-board/cockatrice/cockatrice-20230914.ebuild
new file mode 100644
index ..b773cb63f5c1
--- /dev/null
+++ b/games-board/cockatrice/cockatrice-20230914.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg cmake optfeature
+
+MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}-Release-2.9.0"
+
+DESCRIPTION="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/refs/tags/${MY_PV}.tar.gz
 -> ${P}.tar.gz"
+S="${WORKDIR}/Cockatrice-${MY_PV}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+client +oracle test server"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   dev-libs/protobuf:=
+   dev-qt/qtcore:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtwidgets:5
+   client? (
+   dev-qt/qtconcurrent:5
+   dev-qt/qtgui:5
+   dev-qt/qtmultimedia:5
+   dev-qt/qtprintsupport:5
+   dev-qt/qtsvg:5
+   dev-qt/qtwebsockets:5
+   )
+   oracle? (
+   dev-qt/qtconcurrent:5
+   dev-qt/qtsvg:5
+   sys-libs/zlib
+   app-arch/xz-utils
+   )
+   server? (
+   dev-qt/qtsql:5
+   dev-qt/qtwebsockets:5
+   )"
+DEPEND="
+   ${RDEPEND}
+   test? ( dev-cpp/gtest )"
+BDEPEND="
+   dev-libs/protobuf:="
+
+PATCHES=(
+   "${FILESDIR}/${PN}-2.9.0-support-protobuf-23.patch"
+)
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=OFF # This is need because the default 
eclass breaks the build
+   -DUSE_CCACHE=OFF
+   -DWITH_CLIENT=$(usex client)
+   -DWITH_ORACLE=$(usex oracle)
+   -DWITH_SERVER=$(usex server)
+   -DTEST=$(usex test)
+   -DICONDIR="${EPREFIX}/usr/share/icons"
+   -DDESKTOPDIR="${EPREFIX}/usr/share/applications"
+   -DFORCE_USE_QT5=1
+   -DUPDATE_TRANSLATIONS=OFF
+   )
+
+   # Add date in the help about, come from git originally
+   sed -e 's/^set(PROJECT_VERSION_FRIENDLY.*/set(PROJECT_VERSION_FRIENDLY 
\"'${MY_PV}'\")/' \
+   -i cmake/getversion.cmake || die "sed failed!"
+
+   cmake_src_configure
+}
+
+pkg_postinst() {
+   xdg_pkg_postinst
+   optfeature "mysql/mariadb support" dev-db/mysql-connector-c
+}

diff --git 
a/games-board/cockatrice/files/cockatrice-2.9.0-support-protobuf-23.patch 
b/games-board/cockatrice/files/cockatrice-2.9.0-support-protobuf-23.patch
new file mode 100644
index ..72aca6614311
Binary files /dev/null and 
b/games-board/cockatrice/files/cockatrice-2.9.0-support-protobuf-23.patch differ



[gentoo-commits] repo/gentoo:master commit in: games-board/cockatrice/, dev-games/physfs/, games-util/lgogdownloader/, ...

2020-01-04 Thread Andreas Sturmlechner
commit: 7b39c6e5c4db51c5f45bb47a3e38d0da17ef95af
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Fri Jan  3 19:34:09 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Jan  4 09:37:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b39c6e5

*/*: Switch games proj to cmake.eclass

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../openscenegraph-qt-3.5.7.ebuild |  6 +-
 .../openscenegraph/openscenegraph-3.6.4.ebuild | 64 +++---
 dev-games/physfs/physfs-3.0.2.ebuild   |  7 ++-
 dev-games/physfs/physfs-.ebuild|  7 ++-
 games-action/abuse/abuse-0.9_p20181213-r1.ebuild   |  8 +--
 games-action/lugaru/lugaru-20151204-r1.ebuild  |  6 +-
 games-action/supertuxkart/supertuxkart-1.0.ebuild  |  8 +--
 games-action/violetland/violetland-0.5.ebuild  |  8 +--
 .../commandergenius/commandergenius-2.3.3.ebuild   |  6 +-
 .../slimevolley/slimevolley-2.4.2-r1.ebuild|  5 +-
 games-arcade/supertux/supertux-0.6.0.ebuild|  6 +-
 games-arcade/supertux/supertux-0.6.1.1.ebuild  |  6 +-
 .../cockatrice/cockatrice-20190304-r1.ebuild   |  4 +-
 games-emulation/hatari/hatari-2.2.1.ebuild |  8 +--
 games-emulation/vbam/vbam-2.1.4.ebuild |  6 +-
 games-emulation/vbam/vbam-.ebuild  |  6 +-
 games-engines/openmw/openmw-0.45.0.ebuild  | 12 ++--
 games-fps/doomsday/doomsday-2.1.1.ebuild   |  8 +--
 games-puzzle/pingus/pingus-.ebuild |  4 +-
 games-roguelike/moria/moria-5.7.10.ebuild  |  4 +-
 games-strategy/hedgewars/hedgewars-1.0.0-r1.ebuild |  6 +-
 games-strategy/wesnoth/wesnoth-1.14.7.ebuild   | 10 ++--
 games-strategy/wesnoth/wesnoth-1.14.9.ebuild   |  9 ++-
 games-strategy/wesnoth/wesnoth-1.15.2.ebuild   |  9 ++-
 games-strategy/widelands/widelands-0.20.ebuild |  8 +--
 games-strategy/widelands/widelands-0.20_rc1.ebuild |  8 +--
 .../lgogdownloader/lgogdownloader-3.5.ebuild   |  6 +-
 .../lgogdownloader/lgogdownloader-.ebuild  |  6 +-
 games-util/qjoypad/qjoypad-4.3.1.ebuild|  4 +-
 .../libopenglrecorder-0.1.0.ebuild |  2 +-
 30 files changed, 128 insertions(+), 129 deletions(-)

diff --git a/dev-games/openscenegraph-qt/openscenegraph-qt-3.5.7.ebuild 
b/dev-games/openscenegraph-qt/openscenegraph-qt-3.5.7.ebuild
index 1a1be79e419..fd7f48f62db 100644
--- a/dev-games/openscenegraph-qt/openscenegraph-qt-3.5.7.ebuild
+++ b/dev-games/openscenegraph-qt/openscenegraph-qt-3.5.7.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 MY_PN="osgQt"
 MY_P=${MY_PN}-${PV}
-inherit cmake-utils
+inherit cmake
 
 DESCRIPTION="Qt support for OpenSceneGraph"
 HOMEPAGE="http://www.openscenegraph.org/";
@@ -41,8 +41,8 @@ src_configure() {
-DDYNAMIC_OPENSCENEGRAPH=ON
-DDESIRED_QT_VERSION=5
-DBUILD_OSG_EXAMPLES=$(usex examples)
-   $(cmake-utils_use_find_package webkit Qt5WebKitWidgets)
+   $(cmake_use_find_package webkit Qt5WebKitWidgets)
)
 
-   cmake-utils_src_configure
+   cmake_src_configure
 }

diff --git a/dev-games/openscenegraph/openscenegraph-3.6.4.ebuild 
b/dev-games/openscenegraph/openscenegraph-3.6.4.ebuild
index 1f0f59ca8e4..1e0f1b579dc 100644
--- a/dev-games/openscenegraph/openscenegraph-3.6.4.ebuild
+++ b/dev-games/openscenegraph/openscenegraph-3.6.4.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 MY_PN="OpenSceneGraph"
 MY_P=${MY_PN}-${PV}
 WX_GTK_VER="3.0"
-inherit cmake-utils flag-o-matic wxwidgets
+inherit cmake flag-o-matic wxwidgets
 
 DESCRIPTION="Open source high performance 3D graphics toolkit"
 HOMEPAGE="http://www.openscenegraph.org/";
@@ -101,51 +101,51 @@ src_configure() {
-DOSG_ENVVAR_SUPPORTED=ON
-DOSG_PROVIDE_READFILE=ON
-DOSG_USE_LOCAL_LUA_SOURCE=OFF
-   $(cmake-utils_use_find_package asio Asio)
-   $(cmake-utils_use_find_package curl CURL)
+   $(cmake_use_find_package asio Asio)
+   $(cmake_use_find_package curl CURL)
-DBUILD_DOCUMENTATION=$(usex doc)
-   $(cmake-utils_use_find_package dicom DCMTK)
-   $(cmake-utils_use_find_package egl EGL)
+   $(cmake_use_find_package dicom DCMTK)
+   $(cmake_use_find_package egl EGL)
-DBUILD_OSG_EXAMPLES=$(usex examples)
-   $(cmake-utils_use_find_package ffmpeg FFmpeg)
-   $(cmake-utils_use_find_package gdal GDAL)
-   $(cmake-utils_use_find_package gif GIFLIB)
-   $(cmake-utils_use_find_package gstreamer GLIB)
-   $(cmake-utils_use_find_package gstreamer GStreamer)
-   $(cmake-utils_use_find_package gtk GtkGl)
-   $(cmake-utils_use_find_package jpeg JPEG)
+   $(cmake_use_find_package ffmpeg FFmpeg)
+   $(cmake_use_find_package gdal GDAL)
+   $(cmake_us