[libdmapsharing/wip/jtojnar/gstapp-dep] build: Fix vala build with gstapp in non-standard location



commit eed1eb66a0ae9816dbc387a3f260e79f64f6c428
Author: Jan Tojnar <jtojnar gmail com>
Date:   Thu Jul 2 05:07:19 2020 +0200

    build: Fix vala build with gstapp in non-standard location
    
    Some of the headers include `<gst/app/gstappsink.h>`, which is part of gstreamer-app-1.0,
    the pkg-config file only lists gstreamer-1.0 as a dependency, though. It is not guaranteed
    that they share the installation paths and indeed it is not the case on NixOS, resulting
    in build failure.
    
    Let's properly declare our dependencies so that vala-gen-introspect can find them.
    
    https://gitlab.gnome.org/GNOME/libdmapsharing/issues/11

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/configure.ac b/configure.ac
index 5ed17aa..d5e5449 100644
--- a/configure.ac
+++ b/configure.ac
@@ -322,7 +322,7 @@ PKG_CHECK_MODULES(GSTREAMERAPP,
 
 if test x"$HAVE_GSTREAMERAPP" = "xyes"; then
   AC_DEFINE(HAVE_GSTREAMERAPP, 1, [Define if GStreamer App support is enabled])
-  GSTLIB=gstreamer-1.0
+  GSTLIB="gstreamer-1.0 gstreamer-app-1.0"
   AC_SUBST(GSTLIB) # For libdmapsharing-4.0.pc.in.
 else
   AC_WARN(GStreamer app element not present, transcoding will not be supported.)


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