SUMMARY="Set of item models extending the Qt model-view framework" DESCRIPTION="KItemModels provides the following models: KBreadcrumbSelectionModel - Selects the parents of selected items to create \ breadcrumbs KCheckableProxyModel - Adds a checkable capability to a source model KConcatenateRowsProxyModel - Concatenates rows from multiple source models KDescendantsProxyModel - Proxy Model for restructuring a Tree into a list KExtraColumnsProxyModel - Adds columns after existing columns KLinkItemSelectionModel - Share a selection in multiple views which do not \ have the same source model KModelIndexProxyMapper - Mapping of indexes and selections through proxy \ models KRearrangeColumnsProxyModel - Can reorder and hide columns from the source \ model KRecursiveFilterProxyModel - Recursive filtering of models KSelectionProxyModel - A Proxy Model which presents a subset of its source \ model to observers" HOMEPAGE="https://github.com/KDE/kitemmodels/" COPYRIGHT="2010-2018 KDE Organisation" LICENSE="GNU LGPL v2" REVISION="1" SOURCE_URI="https://github.com/KDE/kitemmodels/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="5f9d87564775789002c64ee1c7db58a889c50365918d813fb0a68ae3ba0e7ca9" ARCHITECTURES="!x86_gcc2 x86_64" SECONDARY_ARCHITECTURES="x86" PROVIDES=" kitemmodels$secondaryArchSuffix = $portVersion lib:libKF5ItemModels$secondaryArchSuffix = $portVersion compat >= 5 " REQUIRES=" haiku$secondaryArchSuffix lib:libKF5CoreAddons$secondaryArchSuffix lib:libQt5Core$secondaryArchSuffix lib:libQt5Gui$secondaryArchSuffix lib:libQt5Xml$secondaryArchSuffix " PROVIDES_devel=" kitemmodels${secondaryArchSuffix}_devel = $portVersion devel:libKF5ItemModels$secondaryArchSuffix = $portVersion compat >= 5 " REQUIRES_devel=" kitemmodels$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" extra_cmake_modules >= 5.46 haiku${secondaryArchSuffix}_devel devel:libQt5Core$secondaryArchSuffix >= 5.7 " BUILD_PREREQUIRES=" cmd:cmake cmd:g++$secondaryArchSuffix cmd:make " GLOBAL_WRITABLE_FILES=" settings/xdg/kitemmodels.categories keep-old " 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 \ libKF5ItemModels packageEntries devel \ $libDir/cmake \ $dataDir/Qt5/mkspecs \ $developDir } TEST() { cd build make test }