summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xautogen.sh2
-rw-r--r--configure.ac21
-rw-r--r--gst-plugins.spec.in3
3 files changed, 22 insertions, 4 deletions
diff --git a/autogen.sh b/autogen.sh
index 098846fd..afe794d2 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -14,7 +14,7 @@ then
fi
# ensure that we have the dirs we put ext libs in to appease automake
-mkdir -p gst-libs/ext/ffmpeg/ffmpeg
+#mkdir -p gst-libs/ext/ffmpeg/ffmpeg
# source helper functions
if test ! -f common/gst-autogen.sh;
diff --git a/configure.ac b/configure.ac
index e4ba8daa..dd9e4f0c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -223,6 +223,27 @@ fi
AC_SUBST(GST_CONTROL_LIBS)
+dnl check for gstreamer-base; uninstalled is selected preferentially
+PKG_CHECK_MODULES(GST_BASE, gstreamer-base-$GST_MAJORMINOR >= $GST_REQ,
+ HAVE_GST_BASE="yes", HAVE_GST_BASE="no")
+
+if test "x$HAVE_GST_BASE" = "xno"; then
+ AC_MSG_ERROR(no GStreamer Base Libs found)
+fi
+
+AC_SUBST(GST_BASE_LIBS)
+
+dnl check for gstreamer-interfaces; uinstalled is selected preferentially
+PKG_CHECK_MODULES(GST_INTERFACES, gstreamer-interfaces-$GST_MAJORMINOR >= $GST_REQ,
+ HAVE_GST_INTERFACES="yes", HAVE_GST_INTERFACES="no")
+
+if test "x$HAVE_GST_INTERFACES" = "xno"; then
+ AC_MSG_ERROR(no GStreamer Interfaces Libs found)
+fi
+
+AC_SUBST(GST_INTERFACES_LIBS)
+
+
dnl Determine endianness
AC_C_BIGENDIAN
diff --git a/gst-plugins.spec.in b/gst-plugins.spec.in
index 673faf47..bf18d721 100644
--- a/gst-plugins.spec.in
+++ b/gst-plugins.spec.in
@@ -37,9 +37,6 @@ BuildRequires: gstreamer-tools >= %{gst_minver}
BuildRequires: gcc-c++
BuildRequires: XFree86-devel
-@USE_ARTS_TRUE@Requires: arts >= 1.1.4
-@USE_ARTS_TRUE@BuildRequires: arts-devel >= 1.1.4
-@USE_ARTS_TRUE@BuildRequires: gcc-c++
@USE_AUDIOFILE_TRUE@Requires: audiofile >= 0.2.1
@USE_AUDIOFILE_TRUE@BuildRequires: audiofile-devel >= 0.2.1
@USE_CDPARANOIA_TRUE@Requires: cdparanoia-libs >= alpha9.7