diff --git a/common/shlibs b/common/shlibs index 4c7b1acd429..e167dc925fd 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2821,3 +2821,4 @@ librhash.so.0 rhash-1.3.4_1 libserialport.so.0 libserialport-0.1.1_1 libsigrok.so.3 libsigrok-0.4.0_1 libsigrokcxx.so.3 libsigrok-0.4.0_1 +libsigrokdecode.so.3 libsigrokdecode-0.4.1_1 diff --git a/srcpkgs/libsigrokdecode-devel b/srcpkgs/libsigrokdecode-devel new file mode 120000 index 00000000000..5d1fb164d3b --- /dev/null +++ b/srcpkgs/libsigrokdecode-devel @@ -0,0 +1 @@ +libsigrokdecode \ No newline at end of file diff --git a/srcpkgs/libsigrokdecode/template b/srcpkgs/libsigrokdecode/template new file mode 100644 index 00000000000..260f7179728 --- /dev/null +++ b/srcpkgs/libsigrokdecode/template @@ -0,0 +1,24 @@ +# Template file for 'libsigrokdecode' +pkgname=libsigrokdecode +version=0.4.1 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config python3" +makedepends="glib-devel python3-devel" +short_desc="C library provides basic API for running sigrok protocol decoders" +maintainer="lemmi " +license="GPL-3" +homepage="https://sigrok.org/" +distfiles="https://sigrok.org/download/source/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=065f70c10971173d86e03a8cf5534e600c7a622775113997d8061572135d4a95 + +libsigrokdecode-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +}