Files
meta-openembedded/meta-multimedia/recipes-multimedia
Martin Jansa 8c80754a52 mpd: add commercial LICENSE_FLAGS when ffmpeg or aac PACKAGECONFIG is enabled
* resolves bitbake world error:
  ERROR: Nothing PROVIDES 'ffmpeg' (but meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.22.bb DEPENDS on or otherwise requires it)
  ffmpeg was skipped: because it has a restricted license 'commercial'. Which is not whitelisted in LICENSE_FLAGS_WHITELIST
  ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
  Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'mpd', 'ffmpeg']

* aac is conditionally included in PACKAGECONFIG based on LICENSE_FLAGS
  since:

  commit f5d271fd54
  Author: Armin Kuster <akuster808@gmail.com>
  Date:   Mon Oct 1 08:05:28 2018 -0700

    mpd: enable aac PACKAGECONFIG only with commercial LICENSE_FLAGS

  maybe we could use the same for ffmpeg, but the conditional should
  be a bit more complicated, because the aac support is whitelisted by
  either commercial, commercial_faad2 or faad2 in LICENSE_FLAGS_WHITELIST
  not just currently checked 'commercial'.

  and we cannot use LICENSE_FLAGS conditional in both, because that leads to
  bb.data_smart.ExpansionError: Failure expanding variable LICENSE_FLAGS, expression was
  ${@bb.utils.contains('PACKAGECONFIG', 'ffmpeg', 'commercial', '', d)}
  which triggered exception RecursionError: maximum recursion depth exceeded

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-19 22:18:11 -07:00
..
2020-10-06 08:45:24 -07:00
2019-05-09 20:34:33 -07:00
2019-12-20 16:07:50 -08:00
2019-01-02 10:28:18 -08:00
2020-08-17 22:04:27 -07:00
2020-01-14 08:32:08 -08:00
2020-03-09 12:37:28 -07:00
2018-11-29 18:44:56 -08:00
2020-10-05 09:35:30 -07:00
2020-08-13 22:32:07 -07:00
2020-09-01 17:10:05 -07:00
2020-08-13 22:32:07 -07:00
2020-06-20 16:44:45 -07:00
2020-07-28 12:52:14 -07:00
2020-09-01 17:10:05 -07:00
2020-09-20 12:47:40 -07:00
2020-03-04 11:23:44 -08:00