131 lines
4.4 KiB
Bash
131 lines
4.4 KiB
Bash
SUMMARY="Integration of QML and KDE work spaces"
|
|
DESCRIPTION="KDeclarative provides integration of QML and KDE work spaces. \
|
|
It's comprises two parts: a library used by the C++ part of your application \
|
|
to intergrate QML with KDE Frameworks specific features, and a series of QML \
|
|
imports that offer bindings to some of the Frameworks."
|
|
HOMEPAGE="https://github.com/KDE/kdeclarative/"
|
|
COPYRIGHT="2010-2021 KDE Organisation"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/KDE/kdeclarative/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="bc1c7a9957f7742ee7a6299521ccd3b9c902d972aa99e70563664cb2c637573e"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
kdeclarative$secondaryArchSuffix = $portVersion
|
|
cmd:kpackagelauncherqml$secondaryArchSuffix = $portVersion
|
|
lib:libKF5CalendarEvents$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libKF5Declarative$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libKF5QuickAddons$secondaryArchSuffix = $portVersion compat >= 5
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libKF5Completion$secondaryArchSuffix
|
|
lib:libKF5ConfigCore$secondaryArchSuffix
|
|
lib:libKF5ConfigGui$secondaryArchSuffix
|
|
lib:libKF5CoreAddons$secondaryArchSuffix
|
|
lib:libKF5GlobalAccel$secondaryArchSuffix
|
|
lib:libKF5I18n$secondaryArchSuffix
|
|
lib:libKF5IconThemes$secondaryArchSuffix
|
|
lib:libKF5JobWidgets$secondaryArchSuffix
|
|
lib:libKF5KIOCore$secondaryArchSuffix
|
|
lib:libKF5KIOWidgets$secondaryArchSuffix
|
|
lib:libKF5Notifications$secondaryArchSuffix
|
|
lib:libKF5Package$secondaryArchSuffix
|
|
lib:libKF5QuickAddons$secondaryArchSuffix
|
|
lib:libKF5Service$secondaryArchSuffix
|
|
lib:libKF5WidgetsAddons$secondaryArchSuffix
|
|
lib:libKF5WindowSystem$secondaryArchSuffix
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
lib:libQt5DBus$secondaryArchSuffix
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
lib:libQt5Network$secondaryArchSuffix
|
|
lib:libQt5Qml$secondaryArchSuffix
|
|
lib:libQt5Quick$secondaryArchSuffix
|
|
lib:libKF5Solid$secondaryArchSuffix
|
|
lib:libQt5Test$secondaryArchSuffix
|
|
lib:libQt5Widgets$secondaryArchSuffix
|
|
lib:libQt5Xml$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
kdeclarative${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libKF5CalendarEvents$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libKF5Declarative$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libKF5QuickAddons$secondaryArchSuffix = $portVersion compat >= 5
|
|
"
|
|
REQUIRES_devel="
|
|
kdeclarative$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
extra_cmake_modules$secondaryArchSuffix >= $portVersion
|
|
devel:libKF5Auth$secondaryArchSuffix == $portVersion
|
|
devel:libKF5Bookmarks$secondaryArchSuffix == $portVersion
|
|
devel:libKF5Codecs$secondaryArchSuffix == $portVersion
|
|
devel:libKF5Completion$secondaryArchSuffix == $portVersion
|
|
devel:libKF5ConfigCore$secondaryArchSuffix == $portVersion
|
|
devel:libKF5ConfigWidgets$secondaryArchSuffix == $portVersion
|
|
devel:libKF5CoreAddons$secondaryArchSuffix == $portVersion
|
|
devel:libKF5GlobalAccel$secondaryArchSuffix == $portVersion
|
|
devel:libKF5GuiAddons$secondaryArchSuffix == $portVersion
|
|
devel:libKF5I18n$secondaryArchSuffix == $portVersion
|
|
devel:libKF5IconThemes$secondaryArchSuffix == $portVersion
|
|
devel:libKF5ItemViews$secondaryArchSuffix == $portVersion
|
|
devel:libkf5jobwidgets$secondaryArchSuffix == $portVersion
|
|
devel:libKF5KIOCore$secondaryArchSuffix == $portVersion
|
|
devel:libKF5Notifications$secondaryArchSuffix == $portVersion
|
|
devel:libKF5Package$secondaryArchSuffix == $portVersion
|
|
devel:libKF5Service$secondaryArchSuffix == $portVersion
|
|
devel:libKF5Solid$secondaryArchSuffix == $portVersion
|
|
devel:libKF5WidgetsAddons$secondaryArchSuffix == $portVersion
|
|
devel:libKF5WindowSystem$secondaryArchSuffix == $portVersion
|
|
devel:libKF5XmlGui$secondaryArchSuffix == $portVersion
|
|
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:lrelease$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:python2
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
mkdir -p build
|
|
cd build
|
|
|
|
cmake .. $cmakeDirArgs \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DKDE_INSTALL_QMLDIR=$dataDir/Qt5/qml \
|
|
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
|
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd build
|
|
make install
|
|
|
|
prepareInstalledDevelLibs \
|
|
libKF5Declarative \
|
|
libKF5CalendarEvents \
|
|
libKF5QuickAddons
|
|
|
|
packageEntries devel \
|
|
$libDir/cmake \
|
|
$dataDir/Qt5/mkspecs \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
cd build
|
|
make test
|
|
}
|