xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/sigrok/libsigrok_0.5.2.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunDESCRIPTION = "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*4882a593SmuzhiyunHOMEPAGE = "http://sigrok.org/wiki/Main_Page"
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunLICENSE = "GPL-3.0-only"
5*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunDEPENDS = "glib-2.0 libzip"
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunPACKAGECONFIG[serialport] = "--with-libserialport,--without-libserialport,libserialport"
10*4882a593SmuzhiyunPACKAGECONFIG[ftdi] = "--with-libftdi,--without-libftdi,libftdi"
11*4882a593SmuzhiyunPACKAGECONFIG[usb] = "--with-libusb,--without-libusb,libusb"
12*4882a593SmuzhiyunPACKAGECONFIG[cxx] = "--enable-cxx,--disable-cxx,glibmm doxygen-native"
13*4882a593SmuzhiyunPACKAGECONFIG[bluez5] = "--with-libbluez,--without-libbluez,bluez5"
14*4882a593SmuzhiyunPACKAGECONFIG[hidapi] = "--with-libhidapi,--without-libhidapi,hidapi"
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunPACKAGECONFIG ??= "serialport ftdi usb"
17*4882a593Smuzhiyun
18*4882a593Smuzhiyuninherit autotools pkgconfig mime
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunSRC_URI = "http://sigrok.org/download/source/libsigrok/libsigrok-${PV}.tar.gz"
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunSRC_URI[md5sum] = "e258d471b6d5eaa58daf927a0dc3ba67"
23*4882a593SmuzhiyunSRC_URI[sha256sum] = "4d341f90b6220d3e8cb251dacf726c41165285612248f2c52d15df4590a1ce3c"
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunFILES:${PN} += "${datadir}/*"
26