Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > bff79f6273180955034d9471e93ddd52 > files > 5

chessx-1.5.8-2.mga9.src.rpm

diff -Nrup a/chessx.pro b/chessx.pro
--- a/chessx.pro	2023-03-28 16:43:02.475553817 +0200
+++ b/chessx.pro	2023-03-28 17:36:39.206270529 +0200
@@ -63,15 +63,20 @@ unix|!macx {
         }
         PREFIX = /usr
     }
-    BINDIR = $$PREFIX/bin
+    BINDIR = $$PREFIX/games
     DATADIR = $$PREFIX/share
+    GAMESDATADIR = $$PREFIX/share/games
 
-    INSTALLS += appdata desktop icons256 icons64 icons32 binfiles
+    INSTALLS += appdata desktop data lang icons256 icons64 icons32 binfiles
 
     appdata.files = unix/io.sourceforge.ChessX.metainfo.xml
     appdata.path = $$DATADIR/metainfo
     desktop.files = unix/chessx.desktop
     desktop.path = $$DATADIR/applications
+    data.path = $$GAMESDATADIR/chessx
+    data.files = data
+    lang.path = $$GAMESDATADIR/chessx/data/lang
+    lang.files = i18n/*.qm
 
     icons256.path = $$DATADIR/icons/hicolor/256x256/apps
     icons256.files = data/images/icons-256/chessx.png