summaryrefslogtreecommitdiff
path: root/recipes-connectivity/bluez
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-03-27 15:26:27 -0500
committerJohn Klug <john.klug@multitech.com>2019-07-03 17:08:20 -0500
commitd79d6ec2d98b7b002e24c98d1a200b505d7b78b7 (patch)
tree86c84858ad350d72583547895e1af551da2cfe21 /recipes-connectivity/bluez
parent6a6256bc53cc3bce996d8dd47cdf590cde602218 (diff)
downloadmeta-mlinux-d79d6ec2d98b7b002e24c98d1a200b505d7b78b7.tar.gz
meta-mlinux-d79d6ec2d98b7b002e24c98d1a200b505d7b78b7.tar.bz2
meta-mlinux-d79d6ec2d98b7b002e24c98d1a200b505d7b78b7.zip
Add python-gatt-server example to mLinux
Diffstat (limited to 'recipes-connectivity/bluez')
-rw-r--r--recipes-connectivity/bluez/python-gatt-server_1.0.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-connectivity/bluez/python-gatt-server_1.0.bb b/recipes-connectivity/bluez/python-gatt-server_1.0.bb
new file mode 100644
index 0000000..76069f6
--- /dev/null
+++ b/recipes-connectivity/bluez/python-gatt-server_1.0.bb
@@ -0,0 +1,24 @@
+inherit allarch
+HOMEPAGE = "https://github.com/Jumperr-labs/python-gatt-server"
+SRCREV = "a39ef9773e9ba845f4303b1dfd2efddf24b02238"
+PR = "r0"
+
+S = "${WORKDIR}/git"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c53d04442d1a229d62549856b7ec456a"
+
+SRC_URI = "git://github.com/Jumperr-labs/python-gatt-server.git;protocol=git"
+
+RDEPENDS_${PN} += "python-dbus python-pygobject"
+
+DBTEXEC = "${libexecdir}/bluetooth/"
+DEST = "${D}${DBTEXEC}"
+
+FILES_${PN} = "${DBTEXEC}"
+
+
+do_install_append() {
+ install -d ${DEST}/${PN}
+ install -m 0755 ${S}/*.py ${DEST}/${PN}
+}