mirror of
https://github.com/vicr123/the-libs.git
synced 2025-01-22 10:22:03 -05:00
Fix some bugs with the pri file
This commit is contained in:
parent
a0e6373fd6
commit
4349f06424
1 changed files with 10 additions and 8 deletions
|
@ -1,14 +1,16 @@
|
|||
unix:!macx {
|
||||
desktopgen.output = ${QMAKE_FILE_BASE}.desktop
|
||||
desktopgen.commands = tltrdesktop --desktop-generate --desktop-template ${QMAKE_FILE_NAME} --json-directory $$_PRO_FILE_PWD_/translations/desktop/${QMAKE_FILE_NAME}/ --desktop-output ${QMAKE_FILE_OUT}
|
||||
desktopgen.commands = tltrdesktop --json-generate --desktop-generate --desktop-template ${QMAKE_FILE_NAME} --json-directory $$_PRO_FILE_PWD_/translations/desktop/${QMAKE_FILE_BASE}/ --desktop-output ${QMAKE_FILE_OUT}
|
||||
desktopgen.input = DESKTOP_FILE
|
||||
desktopgen.CONFIG = no_link target_predeps
|
||||
desktopgen.depend_command = ls $$_PRO_FILE_PWD_/translations/desktop/${QMAKE_FILE_BASE}/*.json ${QMAKE_FILE_NAME}
|
||||
desktopgen.CONFIG = no_link target_predeps explicit_dependencies
|
||||
desktopgen.variable_out = DESKTOP_FILE_GENERATED
|
||||
|
||||
desktopgenbp.output = ${QMAKE_FILE_BASE}.desktop
|
||||
desktopgenbp.commands = tltrdesktop --desktop-generate --desktop-template ${QMAKE_FILE_NAME} --json-directory $$_PRO_FILE_PWD_/translations/desktop/${QMAKE_FILE_NAME}/ --desktop-output ${QMAKE_FILE_OUT}
|
||||
desktopgenbp.commands = tltrdesktop --json-generate --desktop-generate --desktop-template ${QMAKE_FILE_NAME} --json-directory $$_PRO_FILE_PWD_/translations/desktop/${QMAKE_FILE_BASE}/ --desktop-output ${QMAKE_FILE_OUT}
|
||||
desktopgenbp.input = DESKTOP_FILE_BLUEPRINT
|
||||
desktopgenbp.CONFIG = no_link target_predeps
|
||||
desktopgenbp.depend_command = ls $$_PRO_FILE_PWD_/translations/desktop/${QMAKE_FILE_BASE}/*.json ${QMAKE_FILE_NAME}
|
||||
desktopgenbp.CONFIG = no_link target_predeps explicit_dependencies
|
||||
desktopgenbp.variable_out = DESKTOP_FILE_BLUEPRINT_GENERATED
|
||||
|
||||
QMAKE_EXTRA_COMPILERS = desktopgen desktopgenbp
|
||||
|
@ -23,10 +25,10 @@ unix:!macx {
|
|||
}
|
||||
|
||||
!isEmpty(DESKTOP_FILE_BLUEPRINT):blueprint {
|
||||
desktop.files = DESKTOP_FILE_GENERATED_BLUEPRINT
|
||||
desktop.path = /usr/share/applications
|
||||
desktop.extra = $$QMAKE_COPY $${OUT_PWD}/$$DESKTOP_FILE_BLUEPRINT $(INSTALL_ROOT)/usr/share/applications
|
||||
INSTALLS += desktop
|
||||
desktopbp.files = DESKTOP_FILE_GENERATED_BLUEPRINT
|
||||
desktopbp.path = /usr/share/applications
|
||||
desktopbp.extra = $$QMAKE_COPY $${OUT_PWD}/$$DESKTOP_FILE_BLUEPRINT $(INSTALL_ROOT)/usr/share/applications
|
||||
INSTALLS += desktopbp
|
||||
|
||||
message(Will install $$DESKTOP_FILE_BLUEPRINT as the desktop file)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue