[Buildroot] [PATCH v3] gst1-plugins-good: add option for qmlgl plugin (qt5 plugin)

Iñigo Huguet inigohuguet at fanamoel.com
Wed Sep 12 06:46:14 UTC 2018


Hi Thomas.

I've tried to build gst1-plugins-good after applying your patch and 
removing the file 0001-configure-fix-qt-qpa-detection.patch. It builds 
with QT plugin enabled, so your solution works.

I'm going to prepare a new iteration of my patch, remember to commit 
yours one first or it won't work.

Thanks

Iñigo


El 08/09/18 a las 22:07, Thomas Petazzoni escribió:
> Hello Iñigo,
>
> On Mon,  3 Sep 2018 09:14:00 +0200, Iñigo Huguet wrote:
>> gst1-plugins-good is built with --disable-qt option, so qmlgl plugin
>> is disabled. Added option to enable it, allowing to use elements
>> qmlglsrc and qmlglsink.
>>
>> Signed-off-by: Iñigo Huguet <inigohuguet at fanamoel.com>
> Thanks for this new iteration!
>
>> diff --git a/package/gstreamer1/gst1-plugins-good/0001-configure-fix-qt-qpa-detection.patch b/package/gstreamer1/gst1-plugins-good/0001-configure-fix-qt-qpa-detection.patch
>> new file mode 100644
>> index 0000000..d755354
>> --- /dev/null
>> +++ b/package/gstreamer1/gst1-plugins-good/0001-configure-fix-qt-qpa-detection.patch
>> @@ -0,0 +1,14 @@
>> +configure: fix QT QPA detection
>> +
>> +Signed-off-by: Iñigo Huguet <inigohuguet at fanamoel.com>
>> +
>> +--- gst1-plugins-good-1.14.2/configure_orig	2018-08-15 19:42:48.065311007 +0200
>> ++++ gst1-plugins-good-1.14.2/configure	2018-08-15 19:42:58.665528543 +0200
>> +@@ -35924,7 +35924,7 @@
>> +       else
>> +         HAVE_QT="yes"
>> +         HAVE_QT_WINDOWING="no"
>> +-        QT_VERSION="`$PKG_CONFIG --define-prefix --modversion Qt5Core`"
>> ++        QT_VERSION="`$PKG_CONFIG --modversion Qt5Core`"
> I think patching GStreamer is not the right approach here. Could you
> instead apply http://patchwork.ozlabs.org/patch/967653/, which updates
> our pkgconf package to use a newer version that supports the
> --define-prefix option ?
>
> Thanks!
>
> Thomas




More information about the buildroot mailing list