Lines 1-48
Link Here
|
1 |
--- chessx.pro.orig 2021-09-17 10:33:08 UTC |
1 |
--- chessx.pro.orig 2023-05-08 20:22:12 UTC |
2 |
+++ chessx.pro |
2 |
+++ chessx.pro |
3 |
@@ -534,24 +534,30 @@ lc0 { |
3 |
@@ -67,18 +67,26 @@ unix|!macx { |
4 |
QMAKE_BUNDLE_DATA += LC0_ENGINE_LIB |
4 |
BINDIR = $$PREFIX/bin |
5 |
} |
5 |
DATADIR = $$PREFIX/share |
|
|
6 |
|
7 |
- INSTALLS += appdata desktop icons binfiles |
8 |
+ INSTALLS += appdata desktop icons32 icons64 icons128 pixmaps binfiles |
6 |
|
9 |
|
7 |
+unix:!macx { |
10 |
appdata.files = unix/io.sourceforge.ChessX.metainfo.xml |
8 |
+ target.path = $$PREFIX/bin |
11 |
appdata.path = $$DATADIR/metainfo |
9 |
+ pixmaps.path = $$PREFIX/share/pixmaps |
|
|
10 |
+ pixmaps.files = data/images/chessx.png |
11 |
+ desktop.path = $$PREFIX/share/applications |
12 |
+ desktop.files = unix/chessx.desktop |
13 |
+ INSTALLS += target desktop pixmaps |
14 |
+} |
15 |
+ |
12 |
+ |
16 |
RESOURCES = \ |
13 |
desktop.files = unix/chessx.desktop |
17 |
resources.qrc translations.qrc |
14 |
desktop.path = $$DATADIR/applications |
|
|
15 |
|
16 |
- icons.path = $$DATADIR/icons/hicolor |
17 |
- icons.commands = install -Dm644 data/images/chessx.png $${icons.path}/128x128/apps/chessx.png; \ |
18 |
- install -Dm644 data/images/chessx-32.png $${icons.path}/32x32/apps/chessx.png; \ |
19 |
- install -Dm644 data/images/chessx-64.png $${icons.path}/64x64/apps/chessx.png; |
20 |
+ icons32.files = data/images/chessx-32.png |
21 |
+ icons32.path = $$DATADIR/icons/hicolor/32x32/apps |
18 |
|
22 |
|
19 |
-TRANSLATIONS = i18n/chessx_de.ts |
23 |
+ icons64.path = $$DATADIR/icons/hicolor/64x64/apps |
20 |
- |
24 |
+ icons64.files = data/images/chessx-64.png |
21 |
-#\ |
25 |
+ |
22 |
-# i18n/chessx_da.ts \ |
26 |
+ icons128.path = $$DATADIR/icons/hicolor/128x128/apps |
23 |
-# i18n/chessx_fr.ts \ |
27 |
+ icons128.files = data/images/chessx.png |
24 |
-# i18n/chessx_it.ts \ |
28 |
+ |
25 |
-# i18n/chessx_cz.ts \ |
29 |
+ pixmaps.path = $$PREFIX/share/pixmaps |
26 |
-# i18n/chessx_ru.ts \ |
30 |
+ pixmaps.files = data/images/chessx.png |
27 |
-# i18n/chessx_es.ts |
31 |
+ |
28 |
- |
32 |
binfiles.files = release/chessx |
29 |
-# i18n/chessx_nl.ts \ |
33 |
binfiles.path = $$BINDIR |
30 |
-# i18n/chessx_pl.ts \ |
34 |
} |
31 |
-# i18n/chessx_pt_BR.ts \ |
35 |
@@ -532,6 +540,7 @@ win32 { |
32 |
-# i18n/chessx_ro.ts \ |
36 |
INCLUDEPATH += $$[QT_INSTALL_HEADERS]/QtZlib |
33 |
-# i18n/chessx_zh.ts |
37 |
win32-g++:LIBS += -lz |
34 |
+TRANSLATIONS = i18n/chessx_de.ts \ |
38 |
} |
35 |
+ i18n/chessx_da.ts \ |
39 |
+ |
36 |
+ i18n/chessx_fr.ts \ |
|
|
37 |
+ i18n/chessx_it.ts \ |
38 |
+ i18n/chessx_cz.ts \ |
39 |
+ i18n/chessx_ru.ts \ |
40 |
+ i18n/chessx_es.ts \ |
41 |
+ i18n/chessx_nl.ts \ |
42 |
+ i18n/chessx_pl.ts \ |
43 |
+ i18n/chessx_pt_BR.ts \ |
44 |
+ i18n/chessx_ro.ts \ |
45 |
+ i18n/chessx_zh.ts |
46 |
|
40 |
|
47 |
isEmpty(QMAKE_LRELEASE) { |
41 |
UI_DIR = src/generated |
48 |
win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\\lrelease.exe |
42 |
MOC_DIR = src/generated |