mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +00:00
Rename .desktop and appdata files to match executable name. Fixes #6625.
This commit is contained in:
parent
07af8c9648
commit
ecd67b9d75
6
dist/unix/CMakeLists.txt
vendored
6
dist/unix/CMakeLists.txt
vendored
@ -20,6 +20,7 @@ install(FILES ${MAN_FILES}
|
|||||||
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
|
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
|
||||||
COMPONENT doc)
|
COMPONENT doc)
|
||||||
|
|
||||||
|
if (GUI)
|
||||||
install(DIRECTORY menuicons/
|
install(DIRECTORY menuicons/
|
||||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor
|
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor
|
||||||
FILES_MATCHING PATTERN "*.png")
|
FILES_MATCHING PATTERN "*.png")
|
||||||
@ -28,10 +29,11 @@ install(FILES ${qBittorrent_SOURCE_DIR}/src/icons/qbittorrent.png
|
|||||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/pixmaps/
|
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/pixmaps/
|
||||||
COMPONENT data)
|
COMPONENT data)
|
||||||
|
|
||||||
install(FILES ${qBittorrent_SOURCE_DIR}/src/icons/qBittorrent.desktop
|
install(FILES ${qBittorrent_SOURCE_DIR}/src/icons/qbittorrent.desktop
|
||||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications/
|
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications/
|
||||||
COMPONENT data)
|
COMPONENT data)
|
||||||
|
|
||||||
install(FILES qBittorrent.appdata.xml
|
install(FILES qbittorrent.appdata.xml
|
||||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/appdata/
|
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/appdata/
|
||||||
COMPONENT data)
|
COMPONENT data)
|
||||||
|
endif()
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!-- Copyright 2014 sledgehammer999 <sledgehammer999@qbittorrent.org> -->
|
<!-- Copyright 2014 sledgehammer999 <sledgehammer999@qbittorrent.org> -->
|
||||||
<component type="desktop">
|
<component type="desktop">
|
||||||
<id>qBittorrent.desktop</id>
|
<id>qbittorrent.desktop</id>
|
||||||
<metadata_license>CC0-1.0</metadata_license>
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
<project_license>GPL-2.0 and OpenSSL</project_license>
|
<project_license>GPL-2.0 and OpenSSL</project_license>
|
||||||
<name>qBittorrent</name>
|
<name>qBittorrent</name>
|
@ -39,11 +39,11 @@ nogui:systemd {
|
|||||||
|
|
||||||
# Menu Icon
|
# Menu Icon
|
||||||
!nogui {
|
!nogui {
|
||||||
menuicon.files = icons/qBittorrent.desktop
|
menuicon.files = icons/qbittorrent.desktop
|
||||||
menuicon.path = $$DATADIR/applications/
|
menuicon.path = $$DATADIR/applications/
|
||||||
INSTALLS += menuicon
|
INSTALLS += menuicon
|
||||||
|
|
||||||
appdata.files = $$DIST_PATH/qBittorrent.appdata.xml
|
appdata.files = $$DIST_PATH/qbittorrent.appdata.xml
|
||||||
appdata.path = $$DATADIR/appdata/
|
appdata.path = $$DATADIR/appdata/
|
||||||
INSTALLS += appdata
|
INSTALLS += appdata
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user