SUMMARY="Set of item views extending the Qt model-view framework" DESCRIPTION="KItemViews includes a set of views, which can be used with item \ models. It includes views for categorizing lists and to add search filters to \ flat and hierarchical lists." HOMEPAGE="https://github.com/KDE/kitemviews/" COPYRIGHT="2010-2021 KDE Organisation" LICENSE="GNU LGPL v2" REVISION="1" SOURCE_URI="https://github.com/KDE/kitemviews/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="a6dda86706a3bec6414e5eabd2dec1e1dbd608f9ed831bd16fd178f9a867bc93" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" PROVIDES=" kitemviews$secondaryArchSuffix = $portVersion lib:libKF5ItemViews$secondaryArchSuffix = $portVersion compat >= 5 " REQUIRES=" haiku$secondaryArchSuffix lib:libQt5Core$secondaryArchSuffix lib:libQt5Gui$secondaryArchSuffix lib:libQt5Widgets$secondaryArchSuffix " PROVIDES_devel=" kitemviews${secondaryArchSuffix}_devel = $portVersion devel:libKF5ItemViews$secondaryArchSuffix = $portVersion compat >= 5 " REQUIRES_devel=" kitemviews$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel extra_cmake_modules$secondaryArchSuffix >= $portVersion devel:libQt5Core$secondaryArchSuffix >= 5.7 " BUILD_PREREQUIRES=" cmd:cmake cmd:g++$secondaryArchSuffix cmd:lrelease$secondaryArchSuffix >= 5 cmd:make " BUILD() { mkdir -p build cd build cmake .. $cmakeDirArgs \ -DCMAKE_BUILD_TYPE=Release \ -DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \ -DECM_DIR=/system/data/cmake/Modules/ECM/cmake make $jobArgs } INSTALL() { cd build make install prepareInstalledDevelLibs \ libKF5ItemViews packageEntries devel \ $libDir/cmake \ $dataDir/Qt5/mkspecs \ $developDir } TEST() { cd build make test }