diff --git a/common/shlibs b/common/shlibs index 65658013b5f..279bf10d77d 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4277,6 +4277,7 @@ libreadosm.so.1 readosm-1.1.0a_1 libSvtAv1Enc.so.1 libsvt-av1-1.3.0_1 libSvtAv1Dec.so.0 libsvt-av1-0.9.0_1 libyascreen.so.0 yascreen-1.96_1 +libyyjson.so.0 yyjson-0.9.0_1 librz_analysis.so.0.7 rizin-0.7.2_1 librz_asm.so.0.7 rizin-0.7.2_1 librz_bin.so.0.7 rizin-0.7.2_1 diff --git a/srcpkgs/yyjson-devel b/srcpkgs/yyjson-devel new file mode 120000 index 00000000000..4e16db7ca45 --- /dev/null +++ b/srcpkgs/yyjson-devel @@ -0,0 +1 @@ +yyjson \ No newline at end of file diff --git a/srcpkgs/yyjson/template b/srcpkgs/yyjson/template new file mode 100644 index 00000000000..19397dbdb7f --- /dev/null +++ b/srcpkgs/yyjson/template @@ -0,0 +1,28 @@ +# Template file for 'yyjson' +pkgname=yyjson +version=0.9.0 +revision=1 +build_style=cmake +configure_args="-DBUILD_SHARED_LIBS=ON" +short_desc="High performance JSON library" +maintainer="classabbyamp " +license="GPL-3.0-or-later" +homepage="https://ibireme.github.io/yyjson" +changelog="https://github.com/ibireme/yyjson/raw/master/CHANGELOG.md" +distfiles="https://github.com/ibireme/yyjson/archive/refs/tags/${version}.tar.gz" +checksum=59902bea55585d870fd7681eabe6091fbfd1a8776d1950f859d2dbbd510c74bd + +if [ -n "$XBPS_CHECK_PKGS" ]; then + configure_args+=" -DYYJSON_BUILD_TESTS=ON" +fi + +yyjson-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/lib/cmake + vmove "usr/lib/*.so" + } +}