summaryrefslogtreecommitdiffstats
path: root/src/modules/raop/meson.build
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/modules/raop/meson.build30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/modules/raop/meson.build b/src/modules/raop/meson.build
new file mode 100644
index 0000000..3df07dc
--- /dev/null
+++ b/src/modules/raop/meson.build
@@ -0,0 +1,30 @@
+libraop_sources = [
+ 'raop-client.c',
+ 'raop-crypto.c',
+ 'raop-packet-buffer.c',
+ 'raop-sink.c',
+ 'raop-util.c',
+]
+
+libraop_headers = [
+ 'raop-client.h',
+ 'raop-crypto.h',
+ 'raop-packet-buffer.h',
+ 'raop-sink.h',
+ 'raop-util.h',
+]
+
+# FIXME: meson doesn't support multiple RPATH arguments currently
+rpath_dirs = join_paths(privlibdir) + ':' + join_paths(modlibexecdir)
+
+libraop = shared_library('raop',
+ libraop_sources,
+ libraop_headers,
+ c_args : [pa_c_args, server_c_args],
+ link_args : [nodelete_link_args],
+ include_directories : [configinc, topinc],
+ dependencies : [libpulse_dep, libpulsecommon_dep, libpulsecore_dep, librtp_dep, libm_dep, openssl_dep, libintl_dep],
+ install : true,
+ install_rpath : rpath_dirs,
+ install_dir : modlibexecdir,
+)