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/chessx | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-board/chessx')
-rw-r--r-- | games-board/chessx/Manifest | 5 | ||||
-rw-r--r-- | games-board/chessx/chessx-1.4.6.ebuild | 49 | ||||
-rw-r--r-- | games-board/chessx/files/chessx-1.4.0-zlib.patch | 35 | ||||
-rw-r--r-- | games-board/chessx/files/chessx-1.4.6-qt-5.11.patch | 44 | ||||
-rw-r--r-- | games-board/chessx/metadata.xml | 11 |
5 files changed, 144 insertions, 0 deletions
diff --git a/games-board/chessx/Manifest b/games-board/chessx/Manifest new file mode 100644 index 000000000000..0bf9dd4cd84d --- /dev/null +++ b/games-board/chessx/Manifest @@ -0,0 +1,5 @@ +AUX chessx-1.4.0-zlib.patch 883 BLAKE2B c03baa883587aac6f8abd6453f011387c772217aad235717b64d31eb97e828c9b7d868c72046c9148850c59b4d1d540b106ceb9f826b451e464c61bb44bba6d9 SHA512 326efb6ab3cca94849a1a89b2c51a18f2a6cb51d38cc11fd59e8d443034350851ffaf28412ba57a53a961900eaee4661b0035d8e7cbab2a1e99ea67eb4e2f2cf +AUX chessx-1.4.6-qt-5.11.patch 1466 BLAKE2B b8b6fbe49be0f361fd0b19f53b55d75354813e65e286d0b031680f769c284d15d930b3fd5aeffefdae3e406ad4971742d378e04c38f7f249200fbe947a29520e SHA512 eeddea13a179b51f618f68a0505cdae6e3c0614f2c24ab01942df7b7f260e146cdbb1c7dae1efc8dbc9a70aebf11d664a9a9d5c3a0562267c8b9633a05702a1a +DIST chessx-1.4.6.tgz 4223076 BLAKE2B 783ffe0a7396239066870dedcaa4b2b0c491db4f16871afe66bae7a82339916a8a574401499916fc63cf62478efb9b89c30ec85a7aa7c6d002d1119f1a6b23ef SHA512 cfa74e6423e1a2f9bca319e20645ddf8c8df6b46b64493777ca1cc93037e3f7cfc200f99a29236f7c5925448676c312abf34d395e795e7db6ef8a0832c3a523e +EBUILD chessx-1.4.6.ebuild 927 BLAKE2B 3d1c8b359efe44451de7200c7b3ef77ec73a334839b3e412681598c6ca082a71cdea3af70c436aad92e84b54bb7d59c435594961486006f104ab79137e5fdcd2 SHA512 c5fbe061d17e9ea7956931262d68560f376c8a1df887b4d9f4e0022815510c9a2cbb14b297d63382aed9de58f840cbfeaca7121de873e454eece139d91594b42 +MISC metadata.xml 329 BLAKE2B 199a6f1de51ae4a4a1104bbd4419200e7440abafe3fc5dfe40eafc08c00449461c71131cfdf1d60a0b8375f575290bbdd0af6355ae10a9259c38728e3065e6cf SHA512 41215eff9af3f31175db0f20dd13574378e4124dda8a1670440897391a5b66423c953471d6e22984dbfb3e0abef8ea3d56fa3690b45c189fae2a3c26560ec1a8 diff --git a/games-board/chessx/chessx-1.4.6.ebuild b/games-board/chessx/chessx-1.4.6.ebuild new file mode 100644 index 000000000000..87b4a82b974f --- /dev/null +++ b/games-board/chessx/chessx-1.4.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop qmake-utils + +DESCRIPTION="Qt5-based Chess Database Utility" +HOMEPAGE="http://chessx.sourceforge.net/" +SRC_URI="https://sourceforge.net/projects/chessx/files/chessx/${PV}/${P}.tgz" + +LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+ ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + sys-libs/zlib:=" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5" + +PATCHES=( + "${FILESDIR}"/${PN}-1.4.0-zlib.patch + "${FILESDIR}"/${P}-qt-5.11.patch +) + +src_prepare() { + default + "$(qt5_get_bindir)/lrelease" i18n/* || die +} + +src_configure() { + eqmake5 +} + +src_install() { + dobin release/${PN} + dodoc ChangeLog TODO + doicon data/images/${PN}.png + domenu unix/chessx.desktop +} diff --git a/games-board/chessx/files/chessx-1.4.0-zlib.patch b/games-board/chessx/files/chessx-1.4.0-zlib.patch new file mode 100644 index 000000000000..fe6bfb39d508 --- /dev/null +++ b/games-board/chessx/files/chessx-1.4.0-zlib.patch @@ -0,0 +1,35 @@ +--- a/src/quazip/ioapi.h ++++ b/src/quazip/ioapi.h +@@ -1,3 +1,4 @@ ++#define OF(x) x + /* ioapi.h -- IO base function header for compress/uncompress .zip + files using zlib + zip or unzip API + +--- a/src/quazip/unzip.c ++++ b/src/quazip/unzip.c +@@ -1,3 +1,4 @@ ++#define OF(x) x + /* unzip.c -- IO for uncompress .zip files using zlib + Version 1.01e, February 12th, 2005 + +--- a/src/quazip/unzip.h ++++ b/src/quazip/unzip.h +@@ -1,3 +1,4 @@ ++#define OF(x) x + /* unzip.h -- IO for uncompress .zip files using zlib + Version 1.01e, February 12th, 2005 + +--- a/src/quazip/zip.c ++++ b/src/quazip/zip.c +@@ -1,3 +1,4 @@ ++#define OF(x) x + /* zip.c -- IO on .zip files using zlib + Version 1.01e, February 12th, 2005 + +--- a/src/quazip/zip.h ++++ b/src/quazip/zip.h +@@ -1,3 +1,4 @@ ++#define OF(x) x + /* zip.h -- IO for compress .zip files using zlib + Version 1.01e, February 12th, 2005 + diff --git a/games-board/chessx/files/chessx-1.4.6-qt-5.11.patch b/games-board/chessx/files/chessx-1.4.6-qt-5.11.patch new file mode 100644 index 000000000000..379de8836b94 --- /dev/null +++ b/games-board/chessx/files/chessx-1.4.6-qt-5.11.patch @@ -0,0 +1,44 @@ +From: Luigi Baldoni <aloisio@gmx.com> +Date: 2018-06-18 13:16:31 +0200 +Subject: Add missing include statements +References: https://sourceforge.net/p/chessx/bugs/254 +Upstream: submitted + +A few explicit include statements are required with Qt 5.11 +--- +Index: chessx-1.4.6/src/gui/gamewindow.cpp +=================================================================== +--- chessx-1.4.6.orig/src/gui/gamewindow.cpp ++++ chessx-1.4.6/src/gui/gamewindow.cpp +@@ -9,6 +9,7 @@ + #include "settings.h" + + #include <QToolButton> ++#include <QAction> + + #if defined(_MSC_VER) && defined(_DEBUG) + #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ ) +Index: chessx-1.4.6/src/dialogs/savedialog.cpp +=================================================================== +--- chessx-1.4.6.orig/src/dialogs/savedialog.cpp ++++ chessx-1.4.6/src/dialogs/savedialog.cpp +@@ -24,6 +24,7 @@ + + #include <QLineEdit> + #include <QCompleter> ++#include <QButtonGroup> + + #if defined(_MSC_VER) && defined(_DEBUG) + #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ ) +Index: chessx-1.4.6/src/dialogs/preferences.cpp +=================================================================== +--- chessx-1.4.6.orig/src/dialogs/preferences.cpp ++++ chessx-1.4.6/src/dialogs/preferences.cpp +@@ -33,6 +33,7 @@ + #include <QFileDialog> + #include <QDesktopServices> + #include <QTextStream> ++#include <QAction> + + #if defined(_MSC_VER) && defined(_DEBUG) + #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ ) diff --git a/games-board/chessx/metadata.xml b/games-board/chessx/metadata.xml new file mode 100644 index 000000000000..c641094b989e --- /dev/null +++ b/games-board/chessx/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <remote-id type="sourceforge">chessx</remote-id> + </upstream> +</pkgmetadata> |