commit: f7744d04b257946e452e24fe0fd0cd23e38d6878
Author: Andreas Sturmlechner gentoo org>
AuthorDate: Sun Jul 12 23:40:51 2020 +
Commit: Andreas Sturmlechner gentoo org>
CommitDate: Mon Jul 13 00:29:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7744d04
games-board/chessx: Fix build failure caused by missing translations
Thanks to openSUSE for the patch.
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner gentoo.org>
games-board/chessx/chessx-1.5.4.ebuild | 5 -
.../files/chessx-1.5.4-missing-translations.patch | 24 ++
2 files changed, 28 insertions(+), 1 deletion(-)
diff --git a/games-board/chessx/chessx-1.5.4.ebuild
b/games-board/chessx/chessx-1.5.4.ebuild
index 3df40ee6d51..d97f0eac6a8 100644
--- a/games-board/chessx/chessx-1.5.4.ebuild
+++ b/games-board/chessx/chessx-1.5.4.ebuild
@@ -34,7 +34,10 @@ BDEPEND="
virtual/pkgconfig
"
-PATCHES=( "${FILESDIR}"/${P}-system-quazip.patch )
+PATCHES=(
+ "${FILESDIR}"/${P}-system-quazip.patch
+ "${FILESDIR}"/${P}-missing-translations.patch
+)
src_configure() {
eqmake5
diff --git a/games-board/chessx/files/chessx-1.5.4-missing-translations.patch
b/games-board/chessx/files/chessx-1.5.4-missing-translations.patch
new file mode 100644
index 000..7c874e16508
--- /dev/null
+++ b/games-board/chessx/files/chessx-1.5.4-missing-translations.patch
@@ -0,0 +1,24 @@
+Index: resources.qrc
+===
+--- a/resources.qrc
b/resources.qrc
+@@ -12,11 +12,7 @@
+ data/help/about4.html
+ data/help/about5.html
+ data/help/about6.html
+-i18n/chessx_da.qm
+ i18n/chessx_de.qm
+-i18n/chessx_fr.qm
+-i18n/chessx_it.qm
+-i18n/chessx_cz.qm
+ data/images/accept.png
+ data/images/annotate.png
+ data/images/arrow_green.png
+@@ -180,7 +176,6 @@
+ data/themes/shadow/leipzig.png
+ data/themes/shadow/merida.png
+ data/themes/shadow/spatial.png
+-i18n/chessx_ru.qm
+ data/images/threat_black.png
+ data/images/threat_white.png
+ data/images/black_wall.png