[libdmapsharing] Fix build failure when GStreamer absent



commit 6734a176df389487c093449594ccac526142b9ab
Author: W. Michael Petullo <mike flyn org>
Date:   Sun Jul 5 16:05:59 2020 -0500

    Fix build failure when GStreamer absent
    
    Closes #30.

 libdmapsharing/Makefile.am                   | 6 +++++-
 vala/libdmapsharing-4.0-uninstalled.excludes | 2 ++
 2 files changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/libdmapsharing/Makefile.am b/libdmapsharing/Makefile.am
index c9457c7..42ad8e9 100644
--- a/libdmapsharing/Makefile.am
+++ b/libdmapsharing/Makefile.am
@@ -97,7 +97,6 @@ libdmapsharinginclude_HEADERS = \
        dmap-db.h \
        dmap-enums.h \
        dmap-error.h \
-       dmap-transcode-stream.h \
        dmap-md5.h \
        dmap-mdns-browser.h \
        dmap-mdns-publisher.h \
@@ -110,6 +109,11 @@ libdmapsharinginclude_HEADERS = \
        dmap-image-record.h \
        dmap-image-share.h
 
+if USE_GSTREAMERAPP
+libdmapsharinginclude_HEADERS += \
+       dmap-transcode-stream.h
+endif
+
 noinst_HEADERS = \
        dmap-config.h \
        dmap-connection-private.h \
diff --git a/vala/libdmapsharing-4.0-uninstalled.excludes b/vala/libdmapsharing-4.0-uninstalled.excludes
index ebb0ef1..6314211 100644
--- a/vala/libdmapsharing-4.0-uninstalled.excludes
+++ b/vala/libdmapsharing-4.0-uninstalled.excludes
@@ -1 +1,3 @@
 test-*
+gst-util.h
+dmap-transcode-*


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]