mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
75 lines
1.6 KiB
Bash
75 lines
1.6 KiB
Bash
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-2018 KDE Organisation"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/KDE/kitemviews/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="7a3b6b3668ad47182fde3f0b2fddd7f8262b07176ed269fa131325b22c25e5a3"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86_64"
|
|
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="
|
|
extra_cmake_modules >= 5.46
|
|
haiku${secondaryArchSuffix}_devel
|
|
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 \
|
|
libKF5ItemViews
|
|
|
|
packageEntries devel \
|
|
$libDir/cmake \
|
|
$dataDir/Qt5/mkspecs \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
cd build
|
|
make test
|
|
}
|