mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-23 09:49:52 +00:00
Use reverse DNS convention for metadata files naming
Also update appdata install path. Closes #10111.
This commit is contained in:
parent
88295f8075
commit
168695bd15
@ -11,7 +11,7 @@ minimum_perc = 23
|
||||
mode = developer
|
||||
|
||||
[qbittorrent.qbittorrentdesktop_master]
|
||||
source_file = dist/unix/qbittorrent.desktop
|
||||
source_file = dist/unix/org.qbittorrent.qBittorrent.desktop
|
||||
source_lang = en
|
||||
type = DESKTOP
|
||||
minimum_perc = 23
|
||||
|
6
dist/unix/CMakeLists.txt
vendored
6
dist/unix/CMakeLists.txt
vendored
@ -31,12 +31,12 @@ if (Qt5Widgets_FOUND)
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor
|
||||
FILES_MATCHING PATTERN "*.png")
|
||||
|
||||
install(FILES qbittorrent.desktop
|
||||
install(FILES org.qbittorrent.qBittorrent.desktop
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications/
|
||||
COMPONENT data)
|
||||
|
||||
install(FILES qbittorrent.appdata.xml
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/appdata/
|
||||
install(FILES org.qbittorrent.qBittorrent.appdata.xml
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/metainfo/
|
||||
COMPONENT data)
|
||||
|
||||
install(FILES
|
||||
|
@ -35,12 +35,12 @@ nogui:systemd {
|
||||
|
||||
# Menu Icon
|
||||
!nogui {
|
||||
menuicon.files = $$DIST_PATH/qbittorrent.desktop
|
||||
menuicon.files = $$DIST_PATH/org.qbittorrent.qBittorrent.desktop
|
||||
menuicon.path = $$DATADIR/applications/
|
||||
INSTALLS += menuicon
|
||||
|
||||
appdata.files = $$DIST_PATH/qbittorrent.appdata.xml
|
||||
appdata.path = $$DATADIR/appdata/
|
||||
appdata.files = $$DIST_PATH/org.qbittorrent.qBittorrent.appdata.xml
|
||||
appdata.path = $$DATADIR/metainfo/
|
||||
INSTALLS += appdata
|
||||
|
||||
# Apps icons
|
||||
|
Loading…
Reference in New Issue
Block a user