[libsoup] meson: Specify all the header file that are needed for libsoup
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] meson: Specify all the header file that are needed for libsoup
- Date: Mon, 3 Sep 2018 14:20:18 +0000 (UTC)
commit 95c44a35b9d51d91e3b560f2a42427978474c580
Author: Tomas Popela <tpopela redhat com>
Date: Mon Sep 3 14:10:06 2018 +0200
meson: Specify all the header file that are needed for libsoup
Technically it's not needed, as they are being included during the
compilation through include macros, but it's better to have them
specified as well.
libsoup/meson.build | 39 +++++++++++++++++++++++++++++++++++----
1 file changed, 35 insertions(+), 4 deletions(-)
---
diff --git a/libsoup/meson.build b/libsoup/meson.build
index 4f959abc..5483c803 100644
--- a/libsoup/meson.build
+++ b/libsoup/meson.build
@@ -76,6 +76,35 @@ soup_sources = [
'soup-xmlrpc-old.c',
]
+soup_headers = [
+ 'gconstructor.h',
+ 'soup-auth-basic.h',
+ 'soup-auth-digest.h',
+ 'soup-auth-ntlm.h',
+ 'soup-auth-negotiate.h',
+ 'soup-body-input-stream.h',
+ 'soup-body-output-stream.h',
+ 'soup-cache-client-input-stream.h',
+ 'soup-cache-input-stream.h',
+ 'soup-cache-private.h',
+ 'soup-client-input-stream.h',
+ 'soup-connection.h',
+ 'soup-connection-auth.h',
+ 'soup-content-processor.h',
+ 'soup-content-sniffer-stream.h',
+ 'soup-converter-wrapper.h',
+ 'soup-directory-input-stream.h',
+ 'soup-filter-input-stream.h',
+ 'soup-io-stream.h',
+ 'soup-message-private.h',
+ 'soup-message-queue.h',
+ 'soup-misc-private.h',
+ 'soup-path-map.h',
+ 'soup-proxy-resolver-wrapper.h',
+ 'soup-session-private.h',
+ 'soup-socket-private.h',
+]
+
soup_shared_headers = [
'soup-address.h',
'soup-auth.h',
@@ -129,7 +158,7 @@ soup_shared_headers = [
'soup-xmlrpc-old.h',
]
-soup_headers = soup_shared_headers + [
+soup_installed_headers = soup_shared_headers + [
'soup.h'
]
@@ -152,7 +181,7 @@ soup_gnome_installed_headers = [
]
includedir = join_paths(libsoup_api_name, meson.project_name())
-install_headers(soup_headers, subdir : includedir)
+install_headers(soup_installed_headers, subdir : includedir)
version_cdata = configuration_data()
version_cdata.set('SOUP_MAJOR_VERSION', soup_version_major)
@@ -166,7 +195,7 @@ configure_file(input : 'soup-version.h.in',
enum_types = 'soup-enum-types'
soup_enums = gnome.mkenums('soup-enum-types',
- sources : soup_headers,
+ sources : soup_installed_headers,
h_template : enum_types + '.h.template',
c_template : enum_types + '.c.template',
install_header : true,
@@ -188,7 +217,9 @@ deps = [
platform_deps
]
-libsoup = shared_library('soup-@0@'.format(apiversion), soup_sources,
+libsoup = shared_library('soup-@0@'.format(apiversion),
+ soup_sources,
+ soup_headers,
soup_enums,
version : libversion,
soversion : soversion,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]