From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] How to build the qt plugin in gst1-plugins-bad ?
Date: Fri, 21 Jul 2017 09:44:15 +0200 [thread overview]
Message-ID: <20170721094415.0cc6cab2@windsurf> (raw)
In-Reply-To: <CADujc4oPL-onF043v64kvhyUP7SUxEu6Jc6ArGg_PKj6ohTD_Q@mail.gmail.com>
Hello,
On Fri, 21 Jul 2017 15:39:35 +0800, Glenn Coombs wrote:
> Thanks for all your help. I have now succeeded in building this plugin.
Great!
> The last of these required me to modify the Config.in and
> gst1-plugins-bad.mk files in the gst1-plugins-bad directory to create the
> new "qt" setting. The diff for these changes is as follows:
>
> diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in
> b/package/gstreamer1/gst1-plugins-bad/Config.in
> index 0c97899..22aacb3 100644
> --- a/package/gstreamer1/gst1-plugins-bad/Config.in
> +++ b/package/gstreamer1/gst1-plugins-bad/Config.in
> @@ -349,6 +349,11 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PNM
> help
> PNM plugin
>
> +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_QT
> + bool "qt"
> + help
> + Qt plugin
> +
> config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RAWPARSE
> bool "rawparse"
> help
> diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
> b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
> index 2e9e6f1..1caca13 100644
> --- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
> +++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
> @@ -58,8 +58,7 @@ GST1_PLUGINS_BAD_CONF_OPTS += \
> --disable-schro \
> --disable-zbar \
> --disable-spandsp \
> - --disable-gtk3 \
> - --disable-qt
> + --disable-gtk3
>
> GST1_PLUGINS_BAD_DEPENDENCIES = gst1-plugins-base gstreamer1
>
> @@ -403,6 +402,12 @@ else
> GST1_PLUGINS_BAD_CONF_OPTS += --disable-pnm
> endif
>
> +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_QT),y)
> +GST1_PLUGINS_BAD_CONF_OPTS += --enable-qt
> +else
> +GST1_PLUGINS_BAD_CONF_OPTS += --disable-qt
> +endif
> +
> ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RAWPARSE),y)
> GST1_PLUGINS_BAD_CONF_OPTS += --enable-rawparse
> else
>
> Hopefully those changes can be incorporated into buildroot so that other
> people will be able to make use of this package.
Could you instead submit this as a proper patch to Buildroot? See
https://buildroot.org/downloads/manual/manual.html#submitting-patches
for details on how to contribute a patch to Buildroot.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-07-21 7:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-19 9:17 [Buildroot] How to build the qt plugin in gst1-plugins-bad ? Glenn Coombs
2017-07-19 9:35 ` Thomas Petazzoni
2017-07-19 9:55 ` Glenn Coombs
2017-07-19 10:01 ` Thomas Petazzoni
2017-07-21 7:39 ` Glenn Coombs
2017-07-21 7:44 ` Thomas Petazzoni [this message]
2017-07-21 8:35 ` Glenn Coombs
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=20170721094415.0cc6cab2@windsurf \
--to=thomas.petazzoni@free-electrons.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