"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/CMakeLists.txt" between
flameshot-0.8.4.tar.gz and flameshot-0.8.5.tar.gz

About: Flameshot is a screenshot software (with markup tools).

CMakeLists.txt  (flameshot-0.8.4):CMakeLists.txt  (flameshot-0.8.5)
skipping to change at line 133 skipping to change at line 133
target_compile_definitions(flameshot PRIVATE QAPPLICATION_CLASS=QApplication) target_compile_definitions(flameshot PRIVATE QAPPLICATION_CLASS=QApplication)
foreach(FILE ${QM_FILES}) foreach(FILE ${QM_FILES})
get_filename_component(F_NAME ${FILE} NAME) get_filename_component(F_NAME ${FILE} NAME)
add_custom_command( add_custom_command(
TARGET flameshot TARGET flameshot
POST_BUILD POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/${F_NAME} COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/${F_NAME}
${CMAKE_CURRENT_BINARY_DIR}/translations/${F_NAME}) ${CMAKE_CURRENT_BINARY_DIR}/translations/${F_NAME})
endforeach() endforeach()
# ############################################################################## ######################################## # ############################################################################## ########################################
# Installation instructions # Installation instructions
include(GNUInstallDirs) include(GNUInstallDirs)
set(INSTALL_CONFIGDIR ${CMAKE_INSTALL_LIBDIR}/cmake/Flameshot) set(INSTALL_CONFIGDIR ${CMAKE_INSTALL_LIBDIR}/cmake/Flameshot)
# Install binary # Install binary
install( install(
TARGETS flameshot TARGETS flameshot
EXPORT flameshot-targets EXPORT flameshot-targets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
# Install desktop files, completion and dbus files # Install desktop files, completion and dbus files
configure_file(${CMAKE_SOURCE_DIR}/docs/desktopEntry/package/org.flameshot.Flame shot.desktop configure_file(${CMAKE_SOURCE_DIR}/data/desktopEntry/package/org.flameshot.Flame shot.desktop
${CMAKE_CURRENT_BINARY_DIR}/share/applications/org.flameshot.Flam eshot.desktop COPYONLY) ${CMAKE_CURRENT_BINARY_DIR}/share/applications/org.flameshot.Flam eshot.desktop COPYONLY)
configure_file(${CMAKE_SOURCE_DIR}/docs/appdata/org.flameshot.Flameshot.metainfo .xml configure_file(${CMAKE_SOURCE_DIR}/data/appdata/org.flameshot.Flameshot.metainfo .xml
${CMAKE_CURRENT_BINARY_DIR}/share/metainfo/org.flameshot.Flamesho t.metainfo.xml COPYONLY) ${CMAKE_CURRENT_BINARY_DIR}/share/metainfo/org.flameshot.Flamesho t.metainfo.xml COPYONLY)
configure_file(${CMAKE_SOURCE_DIR}/docs/shell-completion/flameshot configure_file(${CMAKE_SOURCE_DIR}/data/shell-completion/flameshot
${CMAKE_CURRENT_BINARY_DIR}/share/bash-completion/completions/fla meshot COPYONLY) ${CMAKE_CURRENT_BINARY_DIR}/share/bash-completion/completions/fla meshot COPYONLY)
configure_file(${CMAKE_SOURCE_DIR}/docs/shell-completion/flameshot configure_file(${CMAKE_SOURCE_DIR}/data/shell-completion/flameshot
${CMAKE_CURRENT_BINARY_DIR}/share/zsh/site-functions/_flameshot C OPYONLY) ${CMAKE_CURRENT_BINARY_DIR}/share/zsh/site-functions/_flameshot C OPYONLY)
configure_file(${CMAKE_SOURCE_DIR}/data/dbus/org.flameshot.Flameshot.xml configure_file(${CMAKE_SOURCE_DIR}/data/dbus/org.flameshot.Flameshot.xml
${CMAKE_CURRENT_BINARY_DIR}/share/dbus-1/interfaces/org.flameshot .Flameshot.xml COPYONLY) ${CMAKE_CURRENT_BINARY_DIR}/share/dbus-1/interfaces/org.flameshot .Flameshot.xml COPYONLY)
configure_file(${CMAKE_SOURCE_DIR}/data/dbus/org.flameshot.Flameshot.service.in configure_file(${CMAKE_SOURCE_DIR}/data/dbus/org.flameshot.Flameshot.service.in
${CMAKE_CURRENT_BINARY_DIR}/share/dbus-1/services/org.flameshot.F lameshot.service) ${CMAKE_CURRENT_BINARY_DIR}/share/dbus-1/services/org.flameshot.F lameshot.service)
# Install Icons # Install Icons
configure_file(${CMAKE_SOURCE_DIR}/data/img/hicolor/48x48/apps/org.flameshot.Fla meshot.png configure_file(${CMAKE_SOURCE_DIR}/data/img/hicolor/48x48/apps/org.flameshot.Fla meshot.png
${CMAKE_CURRENT_BINARY_DIR}/share/icons/hicolor/48x48/apps/org.fl ameshot.Flameshot.png COPYONLY) ${CMAKE_CURRENT_BINARY_DIR}/share/icons/hicolor/48x48/apps/org.fl ameshot.Flameshot.png COPYONLY)
configure_file(${CMAKE_SOURCE_DIR}/data/img/hicolor/128x128/apps/org.flameshot.F lameshot.png configure_file(${CMAKE_SOURCE_DIR}/data/img/hicolor/128x128/apps/org.flameshot.F lameshot.png
${CMAKE_CURRENT_BINARY_DIR}/share/icons/hicolor/128x128/apps/org. flameshot.Flameshot.png COPYONLY) ${CMAKE_CURRENT_BINARY_DIR}/share/icons/hicolor/128x128/apps/org. flameshot.Flameshot.png COPYONLY)
configure_file(${CMAKE_SOURCE_DIR}/data/img/hicolor/scalable/apps/org.flameshot. Flameshot.svg configure_file(${CMAKE_SOURCE_DIR}/data/img/hicolor/scalable/apps/org.flameshot. Flameshot.svg
${CMAKE_CURRENT_BINARY_DIR}/share/icons/hicolor/scalable/apps/org .flameshot.Flameshot.svg COPYONLY) ${CMAKE_CURRENT_BINARY_DIR}/share/icons/hicolor/scalable/apps/org .flameshot.Flameshot.svg COPYONLY)
## Install icon with both names
configure_file(${CMAKE_SOURCE_DIR}/data/img/hicolor/48x48/apps/flameshot.png
${CMAKE_CURRENT_BINARY_DIR}/share/icons/hicolor/48x48/apps/flames
hot.png COPYONLY)
configure_file(${CMAKE_SOURCE_DIR}/data/img/hicolor/128x128/apps/flameshot.png
${CMAKE_CURRENT_BINARY_DIR}/share/icons/hicolor/128x128/apps/flam
eshot.png COPYONLY)
configure_file(${CMAKE_SOURCE_DIR}/data/img/hicolor/scalable/apps/flameshot.svg
${CMAKE_CURRENT_BINARY_DIR}/share/icons/hicolor/scalable/apps/fla
meshot.svg COPYONLY)
# Install assets # Install assets
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/share/ DESTINATION ${CMAKE_INSTALL _DATAROOTDIR}) install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/share/ DESTINATION ${CMAKE_INSTALL _DATAROOTDIR})
# Install Translations # Install Translations
install(FILES ${QM_FILES} DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/flameshot/tra nslations) install(FILES ${QM_FILES} DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/flameshot/tra nslations)
# windeployqt # windeployqt
if(WIN32) if(WIN32)
if(EXISTS $ENV{QTDIR}/bin/windeployqt.exe) if(EXISTS $ENV{QTDIR}/bin/windeployqt.exe)
if(CMAKE_BUILD_TYPE MATCHES Release) if(CMAKE_BUILD_TYPE MATCHES Release)
 End of changes. 6 change blocks. 
4 lines changed or deleted 18 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)