diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-04-08 11:05:23 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-04-08 11:23:09 +0200 |
commit | 549f83afec2e578d2d648efd27f48a4ba9eb937a (patch) | |
tree | bc3f4eb82466bd5e14c1051b7425e63c227d5808 /rules/gst-plugins-ugly1.make | |
parent | 127849d8aa857302dddbfa51de51628c469da0d9 (diff) | |
download | ptxdist-549f83afec2e578d2d648efd27f48a4ba9eb937a.tar.gz ptxdist-549f83afec2e578d2d648efd27f48a4ba9eb937a.tar.xz |
gstreamer1: rename all packages gst*11 -> gst*1
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/gst-plugins-ugly1.make')
-rw-r--r-- | rules/gst-plugins-ugly1.make | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/rules/gst-plugins-ugly1.make b/rules/gst-plugins-ugly1.make new file mode 100644 index 000000000..2251ea0d4 --- /dev/null +++ b/rules/gst-plugins-ugly1.make @@ -0,0 +1,111 @@ +# -*-makefile-*- +# +# Copyright (C) 2010 by Erwin Rol <erwin@erwinrol.com> +# +# 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_UGLY1) += gst-plugins-ugly1 + +# +# Paths and names +# +GST_PLUGINS_UGLY1_VERSION := 1.0.6 +GST_PLUGINS_UGLY1_MD5 := 9ffee39153f419ae2329fbf54ed708e0 +GST_PLUGINS_UGLY1 := gst-plugins-ugly-$(GST_PLUGINS_UGLY1_VERSION) +GST_PLUGINS_UGLY1_SUFFIX := tar.xz +GST_PLUGINS_UGLY1_URL := http://gstreamer.freedesktop.org/src/gst-plugins-ugly/$(GST_PLUGINS_UGLY1).$(GST_PLUGINS_UGLY1_SUFFIX) +GST_PLUGINS_UGLY1_SOURCE := $(SRCDIR)/$(GST_PLUGINS_UGLY1).$(GST_PLUGINS_UGLY1_SUFFIX) +GST_PLUGINS_UGLY1_DIR := $(BUILDDIR)/$(GST_PLUGINS_UGLY1) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +GST_PLUGINS_UGLY1_ENABLEC-$(PTXCONF_GST_PLUGINS_UGLY1_ASFDEMUX) += asfdemux +GST_PLUGINS_UGLY1_ENABLEP-$(PTXCONF_GST_PLUGINS_UGLY1_ASFDEMUX) += asf +GST_PLUGINS_UGLY1_ENABLE-$(PTXCONF_GST_PLUGINS_UGLY1_DVDLPCMDEC) += dvdlpcmdec +GST_PLUGINS_UGLY1_ENABLE-$(PTXCONF_GST_PLUGINS_UGLY1_DVDSUB) += dvdsub +GST_PLUGINS_UGLY1_ENABLE-$(PTXCONF_GST_PLUGINS_UGLY1_XINGMUX) += xingmux +GST_PLUGINS_UGLY1_ENABLEC-$(PTXCONF_GST_PLUGINS_UGLY1_REALMEDIA) += realmedia +GST_PLUGINS_UGLY1_ENABLEP-$(PTXCONF_GST_PLUGINS_UGLY1_REALMEDIA) += rmdemux +GST_PLUGINS_UGLY1_ENABLE-$(PTXCONF_GST_PLUGINS_UGLY1_A52DEC) += a52dec +GST_PLUGINS_UGLY1_ENABLE-$(PTXCONF_GST_PLUGINS_UGLY1_AMRNB) += amrnb +GST_PLUGINS_UGLY1_ENABLE-$(PTXCONF_GST_PLUGINS_UGLY1_AMRWBDEC) += amrwb +GST_PLUGINS_UGLY1_ENABLE-$(PTXCONF_GST_PLUGINS_UGLY1_CDIO) += cdio +GST_PLUGINS_UGLY1_ENABLE-$(PTXCONF_GST_PLUGINS_UGLY1_DVDREADSRC) += dvdread +GST_PLUGINS_UGLY1_ENABLE-$(PTXCONF_GST_PLUGINS_UGLY1_LAME) += lame +GST_PLUGINS_UGLY1_ENABLE-$(PTXCONF_GST_PLUGINS_UGLY1_MAD) += mad +GST_PLUGINS_UGLY1_ENABLE-$(PTXCONF_GST_PLUGINS_UGLY1_MPEG2DEC) += mpeg2dec +GST_PLUGINS_UGLY1_ENABLE-$(PTXCONF_GST_PLUGINS_UGLY1_SID) += sidplay +GST_PLUGINS_UGLY1_ENABLE-$(PTXCONF_GST_PLUGINS_UGLY1_TWOLAME) += twolame +GST_PLUGINS_UGLY1_ENABLE-$(PTXCONF_GST_PLUGINS_UGLY1_X264) += x264 + +GST_PLUGINS_UGLY1_ENABLEC-y += $(GST_PLUGINS_UGLY1_ENABLE-y) +GST_PLUGINS_UGLY1_ENABLEC- += $(GST_PLUGINS_UGLY1_ENABLE-) +GST_PLUGINS_UGLY1_ENABLEP-y += $(GST_PLUGINS_UGLY1_ENABLE-y) + +# +# autoconf +# +GST_PLUGINS_UGLY1_CONF_TOOL := autoconf +GST_PLUGINS_UGLY1_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --enable-option-checking \ + --enable-silent-rules \ + --disable-nls \ + --disable-rpath \ + --disable-debug \ + --disable-profiling \ + --disable-valgrind \ + --disable-gcov \ + --disable-examples \ + --enable-external \ + --enable-experimental \ + --disable-gtk-doc \ + --with-package-origin="PTXDist" + +# +# the --with-plugins sadly only applies to depencyless plugings +# and when no plugins are sellected it builds them all. So +# --with-plugins is useless, so we generate a --enable-* +# and --disable-* below +# +ifneq ($(call remove_quotes,$(GST_PLUGINS_UGLY1_ENABLEC-y)),) +GST_PLUGINS_UGLY1_CONF_OPT += --enable-$(subst $(space),$(space)--enable-,$(strip $(GST_PLUGINS_UGLY1_ENABLEC-y))) +endif + +ifneq ($(call remove_quotes,$(GST_PLUGINS_UGLY1_ENABLEC-)),) +GST_PLUGINS_UGLY1_CONF_OPT += --disable-$(subst $(space),$(space)--disable-,$(strip $(GST_PLUGINS_UGLY1_ENABLEC-))) +endif + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/gst-plugins-ugly1.targetinstall: + @$(call targetinfo) + + @$(call install_init, gst-plugins-ugly1) + @$(call install_fixup, gst-plugins-ugly1,PRIORITY,optional) + @$(call install_fixup, gst-plugins-ugly1,SECTION,base) + @$(call install_fixup, gst-plugins-ugly1,AUTHOR,"Erwin Rol <erwin@erwinrol.com>") + @$(call install_fixup, gst-plugins-ugly1,DESCRIPTION,missing) + + # install all activated plugins + @for plugin in $(GST_PLUGINS_UGLY1_ENABLEP-y); do \ + $(call install_copy, gst-plugins-ugly1, 0, 0, 0644, -, \ + /usr/lib/gstreamer-1.0/libgst$${plugin}.so); \ + done + + @$(call install_finish, gst-plugins-ugly1) + + @$(call touch) + +# vim: syntax=make |