kde-frameworks: bump to 5.47.0

This commit is contained in:
Sergei Reznikov
2018-06-20 14:01:06 +03:00
parent a5d24f0f52
commit fec70057f4
66 changed files with 61 additions and 64 deletions

View File

@@ -0,0 +1,102 @@
SUMMARY="Configuration dialog for desktop notificationsr"
DESCRIPTION="KNotifyConfig provides a configuration dialog for desktop \
notifications which can be embedded in your application."
HOMEPAGE="https://github.com/KDE/knotifyconfig/"
COPYRIGHT="2010-2018 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/knotifyconfig/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="6f67aa5725b5ac095e50e8298d6a037318a71ddb07d4490fc2731ba60cb75fd5"
ARCHITECTURES="!x86_gcc2 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
knotifyconfig$secondaryArchSuffix = $portVersion
lib:libKF5NotifyConfig$secondaryArchSuffix = $portVersion compat >= 5
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libKF5Completion$secondaryArchSuffix
lib:libKF5ConfigCore$secondaryArchSuffix
lib:libKF5CoreAddons$secondaryArchSuffix
lib:libKF5I18n$secondaryArchSuffix
lib:libKF5JobWidgets$secondaryArchSuffix
lib:libKF5KIOCore$secondaryArchSuffix
lib:libKF5KIOWidgets$secondaryArchSuffix
lib:libKF5Service$secondaryArchSuffix
lib:libKF5WidgetsAddons$secondaryArchSuffix
lib:libphonon4qt5experimental$secondaryArchSuffix
lib:libQt5Core$secondaryArchSuffix
lib:libQt5DBus$secondaryArchSuffix
lib:libQt5Gui$secondaryArchSuffix
lib:libQt5Network$secondaryArchSuffix
lib:libQt5Widgets$secondaryArchSuffix
"
PROVIDES_devel="
knotifyconfig${secondaryArchSuffix}_devel = $portVersion
devel:libKF5NotifyConfig$secondaryArchSuffix = $portVersion compat >= 5
"
REQUIRES_devel="
knotifyconfig$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
extra_cmake_modules >= 5.46
haiku${secondaryArchSuffix}_devel
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:libKF5XmlGui$secondaryArchSuffix == $portVersion
devel:libKF5I18n$secondaryArchSuffix == $portVersion
devel:libKF5ItemViews$secondaryArchSuffix == $portVersion
devel:libKF5JobWidgets$secondaryArchSuffix == $portVersion
devel:libKF5KIOCore$secondaryArchSuffix == $portVersion
devel:libKF5Notifications$secondaryArchSuffix == $portVersion
devel:libKF5Service$secondaryArchSuffix == $portVersion
devel:libKF5Solid$secondaryArchSuffix == $portVersion
devel:libKF5WidgetsAddons$secondaryArchSuffix == $portVersion
devel:libQt5Core$secondaryArchSuffix >= 5.7
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:make
cmd:python2
"
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 \
libKF5NotifyConfig
packageEntries devel \
$libDir/cmake \
$dataDir/Qt5/mkspecs \
$developDir
}
TEST()
{
cd build
make test
}