13
0

Fix mime package install location

<prefix>/share/mime/applications gets clobbered with data from
<prefix>/share/mime/packages/*.xml every time "update-mime-database" is
run.
This commit is contained in:
Dan Church 2021-10-20 14:51:30 -05:00 committed by Paul Davis
parent 603697654d
commit b95078ae46

View File

@ -897,7 +897,7 @@ def build(bld):
obj.source = 'ardour-mime-info.xml'
obj.target = 'ardour.xml'
obj.chmod = Utils.O644
bld.install_files (os.path.join (bld.env['PREFIX'], 'share/mime/application'), 'ardour' + '.xml')
bld.install_files (os.path.join (bld.env['PREFIX'], 'share/mime/packages'), obj.target)
# build appdata with translations
appdata_i18n_mo(bld)