diff options
| -rw-r--r-- | meta-oe/recipes-connectivity/gattlib/gattlib_git.bb | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/meta-oe/recipes-connectivity/gattlib/gattlib_git.bb b/meta-oe/recipes-connectivity/gattlib/gattlib_git.bb index 1ba7dd4afc..aec41edf7a 100644 --- a/meta-oe/recipes-connectivity/gattlib/gattlib_git.bb +++ b/meta-oe/recipes-connectivity/gattlib/gattlib_git.bb | |||
| @@ -2,7 +2,7 @@ DESCRIPTION = "Bluetooth library with attribute support" | |||
| 2 | SECTION = "libs/network" | 2 | SECTION = "libs/network" |
| 3 | 3 | ||
| 4 | LICENSE = "GPL-2.0-or-later | BSD-3-Clause" | 4 | LICENSE = "GPL-2.0-or-later | BSD-3-Clause" |
| 5 | LIC_FILES_CHKSUM = "file://CMakeLists.txt;beginline=1;endline=6;md5=71fdd2be76b4e95fe28324a70d4981c5" | 5 | LIC_FILES_CHKSUM = "file://CMakeLists.txt;beginline=1;endline=6;md5=a87ee154f005a6f035b8b34ac2191f3b" |
| 6 | 6 | ||
| 7 | DEPENDS = "bluez5 glib-2.0" | 7 | DEPENDS = "bluez5 glib-2.0" |
| 8 | DEPENDS += "glib-2.0-native" | 8 | DEPENDS += "glib-2.0-native" |
| @@ -14,7 +14,7 @@ SRC_URI = "git://github.com/labapart/gattlib.git;branch=master;protocol=https \ | |||
| 14 | " | 14 | " |
| 15 | 15 | ||
| 16 | SRCBRANCH = "master" | 16 | SRCBRANCH = "master" |
| 17 | SRCREV = "fa54ae42ccb3d8f911e00b02ed1e581537e47f79" | 17 | SRCREV = "33a8a275928b186381bb0aea0f9778e330e57ec3" |
| 18 | 18 | ||
| 19 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
| 20 | 20 | ||
| @@ -28,5 +28,12 @@ EXTRA_OECMAKE += "-DGATTLIB_BUILD_DOCS=OFF" | |||
| 28 | 28 | ||
| 29 | inherit pkgconfig cmake | 29 | inherit pkgconfig cmake |
| 30 | 30 | ||
| 31 | do_compile:append() { | ||
| 32 | for f in org-bluez-gattdescriptor1.c org-bluez-battery1.c org-bluez-adaptater1.c \ | ||
| 33 | org-bluez-device1.c org-bluez-gattservice1.c org-bluez-gattcharacteristic1.c; do | ||
| 34 | sed -i -e 's|${B}/dbus/||g' ${B}/dbus/$f | ||
| 35 | done | ||
| 36 | } | ||
| 37 | |||
| 31 | FILES:${PN} = "${libdir}/*" | 38 | FILES:${PN} = "${libdir}/*" |
| 32 | FILES:${PN}-dev = "${includedir}/* ${libdir}/pkgconfig" | 39 | FILES:${PN}-dev = "${includedir}/* ${libdir}/pkgconfig" |
