mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
kdiagram: add recipe for version 2.6.0
This commit is contained in:
81
dev-libs/kdiagram/kdiagram-2.6.0.recipe
Normal file
81
dev-libs/kdiagram/kdiagram-2.6.0.recipe
Normal file
@@ -0,0 +1,81 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user