Fix Synergy icon on Linux

This commit is contained in:
Andrew Nelless 2017-04-26 17:30:03 +01:00
parent c4feae3491
commit 10cabbc5a0
2 changed files with 3 additions and 3 deletions

View File

@ -393,8 +393,8 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
install(FILES res/synergy.desktop DESTINATION share/applications) install(FILES res/synergy.desktop DESTINATION share/applications)
endif() endif()
configure_files (${CMAKE_CURRENT_SOURCE_DIR}/dist/rpm ${CMAKE_BINARY_DIR}/rpm)
install(FILES res/synergy.svg DESTINATION share/icons) install(FILES res/synergy.svg DESTINATION share/icons)
configure_files (${CMAKE_CURRENT_SOURCE_DIR}/dist/rpm ${CMAKE_BINARY_DIR}/rpm)
endif() endif()
add_subdirectory (src) add_subdirectory (src)

View File

@ -24,7 +24,7 @@ cp %{bindir}/synergys %{buildroot}%{_bindir}
cp %{bindir}/synergyd %{buildroot}%{_bindir} cp %{bindir}/synergyd %{buildroot}%{_bindir}
cp %{bindir}/syntool %{buildroot}%{_bindir} cp %{bindir}/syntool %{buildroot}%{_bindir}
cp %{sourcedir}/res/synergy.desktop %{buildroot}%{_datarootdir}/applications cp %{sourcedir}/res/synergy.desktop %{buildroot}%{_datarootdir}/applications
cp %{sourcedir}/res/synergy.ico %{buildroot}%{_datarootdir}/icons cp %{sourcedir}/res/synergy.svg %{buildroot}%{_datarootdir}/icons
%files %files
%defattr(755,root,root,-) %defattr(755,root,root,-)
@ -34,7 +34,7 @@ cp %{sourcedir}/res/synergy.ico %{buildroot}%{_datarootdir}/icons
%{_bindir}/synergyd %{_bindir}/synergyd
%{_bindir}/syntool %{_bindir}/syntool
%attr(644,-,-) %{_datarootdir}/applications/synergy.desktop %attr(644,-,-) %{_datarootdir}/applications/synergy.desktop
%attr(644,-,-) %{_datarootdir}/icons/synergy.ico %attr(644,-,-) %{_datarootdir}/icons/synergy.svg
%changelog %changelog
* Wed Apr 26 2017 Symless <engineering@symless.com> * Wed Apr 26 2017 Symless <engineering@symless.com>