1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-24 12:46:35 +01:00

Fix data installation paths.

This commit is contained in:
Bernd Steinhauser 2016-02-07 16:38:22 +01:00
parent 11601f866e
commit 3dd31ac8bb
3 changed files with 19 additions and 2 deletions

View File

@ -197,6 +197,12 @@ Available Defines
example:
$ export QUPZILLA_PREFIX="/usr"
SHARE_FOLDER You can define the path of the share folder, i.e. /usr/share
QupZilla will then use SHARE_FOLDER/qupzilla as datadir,
SHARE_FOLDER/applications for desktop launcher and
SHARE_FOLDER/pixmaps for the icon. By default it is not defined and
files will be installed as described above.
DISABLE_DBUS Build without QtDBus module. Native desktop notifications
will be disabled.

View File

@ -23,6 +23,7 @@ d_disable_dbus = $$(DISABLE_DBUS)
d_disable_updates_check = $$(DISABLE_UPDATES_CHECK)
d_debug_build = $$(DEBUG_BUILD)
d_prefix = $$(QUPZILLA_PREFIX)
d_share = $$(SHARE_FOLDER)
equals(d_no_system_datapath, "true") { DEFINES *= NO_SYSTEM_DATAPATH }
equals(d_kde_integration, "true") { DEFINES *= KDE_INTEGRATION }
@ -63,6 +64,7 @@ haiku-* {
launcher_folder = /usr/share/applications
icon_folder = /usr/share/pixmaps
hicolor_folder = /usr/share/icons/hicolor
share_folder = /usr/share
!equals(d_prefix, "") {
binary_folder = "$$d_prefix"/bin
@ -71,6 +73,15 @@ haiku-* {
launcher_folder = "$$d_prefix"/share/applications
icon_folder = "$$d_prefix"/share/pixmaps
hicolor_folder = "$$d_prefix"/share/icons/hicolor
share_folder = "$$d_prefix"/share
}
!equals(d_share, "") {
data_folder = "$$d_share"/qupzilla
launcher_folder = "$$d_share"/applications
icon_folder = "$$d_share"/pixmaps
hicolor_folder = "$$d_share"/icons/hicolor
share_folder = "$$d_share"
}
!equals(d_use_lib_path, ""):library_folder = $$d_use_lib_path

View File

@ -44,10 +44,10 @@ mac {
ico256.path = $$hicolor_folder/256x256/apps
bashcompletion.files = $$PWD/../linux/completion/qupzilla
bashcompletion.path = /usr/share/bash-completion/completions
bashcompletion.path = $$share_folder/usr/share/bash-completion/completions
appdata.files = $$PWD/../linux/appdata/qupzilla.appdata.xml
appdata.path = /usr/share/appdata
appdata.path = $$share_folder/appdata
INSTALLS += target target1 target2 target3