Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | DESCRIPTION = "libsigrok is a shared library written in C, which provides the basic hardware access drivers for logic analyzers and other supported devices, as well as input/output file format support." |
| 2 | HOMEPAGE = "http://sigrok.org/wiki/Main_Page" |
| 3 | |
| 4 | LICENSE = "GPLv3" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
| 6 | |
| 7 | DEPENDS = "glib-2.0 libzip" |
| 8 | |
| 9 | PACKAGECONFIG[serialport] = "--with-libserialport,--without-libserialport,libserialport" |
| 10 | PACKAGECONFIG[ftdi] = "--with-libftdi,--without-libftdi,libftdi" |
| 11 | PACKAGECONFIG[usb] = "--with-libusb,--without-libusb,libusb" |
| 12 | PACKAGECONFIG[cxx] = "--enable-cxx,--disable-cxx,glibmm doxygen-native" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 13 | PACKAGECONFIG[bluez5] = "--with-libbluez,--without-libbluez,bluez5" |
| 14 | PACKAGECONFIG[hidapi] = "--with-libhidapi,--without-libhidapi,hidapi" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 15 | |
| 16 | PACKAGECONFIG ??= "serialport ftdi usb" |
| 17 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 18 | inherit autotools pkgconfig mime |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 19 | |
| 20 | SRC_URI = "http://sigrok.org/download/source/libsigrok/libsigrok-${PV}.tar.gz" |
| 21 | |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 22 | SRC_URI[md5sum] = "e258d471b6d5eaa58daf927a0dc3ba67" |
| 23 | SRC_URI[sha256sum] = "4d341f90b6220d3e8cb251dacf726c41165285612248f2c52d15df4590a1ce3c" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 24 | |
| 25 | FILES_${PN} += "${datadir}/*" |