mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
kdnssd: add recipe for version 5.47.0
This commit is contained in:
75
kde-frameworks/kdnssd/kdnssd-5.47.0.recipe
Normal file
75
kde-frameworks/kdnssd/kdnssd-5.47.0.recipe
Normal file
@@ -0,0 +1,75 @@
|
||||
SUMMARY="Network service discovery using Zeroconf"
|
||||
DESCRIPTION="KDNSSD is a library for handling the DNS-based Service Discovery \
|
||||
Protocol (DNS-SD), the layer of Zeroconf that allows network services, such \
|
||||
as printers, to be discovered without any user intervention or centralized \
|
||||
infrastructure."
|
||||
HOMEPAGE="https://github.com/KDE/kdnssd/"
|
||||
COPYRIGHT="2010-2018 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kdnssd/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="f9e92a2fd438cbf00a1d77c45d5188f5a6ce40464a6902ca8f0cc23798a7964d"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kdnssd$secondaryArchSuffix = $portVersion
|
||||
lib:libkf5dnssd$secondaryArchSuffix = $portVersion compat >= 5
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kdnssd${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libkf5dnssd$secondaryArchSuffix = $portVersion compat >= 5
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kdnssd$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
extra_cmake_modules >= $portVersion
|
||||
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5DNSSD
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user