Expand $TARGET in jamulus.desktop.
This commit is contained in:
parent
e7621af754
commit
d66a8fac60
3 changed files with 6 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -31,3 +31,4 @@ distributions/opus*
|
||||||
distributions/jack2
|
distributions/jack2
|
||||||
distributions/claudio_piano.sf2
|
distributions/claudio_piano.sf2
|
||||||
distributions/fluidsynth*
|
distributions/fluidsynth*
|
||||||
|
distributions/jamulus.desktop
|
||||||
|
|
|
@ -301,18 +301,16 @@ win32 {
|
||||||
}
|
}
|
||||||
BINDIR = $$absolute_path($$BINDIR, $$PREFIX)
|
BINDIR = $$absolute_path($$BINDIR, $$PREFIX)
|
||||||
target.path = $$BINDIR
|
target.path = $$BINDIR
|
||||||
INSTALLS += target
|
|
||||||
|
|
||||||
isEmpty(APPSDIR) {
|
isEmpty(APPSDIR) {
|
||||||
APPSDIR = share/applications
|
APPSDIR = share/applications
|
||||||
}
|
}
|
||||||
APPSDIR = $$absolute_path($$APPSDIR, $$PREFIX)
|
APPSDIR = $$absolute_path($$APPSDIR, $$PREFIX)
|
||||||
desktop.path = $$APPSDIR
|
desktop.path = $$APPSDIR
|
||||||
|
QMAKE_SUBSTITUTES += distributions/jamulus.desktop.in
|
||||||
desktop.files = distributions/jamulus.desktop
|
desktop.files = distributions/jamulus.desktop
|
||||||
# the .desktop file assumes the binary is called jamulus
|
|
||||||
contains(CONFIG, "noupcasename") {
|
INSTALLS += target desktop
|
||||||
INSTALLS += desktop
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
RCC_DIR = src/res
|
RCC_DIR = src/res
|
||||||
|
@ -617,6 +615,7 @@ DISTFILES += ChangeLog \
|
||||||
COPYING \
|
COPYING \
|
||||||
INSTALL.md \
|
INSTALL.md \
|
||||||
README.md \
|
README.md \
|
||||||
|
distributions/jamulus.desktop.in \
|
||||||
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 \
|
||||||
|
|
|
@ -4,7 +4,7 @@ Comment=Jam Session
|
||||||
Comment[fr]=Séance de bœuf
|
Comment[fr]=Séance de bœuf
|
||||||
GenericName=Internet Jam Session Software
|
GenericName=Internet Jam Session Software
|
||||||
GenericName[fr]=Logiciel de séance de bœuf sur Internet
|
GenericName[fr]=Logiciel de séance de bœuf sur Internet
|
||||||
Exec=jamulus
|
Exec=$$TARGET
|
||||||
Icon=jamulus
|
Icon=jamulus
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
Loading…
Reference in a new issue