rpms/gstreamer-plugins-good/F-9 gst-default.m4, NONE, 1.1 gstreamer-plugins-good.spec, 1.58, 1.59

Bastien Nocera (hadess) fedora-extras-commits at redhat.com
Tue Jun 3 17:57:11 UTC 2008


Author: hadess

Update of /cvs/pkgs/rpms/gstreamer-plugins-good/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1897

Modified Files:
	gstreamer-plugins-good.spec 
Added Files:
	gst-default.m4 
Log Message:
* Tue Jun 03 2008 - Bastien Nocera <bnocera at redhat.com> - 0.10.8-4
- Try to really fix that stupid sound output bug (#449268)



--- NEW FILE gst-default.m4 ---
dnl default elements used for tests and such

dnl AG_GST_DEFAULT_ELEMENTS

AC_DEFUN([AG_GST_DEFAULT_ELEMENTS],
[
  dnl decide on default elements
  dnl FIXME: provide configure-time options for this
  dnl FIXME: describe where exactly this gets used
  dnl FIXME: decide if it's a problem that this could point to sinks from
  dnl        depending plugin modules
  DEFAULT_AUDIOSINK="autoaudiosink"
  DEFAULT_VIDEOSINK="autovideosink"
  DEFAULT_AUDIOSRC="alsasrc"
  DEFAULT_VIDEOSRC="v4lsrc"
  DEFAULT_VISUALIZER="goom"
  case "$host" in
    *-sun-* | *pc-solaris* )
      DEFAULT_AUDIOSINK="sunaudiosink"
      DEFAULT_VIDEOSINK="ximagesink"
      DEFAULT_AUDIOSRC="sunaudiosrc"
      ;;
    *-darwin* )
      DEFAULT_AUDIOSINK="osxaudiosink"
      DEFAULT_AUDIOSRC="osxaudiosrc"
      DEFAULT_VIDEOSINK="osxvideosink"
      ;;
  esac
  
  AC_SUBST(DEFAULT_AUDIOSINK)
  AC_DEFINE_UNQUOTED(DEFAULT_AUDIOSINK, "$DEFAULT_AUDIOSINK",
    [Default audio sink])
  AC_SUBST(DEFAULT_AUDIOSRC)
  AC_DEFINE_UNQUOTED(DEFAULT_AUDIOSRC, "$DEFAULT_AUDIOSRC",
    [Default audio source])
  AC_SUBST(DEFAULT_VIDEOSINK)
  AC_DEFINE_UNQUOTED(DEFAULT_VIDEOSINK, "$DEFAULT_VIDEOSINK",
    [Default video sink])
  AC_SUBST(DEFAULT_VIDEOSRC)
  AC_DEFINE_UNQUOTED(DEFAULT_VIDEOSRC, "$DEFAULT_VIDEOSRC",
    [Default video source])
  AC_SUBST(DEFAULT_VISUALIZER)
  AC_DEFINE_UNQUOTED(DEFAULT_VISUALIZER, "$DEFAULT_VISUALIZER",
    [Default visualizer])
])


Index: gstreamer-plugins-good.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gstreamer-plugins-good/F-9/gstreamer-plugins-good.spec,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- gstreamer-plugins-good.spec	2 Jun 2008 09:30:24 -0000	1.58
+++ gstreamer-plugins-good.spec	3 Jun 2008 17:56:17 -0000	1.59
@@ -6,13 +6,14 @@
 
 Name: 		%{gstreamer}-plugins-good
 Version: 	0.10.8
-Release:  	3%{?dist}
+Release:  	5%{?dist}
 Summary: 	GStreamer plug-ins with good code and licensing
 
 Group: 		Applications/Multimedia
 License: 	LGPL
 URL:		http://gstreamer.freedesktop.org/
 Source:         http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-%{version}.tar.bz2
+Source2:	gst-default.m4
 Patch0:		gst-plugins-good-0.10.8-docs.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -61,6 +62,9 @@
 BuildRequires:  PyXML
 BuildRequires:  hal-devel
 
+# http://bugzilla.gnome.org/show_bug.cgi?id=532295
+BuildRequires:  autoconf automake libtool gettext-devel
+
 %description
 GStreamer is a streaming media framework, based on graphs of filters which
 operate on media data. Applications using this library can do anything
@@ -94,16 +98,17 @@
 %prep
 %setup -q -n gst-plugins-good-%{version}
 %patch0 -p1 -b .docs
+cp %{SOURCE2} common/m4
 
 %build
 
+NOCONFIGURE=1 ./autogen.sh
 %configure \
   --with-package-name='Fedora gstreamer-plugins-good package' \
   --with-package-origin='http://download.fedora.redhat.com/fedora' \
   --disable-gtkdoc \
   --enable-experimental \
-  --enable-ladspa \
-  --with-default-audiosink=autoaudiosink
+  --enable-ladspa
 
 make %{?_smp_mflags}
 pushd ext/ladspa
@@ -235,6 +240,9 @@
 gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gstreamer-%{majorminor}.schemas > /dev/null || :
 
 %changelog
+* Tue Jun 03 2008 - Bastien Nocera <bnocera at redhat.com> - 0.10.8-4
+- Try to really fix that stupid sound output bug (#449268)
+
 * Mon Jun 02 2008 - Bastien Nocera <bnocera at redhat.com> - 0.10.8-3
 - Work-around bug that would set the default audio output to "GOOM!"
   See http://bugzilla.gnome.org/show_bug.cgi?id=532295




More information about the fedora-extras-commits mailing list