From: aduskett at gmail.com <aduskett@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/6] package/gstreamer1/gstreamer1: convert package type to meson
Date: Wed, 10 Jul 2019 11:36:29 -0400 [thread overview]
Message-ID: <20190710153634.25235-2-aduskett@gmail.com> (raw)
In-Reply-To: <20190710153634.25235-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:
- The meson build provides no 'disable-valgrind' option but checks
for the availability of valgrind/valgrind.h, so add an optional
valgrind dependency instead.
- Add the following new meson-specific options:
- -Dgtk_doc=disabled
- -Dglib-asserts=disabled
- -Dglib-checks=disabled
- -Dgobject-cast-checks=disabled
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
---
Changes v1 -> v2:
- Change valgrind check from an ifeq to the short form like libunwind. (Peter)
- Update commit message to be more clear about valgrind. (Peter)
- Fix s/DDgtk_doc/Dgtk_doc/ in the commit message. (Peter)
- Add -Dgobject-cast-checks=disabled to the commit message. (Peter)
package/gstreamer1/gstreamer1/gstreamer1.mk | 31 +++++++++++----------
1 file changed, 17 insertions(+), 14 deletions(-)
diff --git a/package/gstreamer1/gstreamer1/gstreamer1.mk b/package/gstreamer1/gstreamer1/gstreamer1.mk
index 3378232c10..cea933be84 100644
--- a/package/gstreamer1/gstreamer1/gstreamer1.mk
+++ b/package/gstreamer1/gstreamer1/gstreamer1.mk
@@ -12,24 +12,27 @@ 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 \
+ -Dglib-asserts=disabled \
+ -Dglib-checks=disabled \
+ -Dgobject-cast-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 \
host-flex \
host-pkgconf \
libglib2 \
- $(if $(BR2_PACKAGE_LIBUNWIND),libunwind)
+ $(if $(BR2_PACKAGE_LIBUNWIND),libunwind) \
+ $(if $(BR2_PACKAGE_VALGRIND),valgrind)
-$(eval $(autotools-package))
+$(eval $(meson-package))
--
2.21.0
next prev parent reply other threads:[~2019-07-10 15:36 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 ` aduskett at gmail.com [this message]
2019-07-10 19:55 ` [Buildroot] [PATCH v2 1/6] package/gstreamer1/gstreamer1: convert package type " 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
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=20190710153634.25235-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