Browse Source

Use reverse DNS convention for metadata files naming

Also update appdata install path.

Closes #10111.
adaptive-webui-19844
Chocobo1 6 years ago
parent
commit
168695bd15
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      .tx/config
  2. 6
      dist/unix/CMakeLists.txt
  3. 0
      dist/unix/org.qbittorrent.qBittorrent.appdata.xml
  4. 0
      dist/unix/org.qbittorrent.qBittorrent.desktop
  5. 6
      unixconf.pri

2
.tx/config

@ -11,7 +11,7 @@ minimum_perc = 23
mode = developer mode = developer
[qbittorrent.qbittorrentdesktop_master] [qbittorrent.qbittorrentdesktop_master]
source_file = dist/unix/qbittorrent.desktop source_file = dist/unix/org.qbittorrent.qBittorrent.desktop
source_lang = en source_lang = en
type = DESKTOP type = DESKTOP
minimum_perc = 23 minimum_perc = 23

6
dist/unix/CMakeLists.txt vendored

@ -31,12 +31,12 @@ if (Qt5Widgets_FOUND)
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor
FILES_MATCHING PATTERN "*.png") FILES_MATCHING PATTERN "*.png")
install(FILES qbittorrent.desktop install(FILES org.qbittorrent.qBittorrent.desktop
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications/ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications/
COMPONENT data) COMPONENT data)
install(FILES qbittorrent.appdata.xml install(FILES org.qbittorrent.qBittorrent.appdata.xml
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/appdata/ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/metainfo/
COMPONENT data) COMPONENT data)
install(FILES install(FILES

0
dist/unix/qbittorrent.appdata.xml → dist/unix/org.qbittorrent.qBittorrent.appdata.xml vendored

0
dist/unix/qbittorrent.desktop → dist/unix/org.qbittorrent.qBittorrent.desktop vendored

6
unixconf.pri

@ -35,12 +35,12 @@ nogui:systemd {
# Menu Icon # Menu Icon
!nogui { !nogui {
menuicon.files = $$DIST_PATH/qbittorrent.desktop menuicon.files = $$DIST_PATH/org.qbittorrent.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/org.qbittorrent.qBittorrent.appdata.xml
appdata.path = $$DATADIR/appdata/ appdata.path = $$DATADIR/metainfo/
INSTALLS += appdata INSTALLS += appdata
# Apps icons # Apps icons

Loading…
Cancel
Save