diff --git a/community/jsoncpp/APKBUILD b/community/jsoncpp/APKBUILD index f3ec0225d0a7..ac96efd6097f 100644 --- a/community/jsoncpp/APKBUILD +++ b/community/jsoncpp/APKBUILD @@ -1,14 +1,16 @@ # Maintainer: Natanael Copa pkgname=jsoncpp pkgver=1.9.6 -pkgrel=0 +pkgrel=1 pkgdesc="JSON C++ library" url="https://github.com/open-source-parsers/jsoncpp" arch="all" license="Public-Domain" makedepends="meson" subpackages="$pkgname-static $pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/open-source-parsers/jsoncpp/archive/$pkgver.tar.gz" +source="$pkgname-$pkgver.tar.gz::https://github.com/open-source-parsers/jsoncpp/archive/$pkgver.tar.gz + remove-check_required_components-meson.patch + " build() { abuild-meson \ @@ -27,4 +29,5 @@ package() { sha512sums=" 006d81f9f723dcfe875ebc2147449c07c5246bf97dd7b9eee1909decc914b051d6f3f06feb5c3dfa143d28773fb310aabb04a81dc447cc61513309df8eba8b08 jsoncpp-1.9.6.tar.gz +fcae084a5063891fd87c23f26df48d0a7bf66dbfb6998b1cd32fecd228a4e4c4aa512e4cbb8c7e4752057b859f45830f46ab77597e84a1d0ef0d883223a4d400 remove-check_required_components-meson.patch " diff --git a/community/jsoncpp/remove-check_required_components-meson.patch b/community/jsoncpp/remove-check_required_components-meson.patch new file mode 100644 index 000000000000..bdfcc7d40e97 --- /dev/null +++ b/community/jsoncpp/remove-check_required_components-meson.patch @@ -0,0 +1,21 @@ +From bd25fc5ea0e14d19e1451632205c8b99ec0b1c09 Mon Sep 17 00:00:00 2001 +From: Rui Chen +Date: Mon, 30 Sep 2024 18:23:00 -0400 +Subject: [PATCH] fix(build): remove `check_required_components` for meson + build (#1570) + +Signed-off-by: Rui Chen +--- + jsoncppConfig.cmake.meson.in | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/jsoncppConfig.cmake.meson.in b/jsoncppConfig.cmake.meson.in +index 0f4866d6d..be8852d0c 100644 +--- a/jsoncppConfig.cmake.meson.in ++++ b/jsoncppConfig.cmake.meson.in +@@ -4,5 +4,3 @@ + @MESON_STATIC_TARGET@ + + include ( "${CMAKE_CURRENT_LIST_DIR}/jsoncpp-namespaced-targets.cmake" ) +- +-check_required_components(JsonCpp)