summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-07-13 01:40:51 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-07-13 02:29:09 +0200
commitf7744d04b257946e452e24fe0fd0cd23e38d6878 (patch)
tree4d20c95c1a7399f50e91f390acb394e0993ec2ec /games-board
parentgames-board/chessx: 1.5.4 version bump (diff)
downloadgentoo-f7744d04b257946e452e24fe0fd0cd23e38d6878.tar.gz
gentoo-f7744d04b257946e452e24fe0fd0cd23e38d6878.tar.bz2
gentoo-f7744d04b257946e452e24fe0fd0cd23e38d6878.zip
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 <asturm@gentoo.org>
Diffstat (limited to 'games-board')
-rw-r--r--games-board/chessx/chessx-1.5.4.ebuild5
-rw-r--r--games-board/chessx/files/chessx-1.5.4-missing-translations.patch24
2 files changed, 28 insertions, 1 deletions
diff --git a/games-board/chessx/chessx-1.5.4.ebuild b/games-board/chessx/chessx-1.5.4.ebuild
index 3df40ee6d514..d97f0eac6a87 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 000000000000..7c874e16508b
--- /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 @@
+ <file alias="help/about4.html">data/help/about4.html</file>
+ <file alias="help/about5.html">data/help/about5.html</file>
+ <file alias="help/about6.html">data/help/about6.html</file>
+- <file alias="i18n/chessx_da.qm">i18n/chessx_da.qm</file>
+ <file alias="i18n/chessx_de.qm">i18n/chessx_de.qm</file>
+- <file alias="i18n/chessx_fr.qm">i18n/chessx_fr.qm</file>
+- <file alias="i18n/chessx_it.qm">i18n/chessx_it.qm</file>
+- <file alias="i18n/chessx_cz.qm">i18n/chessx_cz.qm</file>
+ <file alias="images/accept.png">data/images/accept.png</file>
+ <file alias="images/annotate.png">data/images/annotate.png</file>
+ <file alias="images/arrow_green.png">data/images/arrow_green.png</file>
+@@ -180,7 +176,6 @@
+ <file alias="themes/shadow/leipzig.png">data/themes/shadow/leipzig.png</file>
+ <file alias="themes/shadow/merida.png">data/themes/shadow/merida.png</file>
+ <file alias="themes/shadow/spatial.png">data/themes/shadow/spatial.png</file>
+- <file alias="i18n/chessx_ru.qm">i18n/chessx_ru.qm</file>
+ <file alias="images/threat_black.png">data/images/threat_black.png</file>
+ <file alias="images/threat_white.png">data/images/threat_white.png</file>
+ <file alias="images/black_wall.png">data/images/black_wall.png</file>