diff --git a/src/tiled/tiled.pro b/src/tiled/tiled.pro index ffcf76f196..511e511b14 100644 --- a/src/tiled/tiled.pro +++ b/src/tiled/tiled.pro @@ -468,6 +468,10 @@ desktopfile.path = $${PREFIX}/share/applications/ desktopfile.files += ../../tiled.desktop INSTALLS += desktopfile +appdatafile.path = $${PREFIX}/share/metainfo/ +appdatafile.files += ../../tiled.appdata.xml +INSTALLS += appdatafile + manpage.path = $${PREFIX}/share/man/man1/ manpage.files += ../../man/tiled.1 INSTALLS += manpage diff --git a/src/tiled/tiled.qbs b/src/tiled/tiled.qbs index bdcf8149f1..66ab59ea63 100644 --- a/src/tiled/tiled.qbs +++ b/src/tiled/tiled.qbs @@ -487,6 +487,14 @@ QtGuiApplication { files: [ "../../tiled.desktop" ] } + Group { + name: "AppData file (Linux)" + condition: qbs.targetOS.contains("linux") + qbs.install: true + qbs.installDir: "share/metainfo" + files: [ "../../tiled.appdata.xml" ] + } + Group { name: "Thumbnailer (Linux)" condition: qbs.targetOS.contains("linux")