Cmake needs to install flameshot.appdata.xml (#857)

* Cmake needs to install flameshot.appdata.xml

* fixing rpm
This commit is contained in:
borgmanJeremy
2020-09-07 16:03:21 -05:00
committed by GitHub
parent 60ef3f3e6f
commit ff6d4587e8
2 changed files with 4 additions and 0 deletions

View File

@@ -50,6 +50,7 @@ make %{?_smp_mflags}
%{_bindir}/%{name}
%{_datadir}/dbus-1/interfaces/org.flameshot.Flameshot.xml
%{_datadir}/dbus-1/services/org.flameshot.Flameshot.service
%{_datadir}/metainfo/flameshot.appdata.xml
%{_datadir}/flameshot/translations
%{_datadir}/applications/%{name}.desktop
%{_datadir}/bash-completions/completions/%{name}

View File

@@ -140,6 +140,9 @@ install(
configure_file(${CMAKE_SOURCE_DIR}/docs/desktopEntry/package/flameshot.desktop
${CMAKE_CURRENT_BINARY_DIR}/share/applications/flameshot.desktop COPYONLY)
configure_file(${CMAKE_SOURCE_DIR}/docs/appdata/flameshot.appdata.xml
${CMAKE_CURRENT_BINARY_DIR}/share/metainfo/flameshot.appdata.xml COPYONLY)
configure_file(${CMAKE_SOURCE_DIR}/docs/bash-completion/flameshot
${CMAKE_CURRENT_BINARY_DIR}/share/bash-completions/completions/flameshot COPYONLY)