Commit f6edcad0 authored by W. Michael Petullo's avatar W. Michael Petullo
Browse files

In .pc file, do not require GStreamer if libgstapp not available at ./configure time


Signed-off-by: W. Michael Petullo's avatarW. Michael Petullo <mike@flyn.org>
parent d2e58dac
......@@ -322,6 +322,8 @@ 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-0.10
AC_SUBST(GSTLIB) # For libdmapsharing-3.0.pc.in.
else
AC_WARN(GStreamer app element not present, transcoding will not be supported.)
fi
......
......@@ -6,6 +6,6 @@ includedir=@includedir@
Name: libdmapsharing
Description: libdmapsharing
Version: @VERSION@
Requires: glib-2.0 libsoup-2.4 gstreamer-0.10
Requires: glib-2.0 libsoup-2.4 @GSTLIB@
Libs: -L${libdir} -ldmapsharing-@API_VERSION@
Cflags: -I${includedir}/libdmapsharing-@API_VERSION@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment