Commit Graph

451 Commits

Author SHA1 Message Date
Otavio Salvador
0732449ee4 qtmultimedia: Fix floating dependency gst-plugins-bad
When using GStreamer 0.10 support, QMake detects if GStreamer
Photography interface is available. To avoid a floating dependency we
add the gst-plugins-bad as dependency so it is always present.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-13 10:16:12 -02:00
Carlos Rafael Giani
41772b3372 qtwebengine: Enable ffmpegsumo for HTML5 video
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-13 10:16:12 -02:00
Otavio Salvador
6eeeeb2025 qtwebengine: Add missing runtime dependencies for examples
The qtdeclarative-qmlplugins and qtquickcontrols-qmlplugins are
required for the examples to run. Add them as rdepends.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-13 10:16:12 -02:00
Otavio Salvador
61eb1c40d3 qtwebengine: Add a missing build dependency on libcap
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-13 10:16:12 -02:00
Otavio Salvador
247aeca877 qt5.inc: Fix packaging of architecture independent data
The architecture independent data were being added to the '-dev'
package however it shouldn't be. For example the QtWebEngine had the
translation and the resources package were not being installed with
the main package, as it should be.

This commit changes the qttools and qttranslations recipes as well so
those keep its contents in the respective packages:

 qttools: add the phrasebooks in the qttools-tools package
 qttranslations: add a new subpackage for qtquickcontrols

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-13 10:16:12 -02:00
Stephan Binner
7b615428cf qtwebchannel: Add recipes for 5.4.0 and Git
Signed-off-by: Stephan Binner <stephan.binner@basyskom.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-13 10:16:12 -02:00
Tobias Olausson
adeaa6128b qt3d: change to 'dev' branch
The master branch of qt3d has been removed by the Qt project, and
the commit pointed to by the SRCREV is now in the 'dev' branch.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-15 16:46:10 +01:00
Otavio Salvador
ec50df68b8 qtmultimedia: Add support to enable/disable PulseAudio and ALSA
The way QtMultimedia use to detect the PulseAudio and ALSA makes it
non obvious how to disable it. After researching how Gentoo does it
the 'done_config_<flag>' has been found. So now, we respect the distro
support for PulseAudio and ALSA.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-12 15:45:28 +01:00
kkelly87
a7fa426daa qttranslations: adding recipes for qt specific translations
The meta-qt5 layer is missing a recipe for the qttranslation submodule so qt specific items like
the OK or Cancel button had no associated translations. This submission is for master while my previous patch
 will work as a backport to dizzy.

Signed-off-by: Kevin Kelly <kaneda18@hotmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-12 15:45:28 +01:00
Martin Jansa
e2e1864dca qt5-opengles2-test: exclude from world because of gles2 dependency
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-12 15:45:28 +01:00
Martin Jansa
e2f5adc92c qmake5_base: add *.prf to SSTATE_SCAN_FILES
* e.g. maliit-framework-qt5 is staging sysroot specific paths in
  sysroot-destdir/usr/lib/qt5/mkspecs/features/maliit-plugins.prf
  sysroot-destdir/usr/lib/qt5/mkspecs/features/maliit-framework.prf
  make sure they are replaced with correct ones on sstate reuse

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-06 15:58:55 +01:00
Julien Brianceau \(jbriance\)
ad958ec947 qtbase: Add gcc to QMAKE_COMPILER variable.
According to mkspecs/features/spec_post.prf, QMAKE_COMPILER variable should at least contain gcc for linux-oe-g++ platform.

This patch fixes a crash issue in QtWebKit introduced in v5.4.0 by:
34d4628b98

Signed-off-by: Julien Brianceau <jbriance@cisco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-05 14:08:24 +01:00
Mingtao Qu
46c76e43e7 qtmultimedia: Fix crash when use Gstreamer 0.10 plugin
In QVideoSurfaceGstSink::get_caps(), when use 0.10 version Gstreamer,
It create GstCap with a wrong type (G_TYPE_STRING) of parameter 'format',
a g_strcpy exception will be found.
This patch fixes the parameter type to use GST_TYPE_FOURCC as expacted.

Signed-off-by: Mingtao Qu <zarelaky@hotmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-31 16:24:44 +01:00
Andreas Müller
bb6049fbe1 qtbase: Make libraries build with cmake find gl(es) headers
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-31 16:24:22 +01:00
Andreas Müller
8b040e58b2 qtwayland: re-enable cmake files they don't break build anymore
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-17 14:18:37 +01:00
Martin Jansa
38ddbf8b19 qt5-opengles2-test: import from meta-webos-ports
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-17 14:18:37 +01:00
Martin Jansa
a5d4f3d649 qt5-plugin-generic-vboxtouch: Import from meta-webos-ports
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-17 14:18:37 +01:00
Andreas Müller
393cdf866b qttools-native 5.4.0: align source checksums
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-17 14:18:37 +01:00
Martin Jansa
8d9a1b8b61 qtbwebengine: fix build for qemux86-64
* it was applied only for qtwebengine_5.3.2+git.bb, then removed
  completely with 5.4.0 upgrade, but it's still needed for both
  versions

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-17 14:18:37 +01:00
Martin Jansa
d5d2aa5701 qtbase: add PACKAGECONFIG for cups
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-17 14:18:37 +01:00
Martin Jansa
37e921db22 qtwebengine: Include resources in main package and add rdep on qmlplugins
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-11 13:24:22 +01:00
Martin Jansa
77f262d7c7 qt5-git: Update to 5.4.0+, latest revision in 5.4 branch
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-11 13:24:22 +01:00
Jonathan Liu
6566f728ab recipes: upgrade from 5.3.2 to 5.4.0
MJ: nativesdk-qtbase, nativesdk-qttools, qtbase-native: Drop unnecessary LICENSE/LIC_FILES_CHKSUM
MJ: qtwebkit: move leveldb dependency to .inc

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Jonathan Liu <net147@gmail.com>
2014-12-11 13:24:22 +01:00
Denys Dmytriyenko
c9a1041cb9 nativesdk-qtbase_git: re-add OEQt5Toolchain to SRC_URI
The file is expected by do_install(), but _git version resets SRC_URI.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-09 11:11:25 +01:00
Martin Jansa
54c44443c3 qt5-git: Update to rc1+, latest revision in 5.4 branch
* qtwebengine LIC_FILES_CHKSUM updated because of Copyright
  year update in chromium's LICENSE
  < // Copyright (c) 2013 The Chromium Authors. All rights reserved.
  and shortened the entry for qtwebengine LIC_FILES_CHKSUM, because
  it was including also few #include lines which were changed recently

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-09 11:06:30 +01:00
Anders Darander
5b8f470597 qmake5: set OE_QMAKE_INCDIR_QT
This is set when generation an SDK, and thus would be usefull to have also
when bitbaking. That allows us to use this in *.prf files which is used
both when bitbaking as well as when using the SDK.

Signed-off-by: Anders Darander <anders@chargestorm.se>
(cherry picked from commit 96e8d29fdbdf6fa656c854d9b55c5b0c213166a7)
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-01 17:18:27 +01:00
Diego Sueiro
54cf9e47a1 qtsystems: Change branch from stable to 5.3
Stable branch was removed on mainline and now 5.3
is used.

Signed-off-by: Diego Sueiro <diego.sueiro@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-14 08:49:49 -02:00
Otavio Salvador
c1f6332cce nativesdk-qtbase: Fix path for mkspecs in SDK
The mkspecs file needs to use the QT_DIR_NAME variable to
have a proper path to the files, fix it.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-31 17:56:50 -02:00
Otavio Salvador
05213cd7ba nativesdk-qtbase: Add CMake toolchain configuration
This allow out of box use of CMake in a SDK; this includes the
subscript to properly set the host binaries path.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-31 17:56:50 -02:00
Jonathan Liu
80496565fb qtwebengine: whitelist supported architectures
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-31 14:18:30 +01:00
Jonathan Liu
ca640377e5 qtbase: fix path to external hostbindir binaries
This fixes syncqt.pl not being included in qtbase-tools.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-30 14:15:41 +01:00
Jonathan Liu
264f20883c qtwebengine: backport patches to fix ARM build failures
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-30 14:15:41 +01:00
Martin Jansa
01f1ab8ee8 qtwebengine: simplify SRC_URI
* now when it was moved from qt-labs to qt prefix we can reuse the
  SRC_URI from qt5-git.bb

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-30 14:15:30 +01:00
Martin Jansa
69e1a82939 qtbase: delete mkspecs/macx-ios-clang to hide QA issue
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-30 14:15:30 +01:00
Martin Jansa
c317b18d29 qt5: update LICENSE in git recipes
* move common part to qt5-git.bb and add GPLv2 only
  in recipes which allow to use that
* for details about LGPLv3 read:
  http://blog.qt.digia.com/blog/2014/08/20/adding-lgpl-v3-to-qt/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-30 14:15:30 +01:00
Martin Jansa
69b7d8f725 qt5: upgrade git recipes to 5.4-beta1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-30 14:15:29 +01:00
Nikolay Nizov
9a4c0b393b maliit-framework-qt5: Update SRCREV
This update is needed to include fix for segfaults when change keyboard
focus while having selection.
See http://issues.webos-ports.org/issues/673 for example.
This will update SRCREV for one(also the latest) commit from master branch.

Signed-off-by: Nikolay Nizov <nizovn@gmail.com>
2014-10-21 15:33:05 +02:00
Anders Darander
b62bda9780 nativesdk-qtbase: make it possible to keep additional libraries
In some usecases for the nativesdk, you might need some build tools that are built upon Qt5. This means
that we're having a need to keep more of the libraries build by nativsdk-qtbase. This patch adds the
infrastructure to support that

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-21 09:37:45 -02:00
Jonathan Liu
c4de929f38 packagegroup-qt5-toolchain-target: always include qttools packages
The qttools packages were included only if the ruby layer was enabled
as it required qtwebkit. However, qttools now has a PACKAGECONFIG
option for qtwebkit and does not enable it by default so we can include
the qttools packages even if the ruby layer is not enabled.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-21 09:37:45 -02:00
Otavio Salvador
51a4cdf3fc nativesdk-qtbase: Fix qtconfig.pri
The value used in the new environment subscript tried to use a target
variable which might not be accurate; use qmake to ask for the right
value for OE_QMAKE_QT_CONFIG variable.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-20 23:22:55 -02:00
Otavio Salvador
2f1b8fe630 Fix SDK environment setting
Since the change to use a meta-environment canadian package in the
OE-Core, the SDK environment setting has been broken. This uses the
new subscript environment to fix it and also move the environment
generation to the nativesdk-qtbase recipe.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-16 17:35:21 -03:00
Martin Jansa
478fe949a9 qtbase: don't stage the fonts directory
* the staged files conflict with fonts staged by qt4-embedded and we don't need
  them in sysroot at all

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-08 17:52:08 +02:00
Martin Jansa
be2d4815ef qt5: upgrade git recipes to 5.4-alpha1
* introduce 2nd set of qtwayland and qtwebengine recipes, because newer
  revision isn't compatible with 5.3.2 release

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-04 04:25:11 +02:00
Martin Jansa
096112d4ab qtwayland-native: remove qtwaylandscanner symlink
* it doesn't seem to be required anymore

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-04 04:23:53 +02:00
Martin Jansa
6b83709072 qtbase: Drop dont-process configure option
* it was removed completely in 5.4 with:
commit b7d86139772c3ce662ea7f092658699d351bbb1d
Author: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Date:   Thu Jun 19 11:46:10 2014 +0200

    nuke -process/-fully-process/-dont-process options

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-04 04:23:53 +02:00
Martin Jansa
cfe122037d qt*: refresh the patches
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-04 04:23:53 +02:00
Martin Jansa
3700c51c24 qtbwebengine: fix build for qemux86-64
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-04 04:23:52 +02:00
Martin Jansa
c524da4747 qtwebengine: update repository location
* both were moved from qt-labs to qt and chromium repo was renamed to qtwebengine-chromium

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-29 23:57:32 +02:00
coldnew
d45d3e58a9 qt5: Add Qt 5.3.2 packages
Qt 5.3.2 has been released in September 16th, 2014.

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-29 04:46:21 +02:00
Otavio Salvador
12dac2ea13 qtwayland: Change module branch for 5.4
This is to fix the fetcher failure as the "stable" branch has been
removed. We does not change the revision we are using so this is
a safe change.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-09-09 09:37:55 -03:00