From 1e9c4391ed0432b29d50f14b652aa992e905e2c3 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Thu, 28 Aug 2025 15:49:40 +0200 Subject: [PATCH] uriparser, revbump, fix build type, drop obsolete requirement for gtest (#12836) --- dev-libs/uriparser/uriparser-0.9.7.recipe | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/dev-libs/uriparser/uriparser-0.9.7.recipe b/dev-libs/uriparser/uriparser-0.9.7.recipe index 5fe1561d7..ea5c6ad0b 100644 --- a/dev-libs/uriparser/uriparser-0.9.7.recipe +++ b/dev-libs/uriparser/uriparser-0.9.7.recipe @@ -7,7 +7,7 @@ COPYRIGHT="2007 Weijia Song 2013 Radu Hociung 2007-2022 Sebastian Pipping" LICENSE="BSD (3-clause)" -REVISION="1" +REVISION="2" SOURCE_URI="https://github.com/uriparser/uriparser/releases/download/uriparser-$portVersion/uriparser-$portVersion.tar.bz2" CHECKSUM_SHA256="d27dea0c8b6f6fb9798f07caedef1cd96a6e3fc5c6189596774e19afa7ddded7" SOURCE_FILENAME="uriparser-$portVersion.tar.gz" @@ -26,7 +26,6 @@ PROVIDES=" " REQUIRES=" haiku$secondaryArchSuffix - lib:libgtest$secondaryArchSuffix " PROVIDES_devel=" @@ -37,6 +36,12 @@ REQUIRES_devel=" uriparser$secondaryArchSuffix == $portVersion base " +ARCHITECTURES_doc="any" + +PROVIDES_doc=" + uriparser_doc + " + BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libgtest$secondaryArchSuffix @@ -59,7 +64,10 @@ BUILD() { cmake -B build -S . \ $cmakeDirArgs \ - -DCMAKE_BUILD_TYPE=Release + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_DOCDIR=$documentationDir/packages/uriparser \ + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 + make -C build $jobArgs } @@ -75,6 +83,9 @@ INSTALL() packageEntries devel \ "$developDir" \ "$libDir"/cmake + + packageEntries doc \ + $documentationDir } TEST()