Skip to content

Commit

Permalink
Use reverse DNS convention for metadata files naming
Browse files Browse the repository at this point in the history
Also update appdata install path.

Closes #10111.
  • Loading branch information
Chocobo1 committed Jan 5, 2019
1 parent 88295f8 commit 168695b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .tx/config
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions dist/unix/CMakeLists.txt
Expand Up @@ -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
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions unixconf.pri
Expand Up @@ -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
Expand Down

0 comments on commit 168695b

Please sign in to comment.