mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
uriparser, revbump, fix build type, drop obsolete requirement for gtest (#12836)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user