Install the 512x512 icon, used by the .desktop file.

This commit is contained in:
Adam Sampson 2020-06-05 20:11:13 +01:00
parent d66a8fac60
commit 69e3286057

View file

@ -310,7 +310,14 @@ win32 {
QMAKE_SUBSTITUTES += distributions/jamulus.desktop.in QMAKE_SUBSTITUTES += distributions/jamulus.desktop.in
desktop.files = distributions/jamulus.desktop desktop.files = distributions/jamulus.desktop
INSTALLS += target desktop isEmpty(ICONSDIR) {
ICONSDIR = share/icons/hicolor/512x512/apps
}
ICONSDIR = $$absolute_path($$ICONSDIR, $$PREFIX)
icons.path = $$ICONSDIR
icons.files = distributions/jamulus.png
INSTALLS += target desktop icons
} }
RCC_DIR = src/res RCC_DIR = src/res
@ -616,6 +623,7 @@ DISTFILES += ChangeLog \
INSTALL.md \ INSTALL.md \
README.md \ README.md \
distributions/jamulus.desktop.in \ distributions/jamulus.desktop.in \
distributions/jamulus.png \
src/res/translation/translation_de_DE.qm \ src/res/translation/translation_de_DE.qm \
src/res/translation/translation_fr_FR.qm \ src/res/translation/translation_fr_FR.qm \
src/res/translation/translation_pt_PT.qm \ src/res/translation/translation_pt_PT.qm \