Commit Graph

3 Commits

Author SHA1 Message Date
David Korth
72ed5fcf80 [xdg] Add an AppStream metainfo XML file.
NOTE: `appstream-util verify` requires the XML file to have the correct
name in the source tree, so we can't simply have it as "metainfo.xml"
and rename on installation.

Other changes:

- rp-config.desktop: Rename on installation to:
  com.gerbilsoft.rom-properties.rp-config.desktop

- DIR_INSTALL_MIME -> DIR_INSTALL_XDG_MIME; don't set it on Windows
  or Linux.

- [xdg] CMakeLists.txt: Install based on the presence of the
  DIR_INSTALL_XDG_* variables instead of the OS.
2022-07-30 12:42:15 -04:00
David Korth
e251a5b429 [debian] rom-properties-xdg.install: Add rp-config.desktop . 2022-05-21 13:49:04 -04:00
David Korth
d857f8f409 [xdg] Install rom-properties.xml into /usr/share/mime/packages/.
debian/: Added a rom-properties-xdg package. This includes postinst and
postrm files to update the system MIME database.
2019-08-04 15:50:37 -04:00