Commit de76980c authored by Simonas Leleiva's avatar Simonas Leleiva

[glacierui] add .desktop file

parent 14ca601b
[Desktop Entry]
Type=Application
Name=Glacier UI
Categories=Applications;
Exec=env QT_QUICK_CONTROLS_STYLE=Nemo /usr/lib/qt5/examples/touch_nemo
Icon=icon-app-components
X-Desktop-File-Install-Version=0.20
......@@ -27,3 +27,8 @@ RESOURCES += \
resources.qrc
INSTALLS += target
desktop.path = /usr/share/applications
desktop.files = glacier-gallery.desktop
INSTALLS += desktop
......@@ -28,6 +28,7 @@ This package contains the Qt Quick Controls library
%package examples
Summary: Examples to showcase Nemo UI components
Requires: qt5-qtquickcontrols-nemo
BuildRequires: desktop-file-utils
%description examples
%{summary}.
......@@ -48,6 +49,10 @@ make %{?_smp_flags}
rm -rf %{buildroot}
%qmake5_install
desktop-file-install --delete-original \
--dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/*.desktop
#### Pre/Post section
%post
......@@ -65,3 +70,5 @@ rm -rf %{buildroot}
%files examples
%defattr(-,root,root,-)
%{_libdir}/qt5/examples/touch_nemo
%{_datadir}/applications/*.desktop
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment