New package: yyjson-0.9.0

This commit is contained in:
classabbyamp 2024-05-27 01:11:11 -04:00
parent 1ba26800e3
commit 3c0f895658
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
3 changed files with 30 additions and 0 deletions

View File

@ -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

1
srcpkgs/yyjson-devel Symbolic link
View File

@ -0,0 +1 @@
yyjson

28
srcpkgs/yyjson/template Normal file
View File

@ -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 <void@placeviolette.net>"
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"
}
}