Brad Bishop | 996bc45 | 2019-12-02 13:05:15 -0500 | [diff] [blame] | 1 | DESCRIPTION = "Bluetooth library with attribute support" |
| 2 | SECTION = "libs/network" |
| 3 | |
| 4 | LICENSE = "GPLv2+" |
| 5 | LIC_FILES_CHKSUM = "file://CMakeLists.txt;beginline=1;endline=20;md5=8d5efeb9189b60866baff80ff791bf00" |
| 6 | |
| 7 | DEPENDS = "bluez5 glib-2.0" |
| 8 | DEPENDS += "glib-2.0-native" |
| 9 | |
| 10 | PV = "0.2+git${SRCPV}" |
| 11 | |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 12 | SRC_URI = "git://github.com/labapart/gattlib.git \ |
| 13 | file://dbus-avoid-strange-chars-from-the-build-dir.patch \ |
| 14 | file://0001-cmake-Use-GNUInstallDirs.patch \ |
| 15 | " |
Brad Bishop | 996bc45 | 2019-12-02 13:05:15 -0500 | [diff] [blame] | 16 | |
| 17 | SRCBRANCH = "master" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 18 | SRCREV = "5c7ee43bd70ee09a7170ddd55b9fdbdef69e9080" |
Brad Bishop | 996bc45 | 2019-12-02 13:05:15 -0500 | [diff] [blame] | 19 | |
| 20 | S = "${WORKDIR}/git" |
| 21 | |
| 22 | PACKAGECONFIG[examples] = "-DGATTLIB_BUILD_EXAMPLES=ON,-DGATTLIB_BUILD_EXAMPLES=OFF" |
| 23 | |
| 24 | # Set this to force use of DBus API if Bluez version is older than 5.42 |
| 25 | PACKAGECONFIG[force-dbus] = "-DGATTLIB_FORCE_DBUS=TRUE,-DGATTLIB_FORCE_DBUS=FALSE" |
| 26 | |
| 27 | EXTRA_OECMAKE += "-DGATTLIB_BUILD_DOCS=OFF" |
| 28 | |
| 29 | inherit pkgconfig cmake |
| 30 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 31 | FILES:${PN} = "${libdir}/*" |
| 32 | FILES:${PN}-dev = "${includedir}/*" |