Rename to blueprint-compiler

This isn't an official GTK project so better to avoid using "GTK" in the
name.
This commit is contained in:
James Westman 2021-12-01 15:35:58 -06:00
parent be3c0de670
commit 544d152fb6
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
37 changed files with 33 additions and 33 deletions

View file

@ -1,4 +1,4 @@
project('gtk-blueprint-tool',
project('blueprint-compiler',
version: '0.1.0',
)
@ -10,23 +10,23 @@ libdir = join_paths(prefix, get_option('libdir'))
py = import('python').find_installation('python3')
configure_file(
input: 'gtk-blueprint-tool.pc.in',
output: 'gtk-blueprint-tool.pc',
input: 'blueprint-compiler.pc.in',
output: 'blueprint-compiler.pc',
configuration: { 'VERSION': meson.project_version() },
install: not meson.is_subproject(),
install_dir: join_paths(libdir, 'pkgconfig'),
)
install_data(
'gtk-blueprint-tool.py',
'blueprint-compiler.py',
install_dir: get_option('bindir'),
rename: 'gtk-blueprint-tool',
rename: 'blueprint-compiler',
)
meson.override_find_program('gtk-blueprint-tool', find_program('gtk-blueprint-tool.py'))
meson.override_find_program('blueprint-compiler', find_program('blueprint-compiler.py'))
if not meson.is_subproject()
install_subdir('gtkblueprinttool', install_dir: py.get_install_dir())
install_subdir('blueprintcompiler', install_dir: py.get_install_dir())
endif
subdir('tests')