summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-07-13 01:48:16 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-07-13 02:29:10 +0200
commitd6b8a521a79d1bcd0496377078e16a0fe382b02b (patch)
tree72ca6667cb5cb83cf6079d2f1654757d62fe2bef /games-board/chessx/files
parentgames-board/chessx: Fix build failure caused by missing translations (diff)
downloadgentoo-d6b8a521a79d1bcd0496377078e16a0fe382b02b.tar.gz
gentoo-d6b8a521a79d1bcd0496377078e16a0fe382b02b.tar.bz2
gentoo-d6b8a521a79d1bcd0496377078e16a0fe382b02b.zip
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@gentoo.org>
Diffstat (limited to 'games-board/chessx/files')
-rw-r--r--games-board/chessx/files/chessx-1.5.4-install.patch27
1 files changed, 27 insertions, 0 deletions
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 000000000000..c017b3ea1535
--- /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 \