Desktop file, icon, and install targets
This commit is contained in:
parent
ddc1a70e88
commit
e43a9266f9
|
@ -0,0 +1,14 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Value=1.0
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
Name=Clementine
|
||||||
|
GenericName=Clementine Music Player
|
||||||
|
Comment=Plays music and last.fm streams
|
||||||
|
Exec=clementine
|
||||||
|
TryExec=clementine
|
||||||
|
Icon=application-x-clementine
|
||||||
|
Terminal=false
|
||||||
|
Categories=AudioVideo;Player;Qt;
|
||||||
|
StartupNotify=true
|
||||||
|
MimeType=audio/mpeg;audio/x-wav;
|
Binary file not shown.
After Width: | Height: | Size: 8.8 KiB |
16
src/src.pro
16
src/src.pro
|
@ -1,6 +1,6 @@
|
||||||
# -------------------------------------------------
|
# Change this line to install Clementine somewhere else
|
||||||
# Project created by QtCreator 2009-12-15T18:38:35
|
install_prefix = /usr
|
||||||
# -------------------------------------------------
|
|
||||||
QT += sql \
|
QT += sql \
|
||||||
network \
|
network \
|
||||||
opengl \
|
opengl \
|
||||||
|
@ -153,3 +153,13 @@ SOURCES += ../3rdparty/qtsingleapplication/qtlocalpeer.cpp
|
||||||
SOURCES += ../3rdparty/qtsingleapplication/qtlockedfile.cpp
|
SOURCES += ../3rdparty/qtsingleapplication/qtlockedfile.cpp
|
||||||
unix:SOURCES += ../3rdparty/qtsingleapplication/qtlockedfile_unix.cpp
|
unix:SOURCES += ../3rdparty/qtsingleapplication/qtlockedfile_unix.cpp
|
||||||
win32:SOURCES += ../3rdparty/qtsingleapplication/qtlockedfile_win32.cpp
|
win32:SOURCES += ../3rdparty/qtsingleapplication/qtlockedfile_win32.cpp
|
||||||
|
|
||||||
|
# Installs
|
||||||
|
target.path = $${install_prefix}/bin/
|
||||||
|
desktop.path = dummy
|
||||||
|
desktop.extra = xdg-icon-resource install --size 64 ../dist/clementine_64.png application-x-clementine ; \
|
||||||
|
xdg-desktop-menu install --novendor ../dist/clementine.desktop
|
||||||
|
INSTALLS += target desktop
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue