mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-19 08:25:21 +01:00
Linux: add version number automatically to rpi-imager.metainfo
- Automate putting version number in rpi-imager.metainfo.xml.in - Remove qt5-default dependency from debian/control
This commit is contained in:
parent
12784a0092
commit
6069e8f441
3 changed files with 8 additions and 4 deletions
|
@ -235,10 +235,15 @@ else()
|
|||
endif()
|
||||
endif()
|
||||
|
||||
configure_file(
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/linux/rpi-imager.metainfo.xml.in"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/rpi-imager.metainfo.xml"
|
||||
@ONLY)
|
||||
|
||||
install(TARGETS rpi-imager DESTINATION bin)
|
||||
install(FILES icons/rpi-imager.png DESTINATION share/icons/hicolor/128x128/apps)
|
||||
install(FILES linux/rpi-imager.desktop DESTINATION share/applications)
|
||||
install(FILES linux/rpi-imager.metainfo.xml DESTINATION share/metainfo)
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/rpi-imager.metainfo.xml" DESTINATION share/metainfo)
|
||||
endif()
|
||||
|
||||
get_target_property(QT_TARGET_TYPE Qt5::Core TYPE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue