pc_desc = 'GObject instrospection library for control interface in asound.h'
+gir_includes = common_gir_includes
+
# For test.
build_dirs += {'alsactl': meson.current_build_dir()}
identifier_prefix: namespace,
export_packages: name,
dependencies: dependencies,
- includes: [
- 'GLib-2.0',
- 'GObject-2.0',
- ],
+ includes: gir_includes,
header: 'alsactl.h',
install: true,
)
pc_desc = 'GObject instrospection library for HwDep interface in asound.h'
+gir_includes = common_gir_includes
+
# For test.
build_dirs += {'alsahwdep': meson.current_build_dir()}
identifier_prefix: namespace,
export_packages: name,
dependencies: dependencies,
- includes: [
- 'GLib-2.0',
- 'GObject-2.0',
- ],
+ includes: gir_includes,
header: 'alsahwdep.h',
install: true,
)
gnome = import('gnome')
pkg = import('pkgconfig')
+common_gir_includes = [
+ 'GLib-2.0',
+ 'GObject-2.0',
+]
+
build_dirs = {}
subdir('ctl')
pc_desc = 'GObject instrospection library for RawMidi interface in asound.h'
+gir_includes = common_gir_includes
+
# For test.
build_dirs += {'alsarawmidi': meson.current_build_dir()}
identifier_prefix: namespace,
export_packages: name,
dependencies: dependencies,
- includes: [
- 'GLib-2.0',
- 'GObject-2.0',
- ],
+ includes: gir_includes,
header: 'alsarawmidi.h',
install: true,
)
pc_desc = 'GObject instrospection library for sequencer interface in asequencer.h'
+gir_includes = [common_gir_includes, alsatimer_gir[0]]
+
# For test.
build_dirs += {'alsaseq': meson.current_build_dir()}
identifier_prefix: namespace,
export_packages: name,
dependencies: dependencies,
- includes: [
- 'GLib-2.0',
- 'GObject-2.0',
- alsatimer_gir[0],
- ],
+ includes: gir_includes,
header: 'alsaseq.h',
install: true,
)
pc_desc = 'GObject instrospection library for timer interface in asound.h'
+gir_includes = common_gir_includes
+
# For test.
build_dirs += {'alsatimer': meson.current_build_dir()}
identifier_prefix: namespace,
export_packages: name,
dependencies: dependencies,
- includes: [
- 'GLib-2.0',
- 'GObject-2.0',
- ],
+ includes: gir_includes,
header: 'alsatimer.h',
install: true,
)