2017-10-11 13:47:02 +00:00
|
|
|
SUMMARY="Large set of desktop widgets"
|
|
|
|
DESCRIPTION="This repository contains add-on widgets and classes for \
|
|
|
|
applications that use the Qt Widgets module. If you are porting applications \
|
|
|
|
from KDE Platform 4 "kdeui" library, you will find many of its classes here.
|
|
|
|
|
|
|
|
Provided are action classes that can be added to toolbars or menus, a wide \
|
|
|
|
range of widgets for selecting characters, fonts, colors, actions, dates and \
|
|
|
|
times, or MIME types, as well as platform-aware dialogs for configuration \
|
|
|
|
pages, message boxes, and password requests."
|
|
|
|
HOMEPAGE="https://github.com/KDE/kwidgetsaddons/"
|
2021-03-18 19:17:26 +00:00
|
|
|
COPYRIGHT="2010-2021 KDE Organisation"
|
2017-10-11 13:47:02 +00:00
|
|
|
LICENSE="GNU LGPL v2"
|
2020-12-15 14:20:40 +00:00
|
|
|
REVISION="1"
|
2017-10-11 13:47:02 +00:00
|
|
|
SOURCE_URI="https://github.com/KDE/kwidgetsaddons/archive/v$portVersion.tar.gz"
|
2021-10-31 07:36:09 +00:00
|
|
|
CHECKSUM_SHA256="7be1771dc991f8717d4e4b86e87804c94aa4d0f7cbe2360a58dc0caa0717a059"
|
2017-10-11 13:47:02 +00:00
|
|
|
|
2021-09-15 19:40:18 +00:00
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
2017-10-11 13:47:02 +00:00
|
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
|
|
|
|
PROVIDES="
|
|
|
|
kwidgetsaddons$secondaryArchSuffix = $portVersion
|
2017-10-22 12:48:46 +00:00
|
|
|
lib:libKF5WidgetsAddons$secondaryArchSuffix = $portVersion compat >= 5
|
2017-10-11 13:47:02 +00:00
|
|
|
"
|
|
|
|
REQUIRES="
|
|
|
|
haiku$secondaryArchSuffix
|
|
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
|
|
lib:libQt5Xml$secondaryArchSuffix
|
|
|
|
"
|
|
|
|
|
|
|
|
PROVIDES_devel="
|
|
|
|
kwidgetsaddons${secondaryArchSuffix}_devel = $portVersion
|
2017-10-22 12:48:46 +00:00
|
|
|
devel:libKF5WidgetsAddons$secondaryArchSuffix = $portVersion compat >= 5
|
2017-10-11 13:47:02 +00:00
|
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
|
|
kwidgetsaddons$secondaryArchSuffix == $portVersion base
|
|
|
|
"
|
|
|
|
|
|
|
|
BUILD_REQUIRES="
|
|
|
|
haiku${secondaryArchSuffix}_devel
|
2018-09-12 12:11:01 +00:00
|
|
|
extra_cmake_modules$secondaryArchSuffix >= $portVersion
|
2017-10-22 12:48:46 +00:00
|
|
|
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
2017-10-11 13:47:02 +00:00
|
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
|
|
cmd:cmake
|
|
|
|
cmd:g++$secondaryArchSuffix
|
2019-02-15 13:44:06 +00:00
|
|
|
cmd:lrelease$secondaryArchSuffix >= 5
|
2017-10-11 13:47:02 +00:00
|
|
|
cmd:make
|
|
|
|
"
|
|
|
|
|
|
|
|
BUILD()
|
|
|
|
{
|
|
|
|
mkdir -p build
|
|
|
|
cd build
|
|
|
|
|
|
|
|
cmake .. $cmakeDirArgs \
|
2021-10-31 07:36:09 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
2017-10-11 13:47:02 +00:00
|
|
|
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
|
|
|
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
|
|
|
make $jobArgs
|
|
|
|
}
|
|
|
|
|
|
|
|
INSTALL()
|
|
|
|
{
|
|
|
|
cd build
|
|
|
|
make install
|
|
|
|
prepareInstalledDevelLibs \
|
|
|
|
libKF5WidgetsAddons
|
|
|
|
packageEntries devel \
|
|
|
|
$libDir/cmake \
|
|
|
|
$dataDir/Qt5/mkspecs \
|
|
|
|
$developDir
|
|
|
|
}
|
|
|
|
|
|
|
|
TEST()
|
|
|
|
{
|
|
|
|
cd build
|
|
|
|
make test
|
|
|
|
}
|