SUMMARY="An RSS/Atom parser library" DESCRIPTION="RSS (0.9/1.0, 0.91..2.0) and Atom (0.3 and 1.0) feeds are supported. syndication \ offers a unified, format-agnostic view on the parsed feed, so that the using application does \ not need to distinguish between feed formats." HOMEPAGE="https://invent.kde.org/frameworks/syndication" COPYRIGHT="2010-2026 KDE Organisation" LICENSE="GNU LGPL v2" REVISION="1" SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/syndication-${portVersion}.tar.xz" CHECKSUM_SHA256="953f5935b1a0ba7c2c70cc213c0144d9c73855c802a1525be6c086543428f957" SOURCE_DIR="syndication-$portVersion" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" libVersion="$portVersion" libVersionCompat="$libVersion compat >= ${libVersion%%.*}" PROVIDES=" syndication6$secondaryArchSuffix = $portVersion lib:libKF6Syndication$secondaryArchSuffix = $libVersionCompat " REQUIRES=" haiku$secondaryArchSuffix lib:libKF6Codecs$secondaryArchSuffix lib:libQt6Core$secondaryArchSuffix lib:libQt6Xml$secondaryArchSuffix " PROVIDES_devel=" syndication6${secondaryArchSuffix}_devel = $portVersion devel:libKF6Syndication$secondaryArchSuffix = $libVersionCompat " REQUIRES_devel=" syndication6$secondaryArchSuffix == $portVersion base " ARCHITECTURES_doc="any" PROVIDES_doc=" syndication6_doc = $portVersion " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel extra_cmake_modules$secondaryArchSuffix >= $portVersion qt6_tools${secondaryArchSuffix}_devel devel:libKF6Codecs$secondaryArchSuffix >= $libVersion devel:libQt6Core$secondaryArchSuffix " BUILD_PREREQUIRES=" kde_qdoc_common cmd:cmake cmd:g++$secondaryArchSuffix cmd:make cmd:pkg_config$secondaryArchSuffix " BUILD() { export KDE_DOCS="`finddir B_SYSTEM_DATA_DIRECTORY`"/kde-qdoc-common cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \ $cmakeDirArgs \ -DCMAKE_SKIP_RPATH=YES \ -DBUILD_TESTING=OFF \ -Wno-dev make -C build $jobArgs cmake --build build --target prepare_docs cmake --build build --target generate_docs cmake --build build --target generate_qch } INSTALL() { make -C build install # cmake --build build --target install_html_docs cmake --build build --target install_qch_docs prepareInstalledDevelLib \ libKF6Syndication packageEntries devel \ $developDir \ $libDir/cmake packageEntries doc \ $documentationDir } TEST() { export LIBRARY_PATH="$sourceDir/build/bin${LIBRARY_PATH:+:$LIBRARY_PATH}" # manual tests (all pass) build/bin/loaderutiltest build/bin/syndicationtest # build/bin/testlibsyndication # needs argument # build/bin/testloader # needs argument build/bin/testpersonimpl }