1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 11:02:19 +01:00
falkonOfficial/install.pri

72 lines
2.2 KiB
Plaintext
Raw Normal View History

mac {
QMAKE_INFO_PLIST = $$PWD/src/Info.plist
ICON = $$PWD/src/data/icons/exeicons/qupzilla.icns
bundle_target.files += $$PWD/bin/locale
bundle_target.files += $$PWD/bin/themes
bundle_target.files += $$PWD/bin/plugins
bundle_target.path = Contents/Resources
bundle_target2.files += $$PWD/bin/
QMAKE_BUNDLE_DATA += bundle_target
}
!mac:unix {
d_prefix = $$(QUPZILLA_PREFIX)
binary_folder = /usr/bin
library_folder = /usr/lib
data_folder = /usr/share/qupzilla
launcher_folder = /usr/share/applications
icon_folder = /usr/share/pixmaps
hicolor_folder = /usr/share/icons/hicolor
!equals(d_prefix, "") {
binary_folder = "$$d_prefix"bin
library_folder = "$$d_prefix"lib
data_folder = "$$d_prefix"share/qupzilla
launcher_folder = "$$d_prefix"share/applications
icon_folder = "$$d_prefix"share/pixmaps
hicolor_folder = "$$d_prefix"share/icons/hicolor
}
target.path = $$binary_folder
targetlib.files = $$PWD/bin/libqupzilla*
targetlib.path = $$library_folder
targetplugins.files = $$PWD/bin/plugins/*.so
targetplugins.path = "$$library_folder"/qupzilla/
target1.files += $$PWD/bin/locale
target1.files += $$PWD/bin/themes
target1.path = $$data_folder
target2.files = $$PWD/linux/applications/qupzilla.desktop
target2.path = $$launcher_folder
target3.files = $$PWD/linux/pixmaps/qupzilla.png
target3.path = $$icon_folder
ico16.files = $$PWD/linux/hicolor/16x16/apps/qupzilla.png
ico16.path = $$hicolor_folder/16x16/apps
ico32.files = $$PWD/linux/hicolor/32x32/apps/qupzilla.png
ico32.path = $$hicolor_folder/32x32/apps
ico48.files = $$PWD/linux/hicolor/48x48/apps/qupzilla.png
ico48.path = $$hicolor_folder/48x48/apps
ico64.files = $$PWD/linux/hicolor/64x64/apps/qupzilla.png
ico64.path = $$hicolor_folder/64x64/apps
ico128.files = $$PWD/linux/hicolor/128x128/apps/qupzilla.png
ico128.path = $$hicolor_folder/128x128/apps
ico256.files = $$PWD/linux/hicolor/256x256/apps/qupzilla.png
ico256.path = $$hicolor_folder/256x256/apps
INSTALLS += target targetlib targetplugins target1 target2 target3
INSTALLS += ico16 ico32 ico48 ico64 ico128 ico256
}