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



commit ae626d52883ff2fb004a8c5595bff8e222587b5d
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 0a6900b..df54ab3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -331,7 +331,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_MSG_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]