Skip to content

Commit

Permalink
Fix for unsusppoted system of prior commit
Browse files Browse the repository at this point in the history
  • Loading branch information
karurochari committed Dec 16, 2024
1 parent 7fb8ece commit da787ac
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions metadata/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,31 @@ if ascli_exe.found()
ascli_exe,
args: ['validate', '--no-net', '--pedantic', metainfo_file],
)
endif

ascli_exe = find_program('appstreamcli')
custom_target(
'gen-desktop-entry',
input: [metainfo_file],
output: ['com.karurochari.vs.desktop'],
command: [ascli_exe, 'make-desktop-file', '@INPUT@', '@OUTPUT@'],
install: true,
install_dir: join_paths(get_option('datadir'), 'applications'),
)
custom_target(
'gen-desktop-entry',
input: [metainfo_file],
output: ['com.karurochari.vs.desktop'],
command: [ascli_exe, 'make-desktop-file', '@INPUT@', '@OUTPUT@'],
install: true,
install_dir: join_paths(get_option('datadir'), 'applications'),
)

install_data(
sources: ['vs.light.svg'],
rename: ['vs.svg'],
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'apps'),
)

install_data(
sources: ['vs.light.svg'],
rename: ['vs.svg'],
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'apps'),
)
# NOTE: Remember to add the XML file to POTFILES.in!
#i18n.merge_file(
# input: metainfo_file,
# output: 'com.karurochari.vs.metainfo.xml',
# type: 'xml',
# po_dir: join_paths (meson.project_source_root(), 'po'),
# install: true,
# install_dir: join_paths (get_option ('datadir'), 'metainfo')
#)
i18n = import('i18n')

# NOTE: Remember to add the XML file to POTFILES.in!
#i18n.merge_file(
# input: metainfo_file,
# output: 'com.karurochari.vs.metainfo.xml',
# type: 'xml',
# po_dir: join_paths (meson.project_source_root(), 'po'),
# install: true,
# install_dir: join_paths (get_option ('datadir'), 'metainfo')
#)
i18n = import('i18n')
endif

0 comments on commit da787ac

Please sign in to comment.