squeak/src/meson.build
Morgan McMillian 977ac2d130 initial commit
2020-11-26 06:31:30 -08:00

34 lines
822 B
Meson

pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name())
moduledir = join_paths(pkgdatadir, 'squeak')
gnome = import('gnome')
#gnome.compile_resources('squeak',
# 'squeak.gresource.xml',
# gresource_bundle: true,
# install: true,
# install_dir: pkgdatadir,
#)
python = import('python')
conf = configuration_data()
conf.set('PYTHON', python.find_installation('python3').path())
conf.set('VERSION', meson.project_version())
conf.set('localedir', join_paths(get_option('prefix'), get_option('localedir')))
conf.set('pkgdatadir', pkgdatadir)
configure_file(
input: 'squeak.in',
output: 'squeak',
configuration: conf,
install: true,
install_dir: get_option('bindir')
)
squeak_sources = [
'__init__.py',
'main.py',
]
install_data(squeak_sources, install_dir: moduledir)