mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 15:22:11 +02:00
35 lines
1.1 KiB
Meson
35 lines
1.1 KiB
Meson
iconsdir = join_paths(datadir, 'icons', 'hicolor')
|
|
|
|
appstream_util = find_program('appstream-util', required: false)
|
|
if appstream_util.found()
|
|
test('Validate appstream file', appstream_util, args: [
|
|
'validate-relax',
|
|
join_paths(meson.current_source_dir(), 'com.github.rafostar.Clapper.metainfo.xml')
|
|
])
|
|
endif
|
|
|
|
install_data('com.github.rafostar.Clapper.svg',
|
|
install_dir: join_paths(iconsdir, 'scalable', 'apps')
|
|
)
|
|
install_data('com.github.rafostar.Clapper-symbolic.svg',
|
|
install_dir: join_paths(iconsdir, 'symbolic', 'apps')
|
|
)
|
|
install_data('com.github.rafostar.Clapper.gschema.xml',
|
|
install_dir: join_paths(datadir, 'glib-2.0', 'schemas')
|
|
)
|
|
install_data('com.github.rafostar.Clapper.xml',
|
|
install_dir: join_paths(datadir, 'mime', 'packages')
|
|
)
|
|
install_data('com.github.rafostar.Clapper.desktop',
|
|
install_dir: join_paths(datadir, 'applications')
|
|
)
|
|
install_data('com.github.rafostar.Clapper.metainfo.xml',
|
|
install_dir: join_paths(datadir, 'metainfo')
|
|
)
|
|
gnome.compile_resources('com.github.rafostar.Clapper.data',
|
|
'com.github.rafostar.Clapper.data.gresource.xml',
|
|
gresource_bundle: true,
|
|
install: true,
|
|
install_dir: pkgdatadir,
|
|
)
|