)
headers = files(
- 'alsactl.h',
'query.h',
'card.h',
'card-info.h',
inc_dir = join_paths(meson.project_name(), path)
+top_header = '@0@.h'.format(name)
+headers += top_header
+
# Generate enumerations for GObject fashion.
if has_enumerations
enum_header = '@0@-enum-types.h'.format(name)
identifier_prefix: namespace,
install_header: true,
install_dir: join_paths(get_option('includedir'), inc_dir),
- header_prefix: '#include <alsactl.h>',
+ header_prefix: '#include <@0@>'.format(top_header),
)
else
enums = []
export_packages: name,
dependencies: dependencies,
includes: gir_includes,
- header: 'alsactl.h',
+ header: top_header,
install: true,
)
)
headers = files(
- 'alsahwdep.h',
'query.h',
'device-info.h',
)
inc_dir = join_paths(meson.project_name(), path)
+top_header = '@0@.h'.format(name)
+headers += top_header
+
# Generate enumerations for GObject fashion.
if has_enumerations
enum_header = '@0@-enum-types.h'.format(name)
identifier_prefix: namespace,
install_header: true,
install_dir: join_paths(get_option('includedir'), inc_dir),
- header_prefix: '#include <alsahwdep.h>',
+ header_prefix: '#include <@0@>'.format(top_header),
)
else
enums = []
export_packages: name,
dependencies: dependencies,
includes: gir_includes,
- header: 'alsahwdep.h',
+ header: top_header,
install: true,
)
inc_dir = join_paths(meson.project_name(), path)
+top_header = '@0@.h'.format(name)
+headers += top_header
+
# Generate enumerations for GObject fashion.
if has_enumerations
enum_header = '@0@-enum-types.h'.format(name)
identifier_prefix: namespace,
install_header: true,
install_dir: join_paths(get_option('includedir'), inc_dir),
- header_prefix: '#include <alsarawmidi.h>',
+ header_prefix: '#include <@0@>'.format(top_header),
)
else
enums = []
export_packages: name,
dependencies: dependencies,
includes: gir_includes,
- header: 'alsarawmidi.h',
+ header: top_header,
install: true,
)
)
headers = files(
- 'alsaseq.h',
'query.h',
'system-info.h',
'client-info.h',
inc_dir = join_paths(meson.project_name(), path)
+top_header = '@0@.h'.format(name)
+headers += top_header
+
# Generate enumerations for GObject fashion.
if has_enumerations
enum_header = '@0@-enum-types.h'.format(name)
identifier_prefix: namespace,
install_header: true,
install_dir: join_paths(get_option('includedir'), inc_dir),
- header_prefix: '#include <alsaseq.h>',
+ header_prefix: '#include <@0@>'.format(top_header),
)
else
enums = []
export_packages: name,
dependencies: dependencies,
includes: gir_includes,
- header: 'alsaseq.h',
+ header: top_header,
install: true,
)
)
headers = files(
- 'alsatimer.h',
'query.h',
'device-id.h',
'device-info.h',
inc_dir = join_paths(meson.project_name(), path)
+top_header = '@0@.h'.format(name)
+headers += top_header
+
# Generate enumerations for GObject fashion.
if has_enumerations
enum_header = '@0@-enum-types.h'.format(name)
identifier_prefix: namespace,
install_header: true,
install_dir: join_paths(get_option('includedir'), inc_dir),
- header_prefix: '#include <alsatimer.h>',
+ header_prefix: '#include <@0@>'.format(top_header),
)
else
enums = []
export_packages: name,
dependencies: dependencies,
includes: gir_includes,
- header: 'alsatimer.h',
+ header: top_header,
install: true,
)