about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/gupnp/fix-requires.patch
blob: ffe9b68fd0436840788e4fd2cd07ba0dab4153ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/libgupnp/meson.build
+++ b/libgupnp/meson.build
@@ -110,6 +110,7 @@ pkg.generate(
     libraries : libgupnp,
     subdirs: 'gupnp-1.2',
     name : 'gupnp-1.2',
+    requires: requires,
     description : 'GObject-based UPnP library',
     version : meson.project_version(),
     filebase : 'gupnp-1.2'
--- a/meson.build
+++ a/meson.build
@@ -18,6 +18,13 @@ add_global_arguments('-DHAVE_CONFIG_H=1', language : 'c')
 
 guul = subproject('guul', default_options : ['default_library=static'])
 
+requires = [
+  dependency('glib-2.0', version : '>= 2.44'),
+  dependency('gssdp-1.2', version : '>= 1.1'),
+  dependency('libsoup-2.4', version : '>= 2.48.0'),
+  dependency('libxml-2.0')
+]
+
 dependencies = [
     dependency('glib-2.0', version : '>= 2.44'),
     dependency('gio-2.0', version : '>= 2.44'),