Michael Grzeschik wrote: > The Fluendo MP3 decoder for GStreamer will add MP3 playback capability > to all your GStreamer using applications. > > Signed-off-by: Michael Grzeschik <[email protected]> > --- > rules/gst-plugins-fluendo.in | 29 ++++++++++++ > rules/gst-plugins-fluendo.make | 96 > ++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 125 insertions(+), 0 deletions(-) > create mode 100644 rules/gst-plugins-fluendo.in > create mode 100644 rules/gst-plugins-fluendo.make > > diff --git a/rules/gst-plugins-fluendo.in b/rules/gst-plugins-fluendo.in > new file mode 100644 > index 0000000..9c6f8b8 > --- /dev/null > +++ b/rules/gst-plugins-fluendo.in > @@ -0,0 +1,29 @@ > +## SECTION=multimedia_gstreamer > + > +menuconfig GST_PLUGINS_FLUENDO > + tristate > + select GLIB > + select LIBOIL > + select GSTREAMER > + select GST_PLUGINS_BASE > + > + prompt "gst-plugins-fluendo " > + help > + The Fluendo MP3 decoder for GStreamer will add MP3 playback capability > + to all your GStreamer using applications. > + > + If you are living in a country where the MP3 patents don't apply, > + you are entitled to use the source code provided by Fluendo > + (or anyone else) to get legal MP3 support onto your Unix/GNU/Linux > desktop. > + > + In contrast, if you live in a country where patents do apply, > + or if you are a distribution maker working in countries > + where the patents apply, you need the licensed binary from Fluendo. > + > +if GST_PLUGINS_FLUENDO > + > + config GST_PLUGINS_FLUENDO_MP3 > + bool > + prompt "mp3" > + > +endif > diff --git a/rules/gst-plugins-fluendo.make b/rules/gst-plugins-fluendo.make > new file mode 100644 > index 0000000..c8a3bc5 > --- /dev/null > +++ b/rules/gst-plugins-fluendo.make > @@ -0,0 +1,96 @@ > +# > +# Copyright (C) 2010 by Michael Grzeschik <[email protected]> > +# > +# See CREDITS for details about who has contributed to this project. > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_GST_PLUGINS_FLUENDO) += gst-plugins-fluendo > + > +# > +# Paths and names > +# > +GST_PLUGINS_FLUENDO_VERSION := 0.10.10 > +GST_PLUGINS_FLUENDO := > gst-fluendo-mp3-$(GST_PLUGINS_FLUENDO_VERSION) > +GST_PLUGINS_FLUENDO_SUFFIX := tar.bz2 > +GST_PLUGINS_FLUENDO_URL := > http://core.fluendo.com/gstreamer/src/gst-fluendo-mp3/$(GST_PLUGINS_FLUENDO).$(GST_PLUGINS_FLUENDO_SUFFIX) > +GST_PLUGINS_FLUENDO_SOURCE := > $(SRCDIR)/$(GST_PLUGINS_FLUENDO).$(GST_PLUGINS_FLUENDO_SUFFIX) > +GST_PLUGINS_FLUENDO_DIR := $(BUILDDIR)/$(GST_PLUGINS_FLUENDO) > + > +# > ---------------------------------------------------------------------------- > +# Get > +# > ---------------------------------------------------------------------------- > + > +$(GST_PLUGINS_FLUENDO_SOURCE): > + @$(call targetinfo) > + @$(call get, GST_PLUGINS_FLUENDO) > + > +# > ---------------------------------------------------------------------------- > +# Prepare > +# > ---------------------------------------------------------------------------- > + > +GST_PLUGINS_FLUENDO_ENABLE-$(PTXCONF_GST_PLUGINS_FLUENDO_MP3) += mp3
this can be removed > + > +# > +# autoconf > +# > +# --without-libiconv-prefix -> we use libc iconv > +# > +GST_PLUGINS_FLUENDO_CONF_TOOL := autoconf > +GST_PLUGINS_FLUENDO_CONF_OPT := \ > + $(CROSS_AUTOCONF_USR) \ > + --disable-rpath \ > + --disable-nls \ > + --disable-debug \ > + --disable-profiling \ > + --disable-valgrind \ > + --disable-gcov \ > + --disable-examples \ > + --enable-external \ > + --enable-liboil \ > + --enable-experimental \ > + --disable-schemas-install \ > + --disable-gtk-doc \ > + --disable-gconftool \ > + --without-libiconv-prefix > + > + > +# > +# the --with-plugins sadly only applies to depencyless plugins > +# and when no plugins are sellected it builds them all. So > +# --with-plugins is useless, so we generate a --enable-* > +# and --disable-* below > +# > +ifdef PTXCONF_GST_PLUGINS_FLUENDO_MP3 > +GST_PLUGINS_FLUENDO_CONF_OPT += --enable-mp3 > +endif > + > +# > ---------------------------------------------------------------------------- > +# Target-Install > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/gst-plugins-fluendo.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, gst-plugins-fluendo) > + @$(call install_fixup, gst-plugins-fluendo,PACKAGE,gst-plugins-fluendo) > + @$(call install_fixup, gst-plugins-fluendo,PRIORITY,optional) > + @$(call install_fixup, > gst-plugins-fluendo,VERSION,$(GST_PLUGINS_FLUENDO_VERSION)) > + @$(call install_fixup, gst-plugins-fluendo,SECTION,base) > + @$(call install_fixup, gst-plugins-fluendo,AUTHOR,"Robert Schwebel > <[email protected]>") please adjust > + @$(call install_fixup, gst-plugins-fluendo,DEPENDS,) > + @$(call install_fixup, gst-plugins-fluendo,DESCRIPTION,missing) > + > + # install all activated plugins > + @$(call install_copy, gst-plugins-fluendo, 0, 0, 0644, -, > /usr/lib/gstreamer-0.10/libgstflump3dec.so) > + > + @$(call install_finish, gst-plugins-fluendo) > + > + @$(call touch) > + > +# vim: syntax=make Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list [email protected]
