All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Seiderer <ps.report@gmx.net>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 5/6] package/gstreamer1/gst1-plugins-ugly: convert package type to meson
Date: Wed, 10 Jul 2019 23:13:18 +0200	[thread overview]
Message-ID: <20190710231318.7fea1fb6@gmx.net> (raw)
In-Reply-To: <20190710153634.25235-6-aduskett@gmail.com>

Hello Adam,

On Wed, 10 Jul 2019 11:36:33 -0400, aduskett at gmail.com wrote:

> From: Adam Duskett <Aduskett@gmail.com>
>
> GStreamer 1.16.0 is the last version to support autotools, and will be removed
> in the next version.

See previous patch...

>
> Other changes:
>   - Valgrind is no longer an option and is checked via headers, so the option
>     has been removed entirely, because the Valgrind package check is now in
>     the base gstreamer1 package.

See previous patch...

>
> Signed-off-by: Adam Duskett <Aduskett@gmail.com>
> ---
> Changes v1 -> v2:
>   - Add -Dexamples=disabled as a default config value. (Peter)
>
>  .../gst1-plugins-ugly/gst1-plugins-ugly.mk    | 55 ++++++++++---------
>  1 file changed, 29 insertions(+), 26 deletions(-)
>
> diff --git a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk
> index f3ac2f79d3..588729b7d7 100644
> --- a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk
> +++ b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk
> @@ -11,79 +11,82 @@ GST1_PLUGINS_UGLY_LICENSE_FILES = COPYING
>  # GPL licensed plugins will append to GST1_PLUGINS_UGLY_LICENSE if enabled.
>  GST1_PLUGINS_UGLY_LICENSE = LGPL-2.1+
>
> -GST1_PLUGINS_UGLY_CONF_OPTS = --disable-examples --disable-valgrind
> +GST1_PLUGINS_UGLY_CONF_OPTS += \
> +	-Dtests=disabled \
> +	-Dexamples=disabled

Keep the order:

  -Dexamples=disabled \
  -Dtests=disabled

Missing:

+	-Dgobject-cast-checks=disabled \
+	-Dglib-asserts=disabled \
+	-Dglib-checks=disabled \

>
>  GST1_PLUGINS_UGLY_CONF_OPTS += \
> -	--disable-a52dec \
> -	--disable-amrnb \
> -	--disable-amrwb \
> -	--disable-cdio \
> -	--disable-sidplay \
> -	--disable-twolame

What happend to --disable-twolame?

> +	-Da52dec=disabled \
> +	-Damrnb=disabled \
> +	-Damrwbdec=disabled \
> +	-Dcdio=disabled \
> +	-Dsidplay=disabled
>
>  GST1_PLUGINS_UGLY_DEPENDENCIES = gstreamer1 gst1-plugins-base
>
>  ifeq ($(BR2_PACKAGE_ORC),y)
> -GST1_PLUGINS_UGLY_CONF_OPTS += --enable-orc
> +GST1_PLUGINS_UGLY_CONF_OPTS += -Dorc=enabled
>  GST1_PLUGINS_UGLY_DEPENDENCIES += orc
> +else
> +GST1_PLUGINS_UGLY_CONF_OPTS += -Dorc=disabled
>  endif
>
>  ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_ASFDEMUX),y)
> -GST1_PLUGINS_UGLY_CONF_OPTS += --enable-asfdemux
> +GST1_PLUGINS_UGLY_CONF_OPTS += -Dasfdemux=enabled
>  else
> -GST1_PLUGINS_UGLY_CONF_OPTS += --disable-asfdemux
> +GST1_PLUGINS_UGLY_CONF_OPTS += -Dasfdemux=disabled
>  endif
>
>  ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDLPCMDEC),y)
> -GST1_PLUGINS_UGLY_CONF_OPTS += --enable-dvdlpcmdec
> +GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdlpcmdec=enabled
>  else
> -GST1_PLUGINS_UGLY_CONF_OPTS += --disable-dvdlpcmdec
> +GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdlpcmdec=disabled
>  endif
>
>  ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDSUB),y)
> -GST1_PLUGINS_UGLY_CONF_OPTS += --enable-dvdsub
> +GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdsub=enabled
>  else
> -GST1_PLUGINS_UGLY_CONF_OPTS += --disable-dvdsub
> +GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdsub=disabled
>  endif
>
>  ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_XINGMUX),y)
> -GST1_PLUGINS_UGLY_CONF_OPTS += --enable-xingmux
> +GST1_PLUGINS_UGLY_CONF_OPTS += -Dxingmux=enabled
>  else
> -GST1_PLUGINS_UGLY_CONF_OPTS += --disable-xingmux
> +GST1_PLUGINS_UGLY_CONF_OPTS += -Dxingmux=disabled
>  endif
>
>  ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_REALMEDIA),y)
> -GST1_PLUGINS_UGLY_CONF_OPTS += --enable-realmedia
> +GST1_PLUGINS_UGLY_CONF_OPTS += -Drealmedia=enabled
>  else
> -GST1_PLUGINS_UGLY_CONF_OPTS += --disable-realmedia
> +GST1_PLUGINS_UGLY_CONF_OPTS += -Drealmedia=disabled
>  endif
>
>  ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDREAD),y)
>  # configure does not use pkg-config to detect libdvdread
>  ifeq ($(BR2_PACKAGE_LIBDVDCSS)$(BR2_STATIC_LIBS),yy)
> -GST1_PLUGINS_UGLY_CONF_ENV += LIBS="-ldvdcss"
> +GST1_PLUGINS_UGLY_LDFLAGS +="-ldvdcss"

Missing space (GST1_PLUGINS_UGLY_LDFLAGS += "-ldvdcss")?

Regards,
Peter

>  endif
> -GST1_PLUGINS_UGLY_CONF_OPTS += --enable-dvdread
> +GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdread=enabled
>  GST1_PLUGINS_UGLY_DEPENDENCIES += libdvdread
>  GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y
>  else
> -GST1_PLUGINS_UGLY_CONF_OPTS += --disable-dvdread
> +GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdread=disabled
>  endif
>
>  ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MPEG2DEC),y)
> -GST1_PLUGINS_UGLY_CONF_OPTS += --enable-mpeg2dec
> +GST1_PLUGINS_UGLY_CONF_OPTS += -Dmpeg2dec=enabled
>  GST1_PLUGINS_UGLY_DEPENDENCIES += libmpeg2
>  GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y
>  else
> -GST1_PLUGINS_UGLY_CONF_OPTS += --disable-mpeg2dec
> +GST1_PLUGINS_UGLY_CONF_OPTS += -Dmpeg2dec=disabled
>  endif
>
>  ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_X264),y)
> -GST1_PLUGINS_UGLY_CONF_OPTS += --enable-x264
> +GST1_PLUGINS_UGLY_CONF_OPTS += -Dx264=enabled
>  GST1_PLUGINS_UGLY_DEPENDENCIES += x264
>  GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y
>  else
> -GST1_PLUGINS_UGLY_CONF_OPTS += --disable-x264
> +GST1_PLUGINS_UGLY_CONF_OPTS += -Dx264=disabled
>  endif
>
>  # Add GPL license if GPL plugins enabled.
> @@ -94,4 +97,4 @@ endif
>  # Use the following command to extract license info for plugins.
>  # # find . -name 'plugin-*.xml' | xargs grep license
>
> -$(eval $(autotools-package))
> +$(eval $(meson-package))

  reply	other threads:[~2019-07-10 21:13 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-10 15:36 [Buildroot] [PATCH v2 0/6] gstreamer1: convert packages to meson aduskett at gmail.com
2019-07-10 15:36 ` [Buildroot] [PATCH v2 1/6] package/gstreamer1/gstreamer1: convert package type " aduskett at gmail.com
2019-07-10 19:55   ` Peter Seiderer
2019-07-10 20:01   ` Peter Seiderer
2019-07-10 21:38     ` Arnout Vandecappelle
2019-07-10 15:36 ` [Buildroot] [PATCH v2 2/6] package/gstreamer1/gst1-plugins-base: " aduskett at gmail.com
2019-07-10 20:23   ` Peter Seiderer
2019-07-10 15:36 ` [Buildroot] [PATCH v2 3/6] package/gstreamer1/gst1-plugins-good: " aduskett at gmail.com
2019-07-10 20:52   ` Peter Seiderer
2019-07-10 21:53     ` Arnout Vandecappelle
2019-07-11 19:30       ` Peter Seiderer
2019-07-12  9:42         ` Arnout Vandecappelle
2019-07-12 18:56           ` Peter Seiderer
2019-07-10 20:57   ` Peter Seiderer
2019-07-10 15:36 ` [Buildroot] [PATCH v2 4/6] package/gstreamer1/gst1-plugins-bad: " aduskett at gmail.com
2019-07-10 21:08   ` Peter Seiderer
2019-07-10 21:57     ` Arnout Vandecappelle
2019-07-10 22:14     ` Adam Duskett
2019-07-10 15:36 ` [Buildroot] [PATCH v2 5/6] package/gstreamer1/gst1-plugins-ugly: " aduskett at gmail.com
2019-07-10 21:13   ` Peter Seiderer [this message]
2019-07-10 22:10     ` Adam Duskett
2019-07-10 15:36 ` [Buildroot] [PATCH v2 6/6] package/gstreamer1/gst1-rtsp-server: " aduskett at gmail.com
2019-07-10 21:22   ` Peter Seiderer
2019-07-10 21:49 ` [Buildroot] [PATCH v2 0/6] gstreamer1: convert packages " Arnout Vandecappelle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190710231318.7fea1fb6@gmx.net \
    --to=ps.report@gmx.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.