From 2f43f39a2b30df36f8ce1743b24c3d651352673b Mon Sep 17 00:00:00 2001 From: Marco Cavallini Date: Tue, 19 Oct 2021 15:19:25 +0200 Subject: [PATCH] bluepy_git.bb: Added recipe for BluePy Python interface to Bluetooth LE on Linux (v2) Signed-off-by: Marco Cavallini Signed-off-by: Khem Raj --- .../recipes-connectivity/bluepy/bluepy_git.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-networking/recipes-connectivity/bluepy/bluepy_git.bb diff --git a/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb b/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb new file mode 100644 index 0000000000..03b1562b60 --- /dev/null +++ b/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Python interface to Bluetooth LE on Linux" +HOMEPAGE = "https://github.com/IanHarvey/bluepy" +SECTION = "devel/python" + +DEPENDS = "${PYTHON_PN} glib-2.0" +RDEPENDS_${PN} = "bluez5" + +LICENSE = "GPLv2 & PD" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/PD;md5=b3597d12946881e13cb3b548d1173851" + +inherit setuptools3 pkgconfig + +SRC_URI = "git://github.com/IanHarvey/bluepy.git;protocol=https;rev=7ad565231a97c304c0eff45f2649cd005e69db09" +S = "${WORKDIR}/git" + +TARGET_CC_ARCH += "${LDFLAGS}"