summaryrefslogtreecommitdiffstats
path: root/subprojects/shew/meson.build
blob: 94ef48ff1e83d7d38ad4e817715991323c9e9f62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
project('shew', 'c',
  version: '3.38.6',
  meson_version: '>= 0.53.0',
  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')

gtk_dep = dependency('gtk+-3.0')

subdir('src')