rom-properties/cmake
David Korth 3f26630920 Rework MIME types for the .desktop files.
New MIME type files:
- xdg/mime.no-thumbnail.types (types that don't have supported thumbnails)
- xdg/mime.thumbnail.types (types that have supported thumbnails)

These are now read at CMake time and are used to generate the .desktop
and .thumbnailer files.

The mime.types files are one line per MIME type, which is easier to work
with than a single line of everything.

The GTK+ .thumbnailer files only have mime.thumbnail.types, whereas the
KDE .desktop files have both thumbnail and no-thumbnail.

TODO: Sort and remove duplicates?

Also: Cleaned up installation of the .desktop/.thumbnail files. Removed
the explicit source/binary directories, since these functions have good
defaults:
- CONFIGURE_FILE() uses source dir for source, binary dir for destination.
- INSTALL() defaults to binary dir.

Added some MIME types from RomData subclasses that weren't added before:
- iQuePlayer
- PokemonMini
- DidjTex
- KhronosKTX2
- PowerVR3
- SegaPVR (image/x-sega-svr only)
2020-06-29 19:44:35 -04:00
..
libs Allow disabling ZSTD entirely using ENABLE_ZSTD. 2020-06-27 03:09:19 -04:00
macros Rework MIME types for the .desktop files. 2020-06-29 19:44:35 -04:00
modules [librpbase] Use FindIconv from cmake-3.11. 2019-08-10 13:22:35 -04:00
platform [cmake] gcc.cmake: Set -Werror=implicit-function-declaration. 2020-06-20 13:55:18 -04:00
toolchain [cmake] x86_64-w64-mingw32.cmake: New toolchain file for 64-bit MinGW-w64. 2016-08-23 20:36:37 -04:00
cmake_uninstall.cmake.in CMakeLists.txt: Added an uninstall target. 2017-11-25 15:50:21 -05:00
options.cmake Allow disabling ZSTD entirely using ENABLE_ZSTD. 2020-06-27 03:09:19 -04:00
platform.cmake [cmake] platform.cmake: Consolidate the ARM 32-bit and 64-bit branches in the non-MSVC check. 2020-02-07 01:05:29 -05:00