icon and launcher

This commit is contained in:
Gambhiro
2016-01-20 15:53:31 +00:00
parent 299e86b0c1
commit c853f478aa
5 changed files with 25 additions and 2 deletions

View File

@ -16,8 +16,6 @@ PRJ_DIR = $$SRC_DIR/Fractorium
target.path = $$BIN_INSTALL_DIR
INSTALLS += target
# FIXME: flam3-palettes.xml does not install when installing from .deb, but `make install` works.
palettes.path = $$SHARE_INSTALL_DIR
palettes.files = $$ASSETS_DIR/flam3-palettes.xml
INSTALLS += palettes
@ -26,6 +24,12 @@ themes.path = $$SHARE_INSTALL_DIR
themes.files = $$ASSETS_DIR/dark.qss
INSTALLS += themes
icon.path = $$SHARE_INSTALL_DIR
icon.files = $$ASSETS_DIR/Fractorium.png
launcher.path = $$LAUNCHER_INSTALL_DIR
launcher.files = $$ASSETS_DIR/Fractorium.desktop
macx:ICON = $$ASSETS_DIR/Fractorium.icns
LIBS += -L$$absolute_path($$DESTDIR) -lEmber

View File

@ -8,6 +8,7 @@ unix|macx {
LIB_INSTALL_DIR = /usr/lib
BIN_INSTALL_DIR = /usr/bin
SHARE_INSTALL_DIR = /usr/share/fractorium
LAUNCHER_INSTALL_DIR = /usr/share/applications
}
# When loaded by QtCreator