mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
82 lines
1.7 KiB
Bash
82 lines
1.7 KiB
Bash
SUMMARY="Powerful libraries for creating business diagrams"
|
|
DESCRIPTION="The libraries available in this KDE module are:
|
|
KChart. A library for creating business charts.
|
|
KGantt. A library for creating Gantt diagrams"
|
|
HOMEPAGE="https://github.com/KDE/kdiagram/"
|
|
COPYRIGHT="2010-2017 KDE Organisation"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/KDE/kdiagram/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="d79554a15d75ffb5e044beba65b25ad2b5e56814b470aeb873ad6951d6e519ec"
|
|
|
|
ARCHITECTURES="?x86_gcc2 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
kdiagram$secondaryArchSuffix = $portVersion
|
|
lib:libKChart$secondaryArchSuffix = $portVersion
|
|
lib:libKGantt$secondaryArchSuffix = $portVersion
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
lib:libQt5PrintSupport$secondaryArchSuffix
|
|
lib:libQt5Widgets$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
kdiagram${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libKChart$secondaryArchSuffix = $portVersion
|
|
devel:libKGantt$secondaryArchSuffix = $portVersion
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
kdiagram$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
extra_cmake_modules >= 5.39
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:python
|
|
"
|
|
|
|
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 \
|
|
libKChart \
|
|
libKGantt
|
|
|
|
packageEntries devel \
|
|
$libDir/cmake \
|
|
$dataDir/Qt5/mkspecs \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
cd build
|
|
make test
|
|
}
|