summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia
Commit message (Collapse)AuthorAgeFilesLines
* recipes: Update SRC_URI protocols for githubgithub-dunfellMarcel Hamer2021-11-081-2/+2
| | | | | | | | Use protocols=https for GitHub SRC_URIs using the conversion script in openembedded-core. Signed-off-by: Marcel Hamer <marcel@solidxs.se> Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* gstreamer: Fix the compilation issue in meta multimedia imageMadhavan Krishnan2020-03-101-1/+2
| | | | | | | | | | | When we tried to build the meta-multimedia-image, we faced the compilation issue with faad component. Since faad component has commercial license, we could not able to build with multimedia image. So we have modified the faad component to be included when commercial licenese is supported. Signed-off-by: Madhavan Krishnan <madhavan.krishnan@linaro.org>
* gstreamer1.0-plugins-base: Adjust for meson conversionKhem Raj2020-02-081-0/+2
| | | | | | OE-core now uses meson to build gstreamer Signed-off-by: Khem Raj <raj.khem@gmail.com>
* omxplayer: respect virtual/libomxilMartin Jansa2020-01-281-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gstreamer1.0-omx: let virtual/libomxil dependency to pull userlandMartin Jansa2020-01-241-7/+6
| | | | | | * and adjust VIRTUAL-RUNTIME_libomxil to pull runtime provider for libomxil Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gstreamer1.0-plugins-base: adapt to gstreamer1.0 now using mesonMartin Jansa2020-01-241-4/+0
| | | | | | * depends on oe-core changes which adds dispmanx PACKAGECONFIG to gstreamer1.0-plugins-base Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gstreamer1.0-plugins-base: respect opengl DISTRO_FEATURES when vc4graphics ↵Martin Jansa2020-01-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is in MACHINE_FEATURES No virtual/egl provider is available in the default setup with vc4graphics enabled and neither opengl nor vulkan in DISTRO_FEATURES: $ bitbake -e virtual/egl | tee env.egl ERROR: Nothing PROVIDES 'virtual/egl' vc-graphics-hardfp PROVIDES virtual/egl but was skipped: PREFERRED_PROVIDER_virtual/libgles2 set to mesa, not vc-graphics-hardfp vc-graphics PROVIDES virtual/egl but was skipped: PREFERRED_PROVIDER_virtual/libgles2 set to mesa, not vc-graphics $ bitbake -e userland 2>&1 | tee env.userland ERROR: Nothing RPROVIDES 'libegl-mesa' (but /jenkins/mjansa/build-ros/ros2-dashing-warrior/meta-raspberrypi/recipes-graphics/userland/userland_git.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'libegl-mesa' is unbuildable, removing... Missing or unbuildable dependency chain was: ['libegl-mesa'] ERROR: Required build target 'userland' has no buildable providers. Missing or unbuildable dependency chain was: ['userland', 'libegl-mesa'] $ bitbake -e mesa 2>&1 | tee env.mesa ERROR: Nothing PROVIDES 'mesa' mesa was skipped: one of 'vulkan opengl' needs to be in DISTRO_FEATURES $ bitbake -e vc-graphics-hardfp 2>&1 | tee env.vc-graphics-hardfp ERROR: Nothing PROVIDES 'vc-graphics-hardfp' vc-graphics-hardfp was skipped: PREFERRED_PROVIDER_virtual/libgles2 set to mesa, not vc-graphics-hardfp There is unbuildable dependency on virtual/egl from gstreamer1.0-plugins-base because: 1) gstreamer1.0-plugins-base depends on virtual/egl because of "egl" PACKAGECONFIG 2) "egl" PACKAGECONFIG is enabled by meta-raspberrypi/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend PACKAGECONFIG_GL_rpi = "egl gles2" without respecting the "opengl" in DISTRO_FEATURES like the recipe in oe-core does openembedded-core/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.14.4.bb: PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}" 3) virtual/egl is provided either by: - userland (only without vc4graphics in MACHINE_FEATURES): meta-raspberrypi/recipes-graphics/userland/userland_git.bb:PROVIDES += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "virtual/libgles2 virtual/egl", d)}" - mesa (selected with vc4graphics in MACHINE_FEATURES) meta-raspberrypi/conf/machine/include/rpi-default-providers.inc:PREFERRED_PROVIDER_virtual/egl ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "userland", d)}" - vc-graphics(-hardfp) meta-raspberrypirecipes-graphics/vc-graphics/vc-graphics.inc:PROVIDES = "virtual/libgles2 virtual/egl" 4) vc-graphics(-hardfp) recipe are skipped in default setup, because with vc4graphics being in MACHINE_FEATURES by default since: https://github.com/agherzan/meta-raspberrypi/commit/690bdca57422447e49d4ef43862bf675e9acc28f the PREFERRED_PROVIDER_virtual/libgles2 is set to mesa in: conf/machine/include/rpi-default-providers.inc:PREFERRED_PROVIDER_virtual/libgles2 ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "userland", d)}" resulting in skipping the other virtual/libgles2 providers: vc-graphics-hardfp PROVIDES virtual/egl but was skipped: PREFERRED_PROVIDER_virtual/libgles2 set to mesa, not vc-graphics-hardfp vc-graphics PROVIDES virtual/egl but was skipped: PREFERRED_PROVIDER_virtual/libgles2 set to mesa, not vc-graphics 5) mesa is skipped when neither opengl nor vulkan are in DISTRO_FEATURES 6) userland doesn't provide virtual/egl because we have the default vc4graphics meta-raspberrypi/recipes-graphics/userland/userland_git.bb:PROVIDES += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "virtual/libgles2 virtual/egl", d)}" and it cannot be built anyway, because with the default vc4graphics it depends on libegl-mesa: meta-raspberrypi/recipes-graphics/userland/userland_git.bb:RDEPENDS_${PN} += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "libegl-mesa", "", d)}" and libegl-mesa is provided only by mesa recipe from oe-core which in turn requires either "opengl" or "vulkan" to be in DISTRO_FEATURES This causes a lot of unresolved dependencies in default setup with vc4graphics but without opengl. - with Yocto 2.6 Thud and older it worked, because vc4graphics wasn't enabled by default before: https://github.com/agherzan/meta-raspberrypi/commit/690bdca57422447e49d4ef43862bf675e9acc28f To build gstreamer1.0-plugins-base with egl PACKAGECONFIG enabled you have 2 options: A) Just add "opengl" to DISTRO_FEATURES and use the default vc4graphics with mesa providing virtual/egl B) Use DISABLE_VC4GRAPHICS added in https://github.com/agherzan/meta-raspberrypi/commit/96c8459c9363cc6bf463aedf4d24f92a1ee7d6ba to explicitly disable vc4graphics and use userland to provide virtual/egl Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* omxplayer: Disable on aarch64Khem Raj2019-10-161-0/+1
| | | | | | It does not build for 64bit, needs porting Signed-off-by: Khem Raj <raj.khem@gmail.com>
* omxplayer: Bump revisionKirill Goncharov2019-08-123-7/+7
| | | | | | | | Bump revision to fix playback errors on RPi 4 (https://github.com/popcornmix/omxplayer/issues/733) and update patches accordingly. Update the license hash because of the change in FSF mailing address. Signed-off-by: Kirill Goncharov <kdgoncharov@gmail.com>
* omxplayer: remove hardcoded tune and arch from MakefileMartin Schuessler2019-06-202-0/+9
| | | | | | Fixes: #428 Signed-off-by: Martin Schuessler <tossprobe@gmail.com>
* gstreamer1.0-omx: Forward port bbappend and patches to v1.16.xAndrei Gherzan2019-05-287-40/+54
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* omxplaye: Fix build with userland graphic driverKhem Raj2018-11-224-539/+7
| | | | | | | | - Upgrade to latest omxplayer with ffmpeg 4.x - drop backported patches which are not needed - Make vc4 support patch conditionally apply only when vc4graphics is used Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Merge userland-nogl into userland itselfKhem Raj2018-11-212-6/+4
| | | | | | | | | Control the installs via MACHINE_FEATURES and avoid almost duplicate recipe Adjust other recipes to depend on userland now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* omxplayer: Fix build when using vc4graphics driverKhem Raj2018-11-082-3/+57
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer1.0-omx: Use rpi target and depend on userland-noglKhem Raj2018-11-071-4/+4
| | | | | | | This ensures that it links to right userland libraries to get access to accelarated video path Signed-off-by: Khem Raj <raj.khem@gmail.com>
* omxplayer: Forward port patches and fix buildKhem Raj2018-11-0710-77/+92
| | | | | | Fixes issue #324 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* omxplayer: Update and add fixes for OpenSSL 1.1.x and thumb2Khem Raj2018-09-205-3/+588
| | | | | | | | | | | | * Update to latest from upstream * Backport OpenSSL 1.1.x related patches for ffmpeg * Pass --cpu based on machine, instead of hardcoding it to arm1176jzf-s * Make --cc, --cxx and --ld be used from environment, helps building with clang * It requires userland graphics driver to build to encode that in COMPATIBLE_HOST Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-raspberrypi: use `_%` suffix instead of specific versions for bbappendsHugo Hromic2018-06-271-0/+0
| | | | | | Keep naming consistency and ensure they are still applied when the upstream recipes are updated. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
* omxplayer: refresh and clean-up patchesHugo Hromic2018-06-278-48/+69
| | | | | | | | | | | | | | | | | | | | | fixes: WARNING: omxplayer-git-r4 do_patch: Applying patch 0003-Remove-strip-step-in-Makefile.patch patching file Makefile.ffmpeg Hunk #1 succeeded at 241 with fuzz 2 (offset -2 lines). Hunk #2 succeeded at 255 (offset -2 lines). Applying patch fix-tar-command-with-DIST.patch patching file Makefile Hunk #1 succeeded at 89 with fuzz 2 (offset 18 lines). Applying patch use-native-pkg-config.patch patching file Makefile.ffmpeg Hunk #1 succeeded at 245 with fuzz 1. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
* gstreamer1.0-plugins: App proper appends for base and bad pluginsKhem Raj2018-05-222-11/+10
| | | | | | | This patch accounts for the fact that rpi dispmanx plugin migrated from bad to base stating 1.14 release Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer1.0-plugins-bad_%.bbappend: Drop --disable-dispmanxKhem Raj2018-05-141-1/+1
| | | | | | | | 1.14 does not support this option Fixes QA Issue: gstreamer1.0-plugins-bad: configure was passed unrecognised options: --disable-dispmanx [unknown-configure-option] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer1.0-omx: Forward port bbappend to 1.14Khem Raj2018-05-129-59/+32
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer1.0-omx: refresh and clean-up patchesHugo Hromic2018-03-2311-296/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes: WARNING: gstreamer1.0-omx-1.12.4-r0 do_patch: Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. The context lines in the patches can be updated with devtool: devtool modify <recipe> devtool finish --force-patch-refresh <recipe> <layer_path> Then the updated patches and the source tree (in devtool's workspace) should be reviewed to make sure the patches apply in the correct place and don't introduce duplicate lines (which can, and does happen when some of the context is ignored). Further information: http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450 Details: Applying patch 0001-config-files-path.patch patching file config/bellagio/gstomx.conf Hunk #1 succeeded at 1 with fuzz 2. Hunk #2 succeeded at 9 with fuzz 2. patching file config/rpi/gstomx.conf Hunk #8 succeeded at 63 with fuzz 2. Hunk #10 succeeded at 82 with fuzz 2. Hunk #11 succeeded at 92 with fuzz 2. Now at patch 0001-config-files-path.patch deleted obsolete `gstreamer1.0-omx` directory with duplicated patches that are also in `gstreamer1.0-omx-1.12`. made file naming for `gstreamer1.0-omx_%.bbappend` consistent with the rest of the layer recipes. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
* gstreamer1.0-omx: remove unused patchesMaxin B. John2018-03-082-62/+0
| | | | | | | | Remove the following unused patches: 1. 0002-Don-t-try-to-acquire-buffer-when-src-pad-isn-t-activ.patch 2. 0003-fix-decoder-flushing.patch Signed-off-by: Maxin B. John <maxin.john@intel.com>
* omxplayer: make samba support configureableMartin Jansa2018-02-011-1/+8
| | | | | | | | * samba depends on libpam and it might be useful to disable support for it in DISTROs without pam in DISTRO_FEATURES * disable it by default Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* x264: Disable asm for raspberrypi0-wifiAndrei Gherzan2017-11-081-0/+1
| | | | | | | | | | | | | This used to work in the past because this machine was based on raspberrypi one. Now that they are separate, we need a configuration for it too otherwise: | common/arm/quant-a.S: Assembler messages: | common/arm/quant-a.S:362: Error: selected processor does not support `rbit r1,r1' in ARM mode | common/arm/quant-a.S:363: Error: selected processor does not support `rbit r1,r1' in ARM mode Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* omxplayer: Explain inclusion of ffmpegPaul Barker2017-09-241-0/+9
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* omxplayer: Update Upstream-status tag on patchPaul Barker2017-09-241-1/+1
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* omxplayer: Fix build issuesPaul Barker2017-09-243-2/+102
| | | | | | | | | | | * Update the recipe and patch the Makefile to not require internet access during do_compile. Unfortunately, the upstream Makefile wants to access a web service hosted on Heroku and to "git clone" ffmpeg with no fixed commit hash. * Patch Makefile.ffmpeg to avoid a potential race condition between the configure & compile stages. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* omxplayer: Update to current master HEADAndrei Gherzan2017-09-081-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* gstreamer1.0-omx: Match with oe-core 1.12.x gstreamerKhem Raj2017-08-257-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* x264: Fix build for armv6 RaspberryPi boardsAndrei Gherzan2017-04-171-0/+1
| | | | | | | | quant-a.S uses rbit thumb instruction unconditionally even though only from ARMV6T2 this is available (which is not the case for RPI1, RPI0 etc). Avoid this by disabling asm. Signed-off-by: Andrei Gherzan <andrei@resin.io>
* omxplayer: Bump to head and fix missing native dependencyAndrei Gherzan2017-04-171-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@resin.io>
* omxplayer: Add dependency on coreutils-nativeAndrei Gherzan2017-03-211-1/+1
| | | | | | | Internal ffmpeg configure uses pr which is provided by coreutils-native: | ./configure: line 471: pr: command not found Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* gstreamer1.0-omx: remove bbappend for version 1.2.0 and gitMaxin B. John2017-03-1110-506/+0
| | | | | | | | | | OE-Core rev: aa06a18d59eb391d1a7ace9daa0681bdf8daf17f removed gstreamer1.0-omx_1.2.0 recipe. OE-Core removed all gst git recipes as well Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* omxplayer: Update to latest and disable on rpi64Khem Raj2017-02-163-30/+34
| | | | | | | Its uses omaxplayer/mmal APIs from firmware which seems to not work with 4.9 kernel Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer1.0-omx: Add 1.10x supportKhem Raj2017-01-1810-19/+299
| | | | | | | | Restructure the bbappends such that common portions can be put in a common bbappend and version specific bbappend then only do the patching Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer1.0-plugins-bad_%.bbappend: Set PACKAGECONFIG_GL for RPiKhem Raj2016-11-081-2/+12
| | | | | | Enable dispmanx support if using bcm driver Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer1.0-omx-1.2.0: Add patches and bbappend for 1.2.0 separatelyKhem Raj2016-07-1310-0/+503
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* omxplayer: fix compilation with GCC 6Jonathan Liu2016-06-141-2/+1
| | | | | | | | | | | | | | | | | | Specifying -isystem${STAGING_DIR_HOST}/usr/include in INCLUDES gives: In file included from utils/PCMRemap.cpp:26:0: .../build/tmp/sysroots/raspberrypi2/usr/include/c++/6.1.1/cstdlib:75:25: fatal error: stdlib.h: No such file or directory #include_next <stdlib.h> ^ compilation terminated. Makefile:44: recipe for target 'utils/PCMRemap.o' failed To resolve this, /usr/include shouldn't be specified as it is already a default include path relative to the sysroot. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129. Signed-off-by: Jonathan Liu <net147@gmail.com>
* omxplayer: Bump revisionJonathan Liu2016-04-214-26/+12
| | | | | | | Fixes linking error due to missing vchostif library dependency. Rebased patches and removed patches already merged upstream. Signed-off-by: Jonathan Liu <net147@gmail.com>
* gstreamer1.0-omx: Backports and fixes for smooth video playbackKhem Raj2016-03-104-0/+118
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer1.0-omx: Add raspberry pi optimization patches and config optionsKhem Raj2016-03-104-0/+218
| | | | | | Patches from Hong Li <honglh@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* omxplayer: Add patch to fix host-user-contaminated QAAndrei Gherzan2016-02-282-0/+19
| | | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Jonathan Liu <net147@gmail.com>
* omxplayer: bump revisionJonathan Liu2016-02-271-1/+1
| | | | | | Fixes compile errors with ffmpeg 3.0. Signed-off-by: Jonathan Liu <net147@gmail.com>
* omxplayer: Bump revisionAndrei Gherzan2015-10-211-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* gstreamer1.0-plugins-bad: remove unrecognized configure optionJonathan Liu2015-10-131-2/+1
| | | | | | | The --with-egl-window-system=rpi configure option is not recognized in the current version. Signed-off-by: Jonathan Liu <net147@gmail.com>
* omxplayer: Bump SRCREVPetter Mabäcker2015-07-191-2/+2
| | | | | | | [Support #60] Signed-off-by: Petter Mabäcker <petter@technux.se> Acked-by: Andrei Gherzan <andrei@gherzan.ro>
* omxplayer: Bump SRCREVAndrei Gherzan2015-03-012-3/+23
| | | | | | | Add a patch to fix the pkg-config mechanism in ffmpeg. Change-Id: Ib506bb4e26a8a0c5c294ed55da0a0da8dc67a2d7 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* xserver-xf86-config: Use SOC specific assignementsAndrei Gherzan2015-02-081-1/+1
| | | | | | | In this way the modifications will be used on all RPI boards. Change-Id: Ife10db876db85c1c4944028a0b49ccae4d8c0d41 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>