From 7c783eb683bbf6730a146daa5adec705cbb6e102 Mon Sep 17 00:00:00 2001 From: yannux Date: Tue, 14 Sep 2010 08:55:36 +0200 Subject: [PATCH] Add build information on src.pro Update .desktop file to 0.6 for next package --- src/src.pro | 29 +++++++++++++++++++++++++++++ src/vlc-remote.desktop | 3 +-- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/src/src.pro b/src/src.pro index 55d86ca..bf7f435 100644 --- a/src/src.pro +++ b/src/src.pro @@ -47,3 +47,32 @@ FORMS += playlistmainwindow.ui \ OTHER_FILES += vlc-remote.desktop RESOURCES += ressources.qrc TRANSLATIONS = vlcremote_fr_FR.ts + +unix { + #VARIABLES + isEmpty(PREFIX) { + PREFIX = /usr + } + BINDIR = $$PREFIX/bin + DATADIR =$$PREFIX/share + + DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\" + + #MAKE INSTALL + + INSTALLS += target desktop icon26 icon48 icon64 + + target.path =$$BINDIR + + desktop.path = $$DATADIR/applications/hildon + desktop.files += $${TARGET}.desktop + + icon26.path = $$DATADIR/icons/hicolor/26x26/apps + icon26.files += data/26x26/$${TARGET}.png + + icon48.path = $$DATADIR/icons/hicolor/48x48/apps + icon48.files += data/48x48/$${TARGET}.png + + icon64.path = $$DATADIR/icons/hicolor/64x64/apps + icon64.files += data/64x64/$${TARGET}.png +} diff --git a/src/vlc-remote.desktop b/src/vlc-remote.desktop index 82f4514..21297e7 100644 --- a/src/vlc-remote.desktop +++ b/src/vlc-remote.desktop @@ -1,12 +1,11 @@ [Desktop Entry] Encoding=UTF-8 -Version=0.2 +Version=0.6 Type=Application Terminal=true Name=vlc-remote Exec=/usr/bin/vlc-remote Icon= -#X-Window-Icon=timerwidget X-Window-Icon= X-HildonDesk-ShowInToolbar=true X-Osso-Type=application/x-executable -- 1.7.9.5