public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-board/chessx/, games-board/chessx/files/
@ 2016-05-16 19:23 Michael Sterrett
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Sterrett @ 2016-05-16 19:23 UTC (permalink / raw
  To: gentoo-commits

commit:     e74a4d3c37a99f2743e2b59a71725fef40f5ebc7
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Mon May 16 19:23:10 2016 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Mon May 16 19:23:27 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e74a4d3c

games-board/chessx: version bump

Package-Manager: portage-2.2.28

 games-board/chessx/Manifest                      |  1 +
 games-board/chessx/chessx-1.4.0.ebuild           | 42 ++++++++++++++++++++++++
 games-board/chessx/files/chessx-1.4.0-zlib.patch | 35 ++++++++++++++++++++
 3 files changed, 78 insertions(+)

diff --git a/games-board/chessx/Manifest b/games-board/chessx/Manifest
index b9ac417..0b05449 100644
--- a/games-board/chessx/Manifest
+++ b/games-board/chessx/Manifest
@@ -1 +1,2 @@
 DIST chessx-1.3.2.tgz 4107133 SHA256 b136cf56d37d34867cdb9538176e1703b14f61b3384885b6f100580d0af0a3ff SHA512 a8047b240e793323876615c9d83711a2b28a3855f4e0be9a1823d6a86f9d5155d001c9e44c9ddc2d2da5b87d6c4f2583cfcb49ed96aa7341dca2dceaec6f4e8f WHIRLPOOL 2fcc8dc2f89457b4a7f55cadf70e6b0c4267215e916f0acbaf85135c5240bc34bce207f4e697be7a69c3f0bcab721d0c12c15f4bf07841fc0dcf65e0ce16fefd
+DIST chessx-1.4.0.tgz 4128967 SHA256 e4287235904810a0a1b2cdec3dc33fbc30aa0657c7b7343bd2130bd9626220f4 SHA512 24e3fc60cdddb8a0136f96d6aa07d92e443264ade513be88a8c2eeb2717e04739a9b5963a3536a77aa499a1288c6cd9b8dddb312aae3087979d740f8528ec855 WHIRLPOOL 50cc7b6e6f0aad1dfa12b866171a4e7ce526bc54c77b4b950ab1755d63b584d29def87cef1bab341436f57e8c6818d14181ca5a91d6d050aa33415212028061e

diff --git a/games-board/chessx/chessx-1.4.0.ebuild b/games-board/chessx/chessx-1.4.0.ebuild
new file mode 100644
index 0000000..ad3f6f2
--- /dev/null
+++ b/games-board/chessx/chessx-1.4.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils qmake-utils games
+
+DESCRIPTION="Qt5-based Chess Database Utility"
+HOMEPAGE="http://chessx.sourceforge.net/"
+SRC_URI="http://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/qtprintsupport:5
+	dev-qt/qtsvg:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtmultimedia:5
+	dev-qt/qtxml:5
+	sys-libs/zlib"
+DEPEND="${RDEPEND}
+	dev-qt/linguist-tools:5"
+
+src_prepare() {
+	epatch "${FILESDIR}"/${P}-zlib.patch
+}
+
+src_configure() {
+	eqmake5
+}
+
+src_install() {
+	dogamesbin release/${PN}
+	dodoc ChangeLog TODO
+	doicon data/images/${PN}.png
+	domenu unix/chessx.desktop
+	prepgamesdirs
+}

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 0000000..36d685d
--- /dev/null
+++ b/games-board/chessx/files/chessx-1.4.0-zlib.patch
@@ -0,0 +1,35 @@
+--- chessx-1.2.2/src/quazip/ioapi.h
++++ chessx-1.2.2-patched/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
+ 
+--- chessx-1.2.2/src/quazip/unzip.c
++++ chessx-1.2.2-patched/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
+ 
+--- chessx-1.2.2/src/quazip/unzip.h
++++ chessx-1.2.2-patched/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
+ 
+--- chessx-1.2.2/src/quazip/zip.c
++++ chessx-1.2.2-patched/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
+ 
+--- chessx-1.2.2/src/quazip/zip.h
++++ chessx-1.2.2-patched/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
+ 


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/chessx/, games-board/chessx/files/
@ 2018-07-14 14:57 Andreas Sturmlechner
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2018-07-14 14:57 UTC (permalink / raw
  To: gentoo-commits

commit:     03abcdd2fdabe81f0d54e156134c8b1c498aaa80
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 14 14:42:58 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jul 14 14:55:52 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03abcdd2

games-board/chessx: 1.4.6 version bump, build with Qt-5.11, fix l10n

Closes: https://bugs.gentoo.org/660536
Package-Manager: Portage-2.3.41, Repoman-2.3.9

 games-board/chessx/Manifest                        |  1 +
 games-board/chessx/chessx-1.4.6.ebuild             | 49 ++++++++++++++++++++++
 games-board/chessx/files/chessx-1.4.0-zlib.patch   | 20 ++++-----
 .../chessx/files/chessx-1.4.6-qt-5.11.patch        | 44 +++++++++++++++++++
 4 files changed, 104 insertions(+), 10 deletions(-)

diff --git a/games-board/chessx/Manifest b/games-board/chessx/Manifest
index a169c1ad7e4..b0eb72d3e1c 100644
--- a/games-board/chessx/Manifest
+++ b/games-board/chessx/Manifest
@@ -1 +1,2 @@
 DIST chessx-1.4.0.tgz 4128967 BLAKE2B 651a83a280ac2766da8f265c59d7f9014d0a7e6988d0ab981e2d9b962ce8ed8e878322d4bca536c156bf4b145e19c661fb68bb8bd7bda7872bc6ac95dc2736e4 SHA512 24e3fc60cdddb8a0136f96d6aa07d92e443264ade513be88a8c2eeb2717e04739a9b5963a3536a77aa499a1288c6cd9b8dddb312aae3087979d740f8528ec855
+DIST chessx-1.4.6.tgz 4223076 BLAKE2B 783ffe0a7396239066870dedcaa4b2b0c491db4f16871afe66bae7a82339916a8a574401499916fc63cf62478efb9b89c30ec85a7aa7c6d002d1119f1a6b23ef SHA512 cfa74e6423e1a2f9bca319e20645ddf8c8df6b46b64493777ca1cc93037e3f7cfc200f99a29236f7c5925448676c312abf34d395e795e7db6ef8a0832c3a523e

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 00000000000..87b4a82b974
--- /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
index 36d685d9cba..fe6bfb39d50 100644
--- a/games-board/chessx/files/chessx-1.4.0-zlib.patch
+++ b/games-board/chessx/files/chessx-1.4.0-zlib.patch
@@ -1,33 +1,33 @@
---- chessx-1.2.2/src/quazip/ioapi.h
-+++ chessx-1.2.2-patched/src/quazip/ioapi.h
+--- 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
  
---- chessx-1.2.2/src/quazip/unzip.c
-+++ chessx-1.2.2-patched/src/quazip/unzip.c
+--- 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
  
---- chessx-1.2.2/src/quazip/unzip.h
-+++ chessx-1.2.2-patched/src/quazip/unzip.h
+--- 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
  
---- chessx-1.2.2/src/quazip/zip.c
-+++ chessx-1.2.2-patched/src/quazip/zip.c
+--- 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
  
---- chessx-1.2.2/src/quazip/zip.h
-+++ chessx-1.2.2-patched/src/quazip/zip.h
+--- 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

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 00000000000..379de8836b9
--- /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__ )


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/chessx/, games-board/chessx/files/
@ 2020-07-13  0:30 Andreas Sturmlechner
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2020-07-13  0:30 UTC (permalink / raw
  To: gentoo-commits

commit:     141b85489e71d165f5d9221bbc27741e159e1f42
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 10 16:58:35 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jul 13 00:29:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=141b8548

games-board/chessx: 1.5.4 version bump

Depending on >=dev-libs/quazip-0.9.1 is necessary as the first version
to ship an (albeit patched) working pkgconfig.

Closes: https://bugs.gentoo.org/684690
Closes: https://bugs.gentoo.org/731972
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 games-board/chessx/Manifest                        |  1 +
 games-board/chessx/chessx-1.5.4.ebuild             | 48 ++++++++++++++
 .../chessx/files/chessx-1.5.4-system-quazip.patch  | 73 ++++++++++++++++++++++
 3 files changed, 122 insertions(+)

diff --git a/games-board/chessx/Manifest b/games-board/chessx/Manifest
index a492b6e5e80..9c9e1d420fe 100644
--- a/games-board/chessx/Manifest
+++ b/games-board/chessx/Manifest
@@ -1 +1,2 @@
 DIST chessx-1.4.6.tgz 4223076 BLAKE2B 783ffe0a7396239066870dedcaa4b2b0c491db4f16871afe66bae7a82339916a8a574401499916fc63cf62478efb9b89c30ec85a7aa7c6d002d1119f1a6b23ef SHA512 cfa74e6423e1a2f9bca319e20645ddf8c8df6b46b64493777ca1cc93037e3f7cfc200f99a29236f7c5925448676c312abf34d395e795e7db6ef8a0832c3a523e
+DIST chessx-1.5.4.tgz 3663299 BLAKE2B 3a0f222d2c122e70f66600f15a2b9a9606e56407db364a616515ebc1b7f333e260c131e61e22f59fb3cbd340555bb8c238bfd560fbc23f4c173288cd4b7e7369 SHA512 9f112b185ed8af3690cb50eafead7dfbd7896d3baebc9b10c3d32103a51cc49834703c232c159dffe24fd09601f2b41db02598c435ca56fc1031195fb9762a42

diff --git a/games-board/chessx/chessx-1.5.4.ebuild b/games-board/chessx/chessx-1.5.4.ebuild
new file mode 100644
index 00000000000..3df40ee6d51
--- /dev/null
+++ b/games-board/chessx/chessx-1.5.4.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop qmake-utils xdg
+
+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-libs/quazip-0.9.1
+	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/qtconcurrent:5
+"
+BDEPEND="
+	dev-qt/linguist-tools:5
+	virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}"/${P}-system-quazip.patch )
+
+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.5.4-system-quazip.patch b/games-board/chessx/files/chessx-1.5.4-system-quazip.patch
new file mode 100644
index 00000000000..b5e4cf8f435
--- /dev/null
+++ b/games-board/chessx/files/chessx-1.5.4-system-quazip.patch
@@ -0,0 +1,73 @@
+Index: chessx.pro
+===================================================================
+--- a/chessx.pro
++++ b/chessx.pro
+@@ -39,7 +39,6 @@ static { # Everything below takes effect
+     message("Static build.")
+ }
+ 
+-DEFINES += QUAZIP_STATIC
+ DEFINES += QT_NO_CAST_TO_ASCII
+ DEFINES *= QT_USE_QSTRINGBUILDER
+ 
+@@ -156,22 +155,6 @@ HEADERS += src/database/board.h \
+     src/gui/engineoptionlist.h \
+     src/gui/helpbrowser.h \
+     src/database/downloadmanager.h \
+-    src/quazip/zip.h \
+-    src/quazip/unzip.h \
+-    src/quazip/quazipnewinfo.h \
+-    src/quazip/quazipfileinfo.h \
+-    src/quazip/quazipfile.h \
+-    src/quazip/quazipdir.h \
+-    src/quazip/quazip.h \
+-    src/quazip/quazip_global.h \
+-    src/quazip/quaziodevice.h \
+-    src/quazip/quagzipfile.h \
+-    src/quazip/quacrc32.h \
+-    src/quazip/quachecksum32.h \
+-    src/quazip/quaadler32.h \
+-    src/quazip/JlCompress.h \
+-    src/quazip/ioapi.h \
+-    src/quazip/crypt.h \
+     src/gui/toolmainwindow.h \
+     src/gui/playerlistwidget.h \
+     src/gui/qled.h \
+@@ -321,16 +304,6 @@ SOURCES += src/database/board.cpp \
+     src/gui/engineoptionlist.cpp \
+     src/gui/helpbrowser.cpp \
+     src/database/downloadmanager.cpp \
+-    src/quazip/quazipnewinfo.cpp \
+-    src/quazip/quazipfile.cpp \
+-    src/quazip/quazipdir.cpp \
+-    src/quazip/quazip.cpp \
+-    src/quazip/quaziodevice.cpp \
+-    src/quazip/quagzipfile.cpp \
+-    src/quazip/quacrc32.cpp \
+-    src/quazip/quaadler32.cpp \
+-    src/quazip/qioapi.cpp \
+-    src/quazip/JlCompress.cpp \
+     src/gui/toolmainwindow.cpp \
+     src/gui/playerlistwidget.cpp \
+     src/gui/qled.cpp \
+@@ -401,8 +374,6 @@ SOURCES += src/database/board.cpp \
+     src/gui/historylabel.cpp \
+     src/database/streamdatabase.cpp \
+     src/database/refcount.cpp \
+-    src/quazip/unzip.cpp \
+-    src/quazip/zip.cpp \
+     src/database/arenabook.cpp \
+     src/gui/gamelistsortmodel.cpp \
+     src/gui/listwidgetex.cpp
+@@ -412,8 +383,9 @@ INCLUDEPATH += src/database
+ INCLUDEPATH += src/guess
+ INCLUDEPATH += src/gui
+ INCLUDEPATH += src/dialogs
+-INCLUDEPATH += src/quazip
+-INCLUDEPATH += $$[QT_INSTALL_PREFIX]/src/3rdparty/zlib
++
++CONFIG += link_pkgconfig
++PKGCONFIG += quazip
+ 
+ win32 {
+     # DEFINES += ZLIB_WINAPI


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/chessx/, games-board/chessx/files/
@ 2020-07-13  0:30 Andreas Sturmlechner
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2020-07-13  0:30 UTC (permalink / raw
  To: gentoo-commits

commit:     d6b8a521a79d1bcd0496377078e16a0fe382b02b
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 12 23:48:16 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jul 13 00:29:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6b8a521

games-board/chessx: Add missing install to qmake build system

Thanks to openSUSE for the patch.

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 games-board/chessx/chessx-1.5.4.ebuild             |  7 +++---
 .../chessx/files/chessx-1.5.4-install.patch        | 27 ++++++++++++++++++++++
 2 files changed, 30 insertions(+), 4 deletions(-)

diff --git a/games-board/chessx/chessx-1.5.4.ebuild b/games-board/chessx/chessx-1.5.4.ebuild
index d97f0eac6a8..e0d0825a1ae 100644
--- a/games-board/chessx/chessx-1.5.4.ebuild
+++ b/games-board/chessx/chessx-1.5.4.ebuild
@@ -37,6 +37,7 @@ BDEPEND="
 PATCHES=(
 	"${FILESDIR}"/${P}-system-quazip.patch
 	"${FILESDIR}"/${P}-missing-translations.patch
+	"${FILESDIR}"/${P}-install.patch
 )
 
 src_configure() {
@@ -44,8 +45,6 @@ src_configure() {
 }
 
 src_install() {
-	dobin release/${PN}
-	dodoc ChangeLog TODO
-	doicon data/images/${PN}.png
-	domenu unix/chessx.desktop
+	emake INSTALL_ROOT="${D}" install
+	einstalldocs
 }

diff --git a/games-board/chessx/files/chessx-1.5.4-install.patch b/games-board/chessx/files/chessx-1.5.4-install.patch
new file mode 100644
index 00000000000..c017b3ea153
--- /dev/null
+++ b/games-board/chessx/files/chessx-1.5.4-install.patch
@@ -0,0 +1,27 @@
+Index: chessx-1.5.4/chessx.pro
+===================================================================
+--- chessx-1.5.4.orig/chessx.pro
++++ chessx-1.5.4/chessx.pro
+@@ -546,6 +546,22 @@ macx {
+     data/timeseal/mac/timeseal
+ }
+ 
++unix:!macx {
++  isEmpty(PREFIX) {
++    PREFIX = /usr
++  }
++  target.path = $$PREFIX/bin
++  desktop.path = $$PREFIX/share/applications
++  desktop.files = unix/chessx.desktop
++  icon.path = $$PREFIX/share/pixmaps
++  icon.files = data/images/chessx.png
++  data.path = $$PREFIX/share/chessx
++  data.files = data
++  lang.path = $$PREFIX/share/chessx/data/lang
++  lang.files = i18n/*.qm
++  INSTALLS += target desktop icon data lang
++}
++
+ win32 {
+   OTHER_FILES += \
+     src/chessx.rc \


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-13  0:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-16 19:23 [gentoo-commits] repo/gentoo:master commit in: games-board/chessx/, games-board/chessx/files/ Michael Sterrett
  -- strict thread matches above, loose matches on Subject: below --
2018-07-14 14:57 Andreas Sturmlechner
2020-07-13  0:30 Andreas Sturmlechner
2020-07-13  0:30 Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox