blob: 35e59d6d7d7d5b8aa07fbc877446d284f67e52bc [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001DESCRIPTION = "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."
2HOMEPAGE = "http://sigrok.org/wiki/Main_Page"
3
4LICENSE = "GPLv3"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
6
7DEPENDS = "glib-2.0 libzip"
8
9PACKAGECONFIG[serialport] = "--with-libserialport,--without-libserialport,libserialport"
10PACKAGECONFIG[ftdi] = "--with-libftdi,--without-libftdi,libftdi"
11PACKAGECONFIG[usb] = "--with-libusb,--without-libusb,libusb"
12PACKAGECONFIG[cxx] = "--enable-cxx,--disable-cxx,glibmm doxygen-native"
Brad Bishope42b3e32020-01-15 22:08:42 -050013PACKAGECONFIG[bluez5] = "--with-libbluez,--without-libbluez,bluez5"
14PACKAGECONFIG[hidapi] = "--with-libhidapi,--without-libhidapi,hidapi"
Brad Bishop19323692019-04-05 15:28:33 -040015
16PACKAGECONFIG ??= "serialport ftdi usb"
17
18inherit autotools pkgconfig
19
20SRC_URI = "http://sigrok.org/download/source/libsigrok/libsigrok-${PV}.tar.gz"
21
Brad Bishope42b3e32020-01-15 22:08:42 -050022SRC_URI[md5sum] = "e258d471b6d5eaa58daf927a0dc3ba67"
23SRC_URI[sha256sum] = "4d341f90b6220d3e8cb251dacf726c41165285612248f2c52d15df4590a1ce3c"
Brad Bishop19323692019-04-05 15:28:33 -040024
25FILES_${PN} += "${datadir}/*"