updates to make this closer to compile
authorChristian Schaller <uraeus@gnome.org>
Thu, 5 May 2005 16:35:52 +0000 (16:35 +0000)
committerChristian Schaller <uraeus@gnome.org>
Thu, 5 May 2005 16:35:52 +0000 (16:35 +0000)
Original commit message from CVS:
updates to make this closer to compile

autogen.sh
configure.ac
gst-plugins.spec.in

index 098846f..afe794d 100755 (executable)
@@ -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;
index e4ba8da..dd9e4f0 100644 (file)
@@ -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
 
index 673faf4..bf18d72 100644 (file)
@@ -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