mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
94 lines
2.4 KiB
Bash
94 lines
2.4 KiB
Bash
SUMMARY="Qt-based client-side and server-side SOAP component"
|
|
DESCRIPTION="KD Soap is a Qt-based client-side and server-side SOAP component.
|
|
|
|
It can be used to create client applications for web services and also provides \
|
|
the means to create web services without the need for any further component \
|
|
such as a dedicated web server.
|
|
|
|
KDSoap also supports writing SOAP servers easily.
|
|
|
|
KD Soap targets C++ programmers who use Qt in their applications."
|
|
HOMEPAGE="https://github.com/KDAB/KDSoap"
|
|
COPYRIGHT="KDAB"
|
|
LICENSE="GNU GPL v3
|
|
GNU LGPL v3"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/KDAB/KDSoap/releases/download/kdsoap-$portVersion/kdsoap-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="d9ef11948442197c9fa44bd6fbadc842b7280a60dfc40577af66fded637af356"
|
|
SOURCE_DIR="kdsoap-$portVersion"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
commandSuffix=$secondaryArchSuffix
|
|
commandBinDir=$binDir
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
commandSuffix=
|
|
commandBinDir=$prefix/bin
|
|
fi
|
|
|
|
libVersion="$portVersion"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
kdsoap_qt6$secondaryArchSuffix = $portVersion
|
|
cmd:kdwsdl2cpp_qt6$commandSuffix = $portVersion
|
|
lib:libkdsoap_qt6$secondaryArchSuffix = $libVersionCompat
|
|
lib:libkdsoap_server_qt6$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libQt6Core$secondaryArchSuffix
|
|
lib:libQt6Network$secondaryArchSuffix
|
|
lib:libQt6Xml$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
kdsoap_qt6${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libkdsoap_qt6$secondaryArchSuffix = $libVersionCompat
|
|
devel:libkdsoap_server_qt6$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES_devel="
|
|
kdsoap_qt6$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libQt6Core$secondaryArchSuffix
|
|
devel:libQt6Network$secondaryArchSuffix
|
|
devel:libQt6Xml$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
|
|
$cmakeDirArgs \
|
|
-DKDSoap_QT6=ON \
|
|
-DCMAKE_INSTALL_BINDIR=$commandBinDir \
|
|
-DINSTALL_DATADIR=$dataDir/Qt6 \
|
|
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt6/mkspecs
|
|
make -Cbuild $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make -Cbuild install
|
|
|
|
prepareInstalledDevelLibs \
|
|
libkdsoap-qt6 \
|
|
libkdsoap-server-qt6
|
|
|
|
packageEntries devel \
|
|
$dataDir \
|
|
$developDir \
|
|
$documentationDir \
|
|
$libDir/cmake
|
|
}
|