Commit Graph

10 Commits

Author SHA1 Message Date
Khem Raj 5255b6a0d9 lirc: Delete systemd unit files on non systemd distros
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-26 12:09:09 -07:00
Khem Raj f0d0034e26 lirc: install systemd units only when using systemd distro feature
These files are not needed when init system is not systemd

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-25 12:10:11 -07:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Oleksandr Kravchuk ccb85c8eb3 lirc: replace setuptools3-bas with distutils-common-base
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-18 09:01:51 -08:00
Khem Raj a133111e69 recipes: Fix override syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-06 20:38:40 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj 81ee0b68fa lirc: Inherit distutils-common-base
This helps in compiling the python pieces in this package, which uses
setup.py to build but does not have ldshared set correctly, inheriting
distutils-common-base provides the minimum needed environment for the
python module build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-30 10:23:46 -07:00
Leon Anavi ed2fc41cf6 lirc: Add python3 to the run-time dependencies
Add python3 to the run-time dependencies to fix the following
issue with lircd-setup:

env: can't execute 'python3': No such file or directory

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-24 18:48:44 -07:00
Leon Anavi cdeebf0aa9 lirc: upgrade 0.9.4d -> 0.10.1
Upgrade Linux Infrared Remote Control (LIRC) to the latest version
0.10.1. Remove redundant old patches. Apply a new patch from Arch
Linux FS#57792 that fixes build errors. Create tar.gz archive
(PYTHON_TARBALL) which LIRC needs for install-nodist_pkgdataDATA.
Add python3-setuptools-native as a dependency. Replace path to
python3 in scripts based on a similar approach as in the recipe
for blueman.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-12 12:33:42 -07:00
Changqing Li d178745cbf conf/layer.conf: add BBFILES_DYNAMIC and dynamic layers
some recipes under meta-oe have dependency on meta-python,
and test_world of yocto-check-layer will failed with error
like:

ERROR: test_world (common.CommonCheckLayer)
ERROR: Nothing PROVIDES 'python3-pytoml-native' (but
/meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs_60.9.0.bb
DEPENDS on or otherwise requires it). Close matches:
  python3-numpy-native
  python3-pycairo-native
  python3-rpm-native
ERROR: Required build target 'meta-world-pkgdata' has no buildable
providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata',
'mozjs', 'python3-pytoml-native']

fix by make these recipes only active when identified layers are
present

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-11 08:58:57 -07:00