fix: install desktop file on $USRDIR/share/applications directly.

This commit is contained in:
codestation
2016-04-24 10:38:09 -04:30
parent 7252fac5b9
commit 9cf97c5042
4 changed files with 4 additions and 4 deletions

2
debian/qcma.install vendored
View File

@@ -1,4 +1,4 @@
usr/bin/qcma usr/bin/qcma
gui/resources/qcma.desktop usr/share/applications/qcma gui/resources/qcma.desktop usr/share/applications
gui/resources/images/qcma.png usr/share/icons/hicolor/64x64/apps gui/resources/images/qcma.png usr/share/icons/hicolor/64x64/apps

View File

@@ -61,7 +61,7 @@ unix:!macx {
PKGCONFIG += libnotify PKGCONFIG += libnotify
# config for desktop file and icon # config for desktop file and icon
desktop.path = $$DATADIR/applications/$${TARGET} desktop.path = $$DATADIR/applications
desktop.files += resources/$${TARGET}.desktop desktop.files += resources/$${TARGET}.desktop
icon64.path = $$DATADIR/icons/hicolor/64x64/apps icon64.path = $$DATADIR/icons/hicolor/64x64/apps

View File

@@ -8,7 +8,7 @@ Comment=Content Manager Assistant for the PS Vita
Comment[es]=Asistente del Gestor de Contenido para PS Vita Comment[es]=Asistente del Gestor de Contenido para PS Vita
Comment[fr]=Gestionnaire de contenu pour la PS Vita Comment[fr]=Gestionnaire de contenu pour la PS Vita
Icon=qcma.png Icon=qcma.png
Name=QCMA Name=Qcma
Path= Path=
StartupNotify=false StartupNotify=false
Terminal=false Terminal=false

View File

@@ -69,7 +69,7 @@ make install INSTALL_ROOT=%{buildroot}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/qcma %{_bindir}/qcma
%{_prefix}/share/applications/qcma/qcma.desktop %{_prefix}/share/applications/qcma.desktop
%{_prefix}/share/icons/hicolor/64x64/apps/qcma.png %{_prefix}/share/icons/hicolor/64x64/apps/qcma.png
%{_prefix}/share/man/man1/qcma.1.gz %{_prefix}/share/man/man1/qcma.1.gz