# Maintainer: Marian Buschsieweke pkgname="libsigrokdecode" pkgver=0.5.2 pkgrel=1 pkgdesc="A C library to decode protocol data captured by logic analyzers" url="https://sigrok.org/wiki/Libsigrokdecode" makedepends="glib-dev libserialport-dev libzip-dev libusb-dev libftdi1-dev glibmm-dev libsigrok-dev python3-dev check-dev autoconf automake libtool" depends="" arch="all" license="GPL-3.0-only" source="http://sigrok.org/download/source/$pkgname/$pkgname-$pkgver.tar.gz version.patch python3-embed.patch" subpackages="$pkgname-dev" builddir="$srcdir/$pkgname-$pkgver" prepare() { default_prepare autoreconf -vif } build() { ./configure --prefix=/usr/ make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="49d0cba3a5fe17593165c3669dc8530e4e68497369b461f39b63c903f41a3060766c23d44c4112c9b9a5e740ae1e2c03a735494ac798dc631f3913079be04e22 libsigrokdecode-0.5.2.tar.gz 6d8fa69a891b4333fe77213cf75df218090e58b51d6c92197351d95a977634f2228a63c9c0c75fcb1d816c59ee9eaf410d5e79827ac7c79b0784262ea0f9c3fd version.patch ab98ed3df3ad78fc19336a809c10ce00140ad4a389f31a6d05fe2122ee0698889a91c0711d57dc8d99ba888202f6dc9a10d485e473342298d94d3bccf52dbc99 python3-embed.patch"