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

12
Data/Fractorium.desktop Normal file
View File

@ -0,0 +1,12 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=Fractorium
GenericName=Fractal flame editor
Comment=Fractal flame editor
Exec=fractorium
TryExec=fractorium
Icon=/usr/share/fractorium/Fractorium.png
Terminal=false
Categories=Graphics;
MimeType=

BIN
Data/Fractorium.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
fractorium (0.9.9.3a-0ubuntu1) wily; urgency=low
* include flam3-palettes.xml, add menu icon
-- Gambhiro Bhikkhu <gambhiro.bhikkhu.85@gmail.com> Wed, 20 Jan 2016 15:13:27 +0000
fractorium (0.9.9.3-0ubuntu1) wily; urgency=low
* release 0.9.9.3