improve build and install

This commit is contained in:
Wim Taymans 2016-10-05 11:46:54 +02:00
parent 06765a2dea
commit 83332c8cb1
4 changed files with 10 additions and 3 deletions

View file

@ -1,4 +1,4 @@
/* config.h.in. Generated from configure.ac by autoheader. */ /* config.h. Generated by meson. */
/* Define if building universal (internal helper macro) */ /* Define if building universal (internal helper macro) */
#mesondefine AC_APPLE_UNIVERSAL_BUILD #mesondefine AC_APPLE_UNIVERSAL_BUILD

View file

@ -13,6 +13,14 @@ pinos_c_args = [
'-DG_LOG_DOMAIN=g_log_domain_pinos', '-DG_LOG_DOMAIN=g_log_domain_pinos',
] ]
conf_config = configuration_data()
conf_install_dir = '@0@/etc/pinos'.format(get_option('prefix'))
configure_file(input : 'pinos.conf.in',
output : 'pinos.conf',
configuration : conf_config,
install_dir : conf_install_dir)
executable('pinos', executable('pinos',
pinos_sources, pinos_sources,
install: true, install: true,

View file

@ -1 +1 @@
load-module module-gst load-module libpinos-module-spa

View file

@ -6,7 +6,6 @@ spa_headers = [
'defs.h', 'defs.h',
'dict.h', 'dict.h',
'format.h', 'format.h',
'memory.h',
'monitor.h', 'monitor.h',
'node-command.h', 'node-command.h',
'node-event.h', 'node-event.h',