mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
Initial meson build system support. We do not create .desktop file yet, but we need an option to open media files from GUI first anyway.
15 lines
360 B
Meson
15 lines
360 B
Meson
sharedir = join_paths(get_option('prefix'), 'share')
|
|
gjsdir = join_paths(sharedir, 'gjs-1.0')
|
|
importspath = join_paths(sharedir, meson.project_name())
|
|
|
|
gjs_conf = configuration_data()
|
|
gjs_conf.set('importspath', importspath)
|
|
|
|
configure_file(
|
|
input: 'clapper.js.in',
|
|
output: 'clapper.js',
|
|
configuration: gjs_conf,
|
|
install: true,
|
|
install_dir: gjsdir
|
|
)
|