[gupnp-dlna/wip/meson: 3/8] build: Fix pkg-config generation
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp-dlna/wip/meson: 3/8] build: Fix pkg-config generation
- Date: Tue, 6 Oct 2020 14:20:59 +0000 (UTC)
commit 488cb4ba0843f39515146fd61ad5ce9ca23e1c84
Author: Jens Georg <mail jensge org>
Date: Thu Oct 31 16:09:15 2019 +0100
build: Fix pkg-config generation
libgupnp-dlna/meson.build | 12 +++++++++++-
libgupnp-dlna/metadata-backends/gstreamer/meson.build | 6 ++++--
2 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/libgupnp-dlna/meson.build b/libgupnp-dlna/meson.build
index fd9ab6d..2395fc8 100644
--- a/libgupnp-dlna/meson.build
+++ b/libgupnp-dlna/meson.build
@@ -111,7 +111,17 @@ pkg.generate(
version: meson.project_version(),
subdirs : 'gupnp-dlna-2.0',
name: 'gupnp-dlna-2.0',
- description: 'GObject-based DLNA specific UPnP library'
+ description: 'GObject-based DLNA specific UPnP library',
+ libraries: [glib, gobject]
+)
+
+pkg.generate(
+ version: meson.project_version(),
+ subdirs: 'gupnp-dlna-2.0/metadata',
+ name : 'gupnp-dlna-metadata-2.0',
+ description: 'Metadata extractor plugin development files for GUPnP-DLNA',
+ libraries: [glib, gobject, gupnp_dlna],
+ variables: 'plugindir=@0@'.format(metadata_backend_dir)
)
subdir('metadata-backends')
diff --git a/libgupnp-dlna/metadata-backends/gstreamer/meson.build
b/libgupnp-dlna/metadata-backends/gstreamer/meson.build
index 21191e9..2b1c459 100644
--- a/libgupnp-dlna/metadata-backends/gstreamer/meson.build
+++ b/libgupnp-dlna/metadata-backends/gstreamer/meson.build
@@ -46,9 +46,11 @@ shared_module(
)
pkg.generate(
- libraries : libgupnp_dlna_gst,
+ libgupnp_dlna_gst,
version: meson.project_version(),
subdirs : 'gupnp-dlna-2.0',
name: 'gupnp-dlna-gst-2.0',
- description : 'GStreamer specific utils using GUPnP-DLNA'
+ description : 'GStreamer specific utils using GUPnP-DLNA',
+ libraries: gupnp_dlna,
+ requires: gstreamer_pbu
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]