Expand $TARGET in jamulus.desktop.

This commit is contained in:
Adam Sampson 2020-06-05 20:05:21 +01:00
parent e7621af754
commit d66a8fac60
3 changed files with 6 additions and 6 deletions

1
.gitignore vendored
View file

@ -31,3 +31,4 @@ distributions/opus*
distributions/jack2
distributions/claudio_piano.sf2
distributions/fluidsynth*
distributions/jamulus.desktop

View file

@ -301,18 +301,16 @@ win32 {
}
BINDIR = $$absolute_path($$BINDIR, $$PREFIX)
target.path = $$BINDIR
INSTALLS += target
isEmpty(APPSDIR) {
APPSDIR = share/applications
}
APPSDIR = $$absolute_path($$APPSDIR, $$PREFIX)
desktop.path = $$APPSDIR
QMAKE_SUBSTITUTES += distributions/jamulus.desktop.in
desktop.files = distributions/jamulus.desktop
# the .desktop file assumes the binary is called jamulus
contains(CONFIG, "noupcasename") {
INSTALLS += desktop
}
INSTALLS += target desktop
}
RCC_DIR = src/res
@ -617,6 +615,7 @@ DISTFILES += ChangeLog \
COPYING \
INSTALL.md \
README.md \
distributions/jamulus.desktop.in \
src/res/translation/translation_de_DE.qm \
src/res/translation/translation_fr_FR.qm \
src/res/translation/translation_pt_PT.qm \

View file

@ -4,7 +4,7 @@ Comment=Jam Session
Comment[fr]=Séance de bœuf
GenericName=Internet Jam Session Software
GenericName[fr]=Logiciel de séance de bœuf sur Internet
Exec=jamulus
Exec=$$TARGET
Icon=jamulus
Terminal=false
Type=Application