mirror of
https://github.com/zoriya/ags.git
synced 2025-12-06 00:06:10 +00:00
* rework widget subclassing #121 * remove Utils.connect, add Widget.bind, Widget.connectTo * add: types for on_event fields * bump version to 1.5.1 * export service classes and named instance constants * add starter config example
42 lines
1020 B
Meson
42 lines
1020 B
Meson
project('ags', 'c',
|
|
version: '1.5.1',
|
|
meson_version: '>= 0.62.0',
|
|
license: ['GPL-3.0-or-later'],
|
|
default_options: [ 'warning_level=2', 'werror=false', ],
|
|
)
|
|
|
|
app_id = 'com.github.Aylur.ags'
|
|
prefix = get_option('prefix')
|
|
libdir = join_paths(prefix, get_option('libdir'))
|
|
extensiondir = join_paths(libdir, meson.project_name())
|
|
datadir = join_paths(prefix, get_option('datadir'))
|
|
pkgdatadir = join_paths(datadir, app_id)
|
|
bindir = join_paths(prefix, get_option('bindir'))
|
|
|
|
dependency('glib-2.0')
|
|
dependency('gobject-introspection-1.0', version: '>= 1.49.1')
|
|
dependency('gio-2.0', version: '>= 2.56.0')
|
|
dependency('gjs-1.0', version: '>= 1.73.1')
|
|
dependency('gtk+-3.0', version: '>= 3.0')
|
|
|
|
subproject('gvc',
|
|
default_options: [
|
|
'package_name=' + app_id,
|
|
'pkgdatadir=' + pkgdatadir,
|
|
'pkglibdir=' + libdir,
|
|
'static=false',
|
|
'introspection=true',
|
|
'alsa=false'
|
|
]
|
|
)
|
|
|
|
subdir('src')
|
|
|
|
meson.add_install_script(
|
|
'meson_post_install.py',
|
|
datadir,
|
|
pkgdatadir,
|
|
bindir,
|
|
app_id
|
|
)
|