gstreamer conclusion

Erik van Pienbroek erik at vanpienbroek.nl
Wed Jun 22 17:45:11 UTC 2011


Farkas Levente schreef op wo 22-06-2011 om 18:12 [+0200]:
> - mingw-gstreamer-ffmpeg
> not in the svn repo since not in fedora, but a good conclusion that
> before the new marcos this was working (ie with %_mingw32_configure):
> ---------------------------
> %mingw_configure "--enable-shared" "--disable-static"
> "--with-ffmpeg-extra-configure='--disable-pthreads --enable-w32threads
> --disable-muxer=matroska --disable-demuxer=matroska'"
> ---------------------------
> see the last parameter has "''", but it's no longer works. the only
> workaround i found is:
> ---------------------------
> export with_ffmpeg_extra_configure='--disable-pthreads
> --enable-w32threads --disable-muxer=matroska --disable-demuxer=matroska'
> %mingw_configure "--enable-shared" "--disable-static"
> ---------------------------
> do i add mingw-gstreamer-ffmpeg to the svn?

There's also another solution to this. You can set the environment
variables MINGW32_CONFIGURE_ARGS and MINGW64_CONFIGURE_ARGS. With this
you end up with something like this:

%build
export
MINGW32_CONFIGURE_ARGS="--with-ffmpeg-extra-configure='--disable-pthreads --enable-w32threads --disable-muxer=matroska --disable-demuxer=matroska'"
export
MINGW64_CONFIGURE_ARGS="--with-ffmpeg-extra-configure='--disable-pthreads --enable-w32threads --disable-muxer=matroska --disable-demuxer=matroska'"
%mingw_configure "--enable-shared" "--disable-static"

It's not really that much more readable but it's just another method to
achieve the same goal. It's strange anyway that you have to supply extra
ffmpeg configure arguments wrapped inside a configure argument.

Go ahead with adding this package to the svn.

Kind regards,

Erik van Pienbroek




More information about the mingw mailing list