Commit Graph

18 Commits

Author SHA1 Message Date
Khem Raj
1d2da22e77 meta-oe: Use setuptools3-base
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-12 09:35:18 -08:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -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
Zang Ruochen
034d7be384 mraa: upgrade 2.1.0 -> 2.2.0
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-09 13:41:02 -08:00
Zheng Ruoqin
fadaf48670 mraa: Disable python2, otherwise, there is a build error when enable multilib.
ERROR: mraa-2.1.0+gitAUTOINC+e15ce6fbc7-r0 do_package: QA Issue: mraa:
Files/directories were installed but not shipped in any package:
  /usr/lib/python3.8/site-packages/_mraa.so
  /usr/lib/python3.8/site-packages/mraa.py

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-02 08:55:34 -07:00
Adrian Bunk
30b34a83d4 mraa: Replace -fcommon with fix
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-12 12:33:42 -07:00
Khem Raj
b0598bca1a mraa: Use -fcommon
gcc10 is going to default to -fno-common which is opposite of all
previous gcc version defaults, ideally package should be fixed so it can
work with -fno-common but this is good enough for now, it does not
change default behavious with older compilers

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-05 10:38:14 -07:00
Khem Raj
7e6305da8e mraa: Fix build on x86 32bit
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-08 16:38:30 -07:00
Propanu
d9fd04ba32 mraa_git.bb: update to v2.1.0
Update SRCREV to latest v2.1.0 and SRC_URI to reflect new Eclipse Foundation project location.

Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-06 09:37:43 -08:00
Khem Raj
6bf265130a mraa: Define PYTHON_LIBRARY and PYTHON_INCLUDE_DIR
Otherwise it starts to look into native sysroot which we really do not
want

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-25 10:29:50 -07:00
Paul Eggleton
45afc4d65f mraa: update to 2.0.0
Changelog:

  https://github.com/intel-iot-devkit/mraa/blob/master/docs/changelog.md

Also tweak PV to match convention for git recipes (+git rather than
 -git).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:24:33 -07:00
leimaohui
32403728e7 mraa: To file do_package error in multilib.
do_package: QA Issue: mraa: Files/directories were installed but not shipped in any package:
  /usr/lib/python3.5/site-packages/mraa.py
  /usr/lib/python3.5/site-packages/_mraa.so
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-02 11:05:02 -08:00
Khem Raj
0b68de360a mraa: Drop residual patch
This patch is already applied upstream see
c9566bdc6f

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-01 18:12:50 -07:00
Khem Raj
1a86ccfdeb mraa: Fix build on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-01 18:12:50 -07:00
Brendan Le Foll
efc2e0837e mraa: Update recipe to use v1.9.0
The musl endian patch has been merged upstream so is no longer needed

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-01 16:12:55 -08:00
Tim Orling
75356b6a76 mraa: fix build for musl
* be16toh and le16toh are defined in endian.h

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-11 11:50:56 -08:00
Mikko Ylinen
2913f7073f mraa/upm: drop HAVE_NODEJS conditional
HAVE_NODEJS is a leftover from meta-refkit-core where the
layer had to adapt to different BBLAYER combinations (some
where nodejs wasn't available but mraa/upm were).

mraa/upm nodejs bindings currently fail to build (due to a problem
in swig with nodejs > v7.x) so we keep them disabled until a newer
version of swig lands in OE-core.

The commit adds BINDINGS overrides for armv4/5 to remind that nodejs
isn't available on those architectures.

Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-15 16:34:05 -08:00
Paul Eggleton
c2a7348684 mraa: move recipe from meta-refkit-core
Make this recipe a little more widely visible (has previously appeared
in meta-refkit-core and meta-intel-iot-middleware). Also make couple of
minor tweaks:

* Make SUMMARY more accurate by borrowing the first part of the short
  description now in the mraa github repo
* Set HOMEPAGE
* Drop AUTHOR as this is field is only really intended for older
  software where there is no real point of contact for upstream other
  than an author's email address.
* Set COMPATIBLE_HOST to match what is checked by mraa's CMakeLists.txt

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-04 14:53:31 +00:00