Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: aduskett at gmail.com <aduskett@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/6] package/gstreamer1/gstreamer1: Convert package type to meson
Date: Mon,  1 Jul 2019 18:09:59 -0400	[thread overview]
Message-ID: <20190701221004.99862-2-aduskett@gmail.com> (raw)
In-Reply-To: <20190701221004.99862-1-aduskett@gmail.com>

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.

Other changes:
  - Valgrind is no longer an option, and is checked via headers. So this option
    is removed and instead changed to a package check and a dependency.

  - Add the following new meson-specific options:
  - -DDgtk_doc=disabled
  - -Dglib-asserts=disabled
  - -Dglib-checks=disabled

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
---
 package/gstreamer1/gstreamer1/gstreamer1.mk | 32 ++++++++++++---------
 1 file changed, 19 insertions(+), 13 deletions(-)

diff --git a/package/gstreamer1/gstreamer1/gstreamer1.mk b/package/gstreamer1/gstreamer1/gstreamer1.mk
index 3378232c10..ff4074861e 100644
--- a/package/gstreamer1/gstreamer1/gstreamer1.mk
+++ b/package/gstreamer1/gstreamer1/gstreamer1.mk
@@ -12,18 +12,20 @@ GSTREAMER1_LICENSE_FILES = COPYING
 GSTREAMER1_LICENSE = LGPL-2.0+, LGPL-2.1+
 
 GSTREAMER1_CONF_OPTS = \
-	--disable-examples \
-	--disable-tests \
-	--disable-failing-tests \
-	--disable-valgrind \
-	--disable-benchmarks \
-	--disable-introspection \
-	$(if $(BR2_PACKAGE_GSTREAMER1_CHECK),,--disable-check) \
-	$(if $(BR2_PACKAGE_GSTREAMER1_TRACE),,--disable-trace) \
-	$(if $(BR2_PACKAGE_GSTREAMER1_PARSE),,--disable-parse) \
-	$(if $(BR2_PACKAGE_GSTREAMER1_GST_DEBUG),,--disable-gst-debug) \
-	$(if $(BR2_PACKAGE_GSTREAMER1_PLUGIN_REGISTRY),,--disable-registry) \
-	$(if $(BR2_PACKAGE_GSTREAMER1_INSTALL_TOOLS),,--disable-tools)
+	-Dexamples=disabled \
+	-Dtests=disabled \
+	-Dbenchmarks=disabled \
+	-Dgtk_doc=disabled \
+	-Dintrospection=disabled \
+	-Dgobject-cast-checks=disabled \
+	-Dglib-asserts=disabled \
+	-Dglib-checks=disabled \
+	-Dcheck=$(if $(BR2_PACKAGE_GSTREAMER1_CHECK),enabled,disabled) \
+	-Dtracer_hooks=$(if $(BR2_PACKAGE_GSTREAMER1_TRACE),true,false) \
+	-Doption-parsing=$(if $(BR2_PACKAGE_GSTREAMER1_PARSE),true,false) \
+	-Dgst_debug=$(if $(BR2_PACKAGE_GSTREAMER1_GST_DEBUG),true,false) \
+	-Dregistry=$(if $(BR2_PACKAGE_GSTREAMER1_PLUGIN_REGISTRY),true,false) \
+	-Dtools=$(if $(BR2_PACKAGE_GSTREAMER1_INSTALL_TOOLS),enabled,disabled)
 
 GSTREAMER1_DEPENDENCIES = \
 	host-bison \
@@ -32,4 +34,8 @@ GSTREAMER1_DEPENDENCIES = \
 	libglib2 \
 	$(if $(BR2_PACKAGE_LIBUNWIND),libunwind)
 
-$(eval $(autotools-package))
+ifeq ($(BR2_PACKAGE_VALGRIND),y)
+GSTREAMER1_DEPENDENCIES += valgrind
+endif
+
+$(eval $(meson-package))
-- 
2.21.0

  reply	other threads:[~2019-07-01 22:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-01 22:09 [Buildroot] [PATCH 0/1] convert gstreamer1 package and plugins to meson aduskett at gmail.com
2019-07-01 22:09 ` aduskett at gmail.com [this message]
2019-07-02 21:25   ` [Buildroot] [PATCH 1/6] package/gstreamer1/gstreamer1: Convert package type " Peter Seiderer
2019-07-01 22:10 ` [Buildroot] [PATCH 2/6] package/gstreamer1/gst1-plugins-base: " aduskett at gmail.com
2019-07-01 22:10 ` [Buildroot] [PATCH 3/6] package/gstreamer1/gst1-plugins-good: " aduskett at gmail.com
2019-07-01 22:10 ` [Buildroot] [PATCH 4/6] package/gstreamer1/gst1-plugins-bad: " aduskett at gmail.com
2019-07-01 22:10 ` [Buildroot] [PATCH 5/6] package/gstreamer1/gst1-plugins-ugly: " aduskett at gmail.com
2019-07-02 21:34   ` Peter Seiderer
2019-07-01 22:10 ` [Buildroot] [PATCH 6/6] package/gstreamer1/gst1-rtsp-server: " aduskett at gmail.com

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=20190701221004.99862-2-aduskett@gmail.com \
    --to=aduskett@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox