Commit 5a3bc7be authored by Michael Pyne's avatar Michael Pyne

Make juk + gstreamer build with unsermake. Also tested (eventually...) on automake.

svn path=/trunk/kdemultimedia/juk/; revision=360872
parent 2e170e5b
......@@ -77,8 +77,8 @@ mblibs = -lmusicbrainz -ltunepimp
endif
##################################################
juk_LDADD = $(LIB_GST) $(mblibs) -lartskde $(LIB_KIO) $(taglib_libs)
juk_LDFLAGS = $(all_libraries) $(KDE_RPATH)
juk_LDADD = $(LDADD_GST) $(mblibs) -lartskde $(LIB_KIO) $(taglib_libs)
juk_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LDFLAGS_GST)
tagguessertest_LDADD = $(LIB_KDECORE)
tagguessertest_LDFLAGS = $(all_libraries)
......
......@@ -125,15 +125,18 @@ if test "$PKGCONFIGFOUND" = "yes" ; then
dnl Give error if we don't have gstreamer
if test "x$have_gst" = "xno"; then
LIB_GST=""
CFLAGS_GST=""
LDADD_GST=""
LDFLAGS_GST=""
AC_MSG_WARN([GStreamer version >= $GST_REQ required.])
AC_DEFINE(HAVE_GSTREAMER, 0, [have GStreamer])
else
LIB_GST=$GST_LIBS
CFLAGS_GST=$GST_CFLAGS
AC_SUBST(LIB_GST)
LDADD_GST=`$PKG_CONFIG --libs-only-l gstreamer-$GST_MAJORMINOR`
LDFLAGS_GST=`$PKG_CONFIG --libs-only-other gstreamer-$GST_MAJORMINOR`
AC_SUBST(CFLAGS_GST)
AC_SUBST(LDADD_GST)
AC_SUBST(LDFLAGS_GST)
AC_MSG_NOTICE([GStreamer version >= $GST_REQ found.])
AC_DEFINE(HAVE_GSTREAMER, 1, [have GStreamer])
fi
......
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