SUMMARY="KDevelop Parser Generator, used in the PHP language plugin and others" DESCRIPTION="KDevelop-PG-Qt is a parser generator written in readable source-code and generating \ readable source-code. Its syntax was inspirated by AntLR. It implements the visitor-pattern and \ uses the Qt library. That is why it is ideal to be used in Qt-/KDE-based applications like \ KDevelop." HOMEPAGE="https://invent.kde.org/kdevelop/kdevelop-pg-qt" COPYRIGHT="2010-2025 KDE Organisation" LICENSE="GNU LGPL v2" REVISION="1" SOURCE_URI="https://download.kde.org/stable/kdevelop-pg-qt/$portVersion/src/kdevelop-pg-qt-$portVersion.tar.xz" CHECKSUM_SHA256="acbeb61c82f5d7aa2ddcfa18e3bee5e2559106970bd6d146d46c95f8d027bb86" SOURCE_DIR="kdevelop-pg-qt-$portVersion" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" PROVIDES=" kdevelop_pg_qt6$secondaryArchSuffix = $portVersion cmd:kdev_pg_qt$secondaryArchSuffix = $portVersion " REQUIRES=" haiku$secondaryArchSuffix lib:libQt6Core$secondaryArchSuffix " CONFLICTS=" kdevelop_pg_qt$secondaryArchSuffix " PROVIDES_devel=" kdevelop_pg_qt6${secondaryArchSuffix}_devel = $portVersion " REQUIRES_devel=" kdevelop_pg_qt6$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel extra_cmake_modules$secondaryArchSuffix devel:libQt6Core$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:bison cmd:cmake cmd:flex cmd:g++$secondaryArchSuffix cmd:make cmd:pkg_config$secondaryArchSuffix " BUILD() { cmake -Bbuild -S. $cmakeDirArgs \ -DCMAKE_BUILD_TYPE=Release \ -DECM_DIR=/system/data/cmake/Modules/ECM/cmake \ -Wno-dev make -Cbuild $jobArgs } INSTALL() { make -Cbuild install packageEntries devel \ $developDir \ $libDir/cmake } TEST() { make -Cbuild test }