Skip to content

Commit

Permalink
Install the AppStream file to the canonical location
Browse files Browse the repository at this point in the history
The canonical location for AppStream XML files has been changed to
/usr/share/metainfo four years ago at least, with /usr/share/appdata
left as legacy location. It is time to switch to the right location.
  • Loading branch information
pinotree committed Apr 19, 2020
1 parent 988f200 commit 09b8c54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ if(UNIX)
DESTINATION share/applications/)

install(FILES distri/${PROJECT_NAME}.desktop.appdata.xml
DESTINATION share/appdata/)
DESTINATION share/metainfo/)
endif(UNIX)

if(WIN32 AND MSVC)
Expand Down
2 changes: 1 addition & 1 deletion src/src.pro
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ unix {
desktop.path = $$DATADIR/applications/
desktop.files = ../distri/sqlitebrowser.desktop
INSTALLS += desktop
appdata.path = $$DATADIR/appdata/
appdata.path = $$DATADIR/metainfo/
appdata.files = ../distri/sqlitebrowser.desktop.appdata.xml
INSTALLS += appdata
}
Expand Down

0 comments on commit 09b8c54

Please sign in to comment.