[gupnp] build: Fix public dependencies
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp] build: Fix public dependencies
- Date: Wed, 1 May 2019 20:34:43 +0000 (UTC)
commit ff8521963f83ad330dd69c3df8434d9614ded768
Author: Jens Georg <mail jensge org>
Date: Wed May 1 22:32:58 2019 +0200
build: Fix public dependencies
Fixes #7
libgupnp/gupnp-service-info.h | 1 -
libgupnp/meson.build | 3 ++-
meson.build | 3 +--
3 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/libgupnp/gupnp-service-info.h b/libgupnp/gupnp-service-info.h
index 25cb8ab..0e4fd72 100644
--- a/libgupnp/gupnp-service-info.h
+++ b/libgupnp/gupnp-service-info.h
@@ -23,7 +23,6 @@
#define GUPNP_SERVICE_INFO_H
#include <glib-object.h>
-#include <libxml/tree.h>
#include <libsoup/soup-uri.h>
#include "gupnp-context.h"
diff --git a/libgupnp/meson.build b/libgupnp/meson.build
index b832acb..02350f4 100644
--- a/libgupnp/meson.build
+++ b/libgupnp/meson.build
@@ -1,6 +1,6 @@
context_manager_impl = []
context_manager_args = []
-system_deps = []
+system_deps = [guul.get_variable('guul')]
if host_machine.system() == 'windows'
context_manager_impl += 'gupnp-windows-context-manager.c'
@@ -110,6 +110,7 @@ pkg.generate(
libraries : libgupnp,
subdirs: 'gupnp-1.2',
name : 'gupnp-1.2',
+ requires : dependencies,
description : 'GObject-based UPnP library',
version : meson.project_version(),
filebase : 'gupnp-1.2'
diff --git a/meson.build b/meson.build
index 9cf4697..99948a3 100644
--- a/meson.build
+++ b/meson.build
@@ -25,8 +25,7 @@ dependencies = [
dependency('gobject-2.0', version : '>= 2.44'),
dependency('gssdp-1.2', version : '>= 1.1.3'),
dependency('libsoup-2.4', version : '>= 2.48.0'),
- dependency('libxml-2.0'),
- guul.get_variable('guul')
+ dependency('libxml-2.0')
]
subdir('libgupnp')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]