diff options
author | Philippe Coval <philippe.coval@open.eurogiciel.org> | 2014-05-14 16:16:53 +0200 |
---|---|---|
committer | Tomasz Olszak <olszak.tomasz@gmail.com> | 2015-11-09 18:27:21 +0100 |
commit | a4db133d6deff647e1a5c284943e0c0abac85e15 (patch) | |
tree | ee1b58d816aaf2cc65be2e7d84b5479423ef8182 | |
parent | 7ecd5e1e2323557b040843019cde37c1c5270fb8 (diff) | |
download | qtdeclarative-a4db133d6deff647e1a5c284943e0c0abac85e15.tar.gz qtdeclarative-a4db133d6deff647e1a5c284943e0c0abac85e15.tar.bz2 qtdeclarative-a4db133d6deff647e1a5c284943e0c0abac85e15.zip |
packaging: add icon to launcher
Change-Id: I3e3cb3bb9a203a55132197a0835aa411df265dc5
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
-rw-r--r-- | packaging/qt5-qtdeclarative-examples.desktop | 1 | ||||
-rw-r--r-- | packaging/qt5-qtdeclarative.spec | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/packaging/qt5-qtdeclarative-examples.desktop b/packaging/qt5-qtdeclarative-examples.desktop index 111872ea7..87ce5b66c 100644 --- a/packaging/qt5-qtdeclarative-examples.desktop +++ b/packaging/qt5-qtdeclarative-examples.desktop @@ -2,3 +2,4 @@ Name=Qt Declarative examples Type=Application Exec=/usr/bin/qt5-qtdeclarative-examples.sh +Icon=/usr/share/icons/default/small/qt5-qtdeclarative-examples.png diff --git a/packaging/qt5-qtdeclarative.spec b/packaging/qt5-qtdeclarative.spec index e958ff879..be385a1f3 100644 --- a/packaging/qt5-qtdeclarative.spec +++ b/packaging/qt5-qtdeclarative.spec @@ -328,6 +328,8 @@ install -d "%{buildroot}%{_bindir}/" install %{SOURCE1010} "%{buildroot}%{_bindir}/" install -d "%{buildroot}%{_datadir}/applications/" install %{SOURCE1011} "%{buildroot}%{_datadir}/applications/" +install -d "%{buildroot}%{_datadir}/icons/default/small/" +install ./tests/benchmarks/qml/painting/data/64x64.png "%{buildroot}%{_datadir}/icons/default/small/%{name}-examples.png" #### Pre/Post section @@ -527,6 +529,7 @@ install %{SOURCE1011} "%{buildroot}%{_datadir}/applications/" %manifest %{name}.manifest %{_bindir}/%{name}-examples.sh %{_datadir}/applications/%{name}-examples.desktop +%{_datadir}/icons/default/small/%{name}-examples.png %{_datadir}/qt5/%{name}/examples/* |