mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00
meson, desktop, plug-ins: Generate MIMEtypes var dynamically
This way, we avoid divergence with MIMEs declared on the
plug-ins .c and .py files and we eliminate duplicate work.
See also: 2ce3c604
This commit is contained in:
parent
a2bd03a471
commit
d56676a2fa
4 changed files with 93 additions and 118 deletions
|
@ -5,7 +5,7 @@ desktop_conf.set('GIMP_COMMAND', gimp_command)
|
|||
desktop_conf.set('GIMP_VERSION', gimp_version)
|
||||
desktop_conf.set('GIMP_APP_VERSION', gimp_app_version)
|
||||
desktop_conf.set('GIMP_DESKTOP_NAME', gimp_desktop_name)
|
||||
desktop_conf.set('MIME_TYPES', ';'.join(MIMEtypes))
|
||||
desktop_conf.set('MIME_TYPES', 'image/x-xcf;' + MIMEtypes_dep.get_variable('MIMEtypes'))
|
||||
desktop_conf.set('BUG_REPORT_URL', bug_report_url)
|
||||
|
||||
desktopfilein = configure_file(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue