mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 03:27:40 +01:00
Desktop file, icon, and install targets
This commit is contained in:
parent
ddc1a70e88
commit
e43a9266f9
14
dist/clementine.desktop
vendored
Normal file
14
dist/clementine.desktop
vendored
Normal file
@ -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;
|
BIN
dist/clementine_64.png
vendored
Normal file
BIN
dist/clementine_64.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.8 KiB |
16
src/src.pro
16
src/src.pro
@ -1,6 +1,6 @@
|
||||
# -------------------------------------------------
|
||||
# Project created by QtCreator 2009-12-15T18:38:35
|
||||
# -------------------------------------------------
|
||||
# Change this line to install Clementine somewhere else
|
||||
install_prefix = /usr
|
||||
|
||||
QT += sql \
|
||||
network \
|
||||
opengl \
|
||||
@ -153,3 +153,13 @@ SOURCES += ../3rdparty/qtsingleapplication/qtlocalpeer.cpp
|
||||
SOURCES += ../3rdparty/qtsingleapplication/qtlockedfile.cpp
|
||||
unix:SOURCES += ../3rdparty/qtsingleapplication/qtlockedfile_unix.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…
x
Reference in New Issue
Block a user