From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] Add option to the gst1-plugins-bad package to enable/disable the qt plugin.
Date: Wed, 23 Aug 2017 14:32:47 +0200 [thread overview]
Message-ID: <20170823143247.716c0162@windsurf> (raw)
In-Reply-To: <CADujc4owoQzFY-7exkd5EBe1m=YMhpfa=-KFsV_k0dffhBgUdA@mail.gmail.com>
Hello,
On Mon, 24 Jul 2017 14:19:04 +0800, Glenn Coombs wrote:
> I think the code needs Qt5 rather than Qt4 as it uses the scene graph
> rendering model that only exists in Qt5. The code in the
> output/build/gst1-plugins-bad-1.12.1/ext/qt/ directory needs the following
> Qt header files in order to compile:
Correct, it uses Qt5.
> I've changed the gst1-plugins-bad/Config.in file like this:
>
> config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_QT
> bool "qt"
> depends on BR2_PACKAGE_QT5
It probably needs a bunch more options here:
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
select BR2_PACKAGE_QT5BASE
select BR2_PACKAGE_QT5BASE_GUI
select BR2_PACKAGE_QT5BASE_XML
select BR2_PACKAGE_QT5DECLARATIVE_QUICK
> which only allows the gst-plugins-bad/qt option to be selected if the Qt5
> package has already been selected. I'm not sure how to handle the
> dependencies in the gst1-plugins-bad.mk file. I think you're right that if
> I add a dependency on Qt5 then it will introduce a circular dependency as
> the qt5base.mk file has this section:
>
> ifeq ($(BR2_PACKAGE_QT5_VERSION_5_6),y)
> # gstreamer 0.10 support is broken in qt5multimedia
> ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y)
> QT5BASE_CONFIGURE_OPTS += -gstreamer 1.0
> QT5BASE_DEPENDENCIES += gst1-plugins-base
> else
> QT5BASE_CONFIGURE_OPTS += -no-gstreamer
> endif
> endif
>
> Any thoughts on how best to break that circular dependency ?
In fact there is no circular dependency I believe:
qt5base (for Qt 5.6) or qt5multimedia (for Qt 5.9) depend on
gst1-plugins-base. But the dependency you're adding is in
gst1-plugins-bad.
Therefore, the following build order is perfectly fine, and has no
circular dependency:
gstreamer1
gst1-plugins-base
qt5base / qt5multimedia / qt5declarative
gst1-plugins-bad
Could you cook a patch adding the appropriate logic in
gst1-plugins-bad ?
Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-08-23 12:32 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-21 9:13 [Buildroot] [PATCH 1/1] Add option to the gst1-plugins-bad package to enable/disable the qt plugin Glenn Coombs
2017-07-21 9:22 ` Thomas Petazzoni
2017-07-24 6:19 ` Glenn Coombs
2017-08-23 12:32 ` Thomas Petazzoni [this message]
2018-07-23 8:55 ` [Buildroot] [PATCH 1/1] gst1-plugins-good: add option for qmlgl plugin (qt5 plugin) Iñigo Huguet
2018-07-23 11:10 ` Iñigo Huguet
2018-07-28 22:22 ` Arnout Vandecappelle
2018-08-02 11:11 ` Iñigo Huguet
2018-08-14 14:22 ` Thomas Petazzoni
2018-08-15 19:02 ` Peter Seiderer
2018-09-03 7:14 ` [Buildroot] [PATCH v3] " Iñigo Huguet
2018-09-03 11:59 ` Martin Kepplinger
2018-09-08 20:07 ` Thomas Petazzoni
2018-09-12 6:46 ` Iñigo Huguet
2018-09-12 7:38 ` Thomas Petazzoni
2018-09-18 10:58 ` [Buildroot] [PATCH v4] " Iñigo Huguet
2019-04-07 13:36 ` Thomas Petazzoni
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=20170823143247.716c0162@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