2020-03-04 22:52:09 -05:00
|
|
|
project('shew', 'c',
|
2021-09-01 19:39:29 -04:00
|
|
|
version: '41.rc',
|
2020-03-05 09:35:48 -05:00
|
|
|
meson_version: '>= 0.53.0',
|
2020-03-04 22:52:09 -05:00
|
|
|
license: 'LGPLv2+',
|
|
|
|
)
|
|
|
|
|
|
|
|
assert(meson.is_subproject(), 'This project is only intended to be used as a subproject!')
|
|
|
|
|
|
|
|
gnome = import('gnome')
|
|
|
|
pkg = import('pkgconfig')
|
|
|
|
|
|
|
|
api_version = '0'
|
|
|
|
full_name = '@0@-@1@'.format(meson.project_name(), api_version)
|
|
|
|
|
|
|
|
package_version = meson.project_version()
|
|
|
|
package_name = get_option('package_name')
|
|
|
|
assert(package_name != '', 'package_name must be specified')
|
|
|
|
|
|
|
|
pkgdatadir = join_paths(get_option('datadir'), package_name)
|
|
|
|
pkglibdir = join_paths(get_option('libdir'), package_name)
|
|
|
|
|
|
|
|
girdir = join_paths(pkgdatadir, 'gir-1.0')
|
|
|
|
typelibdir = join_paths(pkglibdir, 'girepository-1.0')
|
|
|
|
|
2020-04-15 14:27:15 -04:00
|
|
|
gtk_dep = dependency('gtk4')
|
2020-04-15 14:27:15 -04:00
|
|
|
x11_dep = dependency('x11', required: false)
|
2020-03-04 22:52:09 -05:00
|
|
|
|
|
|
|
subdir('src')
|