kde-frameworks: bump to 5.39.0.

add Qt version requires.
This commit is contained in:
Jerome Duval
2017-10-22 14:48:46 +02:00
parent 04c8dd72fd
commit a9f072df15
53 changed files with 257 additions and 254 deletions

View File

@@ -0,0 +1,167 @@
SUMMARY="Network transparent access to files and data"
DESCRIPTION="This framework implements almost all the file management \
functions you will ever need. In fact, the KDE file manager (Dolphin) and the \
KDE file dialog also uses this to provide its network-enabled file management.
It supports accessing files locally as well as via HTTP and FTP out of the \
box and can be extended by plugins to support other protocols as well. \
There is a variety of plugins available, e.g. to support access via SSH.
The framework can also be used to bridge a native protocol to a file-based \
interface. This makes the data accessible in all applications using the KDE \
file dialog or any other KIO enabled infrastructure."
HOMEPAGE="https://github.com/KDE/kio/"
COPYRIGHT="2010-2017 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/kio/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="ce0fb9efabe18c32228c553fa6ee1a7d423eba78179afb5478d6a86c135d53fc"
PATCHES="kio-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
kio$secondaryArchSuffix = $portVersion
cmd:kcookiejar5$secondaryArchSuffix = $portVersion
cmd:ktelnetservice5$secondaryArchSuffix = $portVersion
cmd:ktrash5$secondaryArchSuffix = $portVersion
cmd:protocoltojson$secondaryArchSuffix = $portVersion
lib:libKF5KIOCore$secondaryArchSuffix = $portVersion compat >= 5
lib:libKF5KIOFileWidgets$secondaryArchSuffix = $portVersion compat >= 5
lib:libKF5KIOGui$secondaryArchSuffix = $portVersion compat >= 5
lib:libKF5KIONTLM$secondaryArchSuffix = $portVersion compat >= 5
lib:libKF5KIOWidgets$secondaryArchSuffix = $portVersion compat >= 5
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libKF5Auth$secondaryArchSuffix
lib:libKF5Bookmarks$secondaryArchSuffix
lib:libKF5Codecs$secondaryArchSuffix
lib:libKF5Completion$secondaryArchSuffix
lib:libKF5ConfigCore$secondaryArchSuffix
lib:libKF5ConfigGui$secondaryArchSuffix
lib:libKF5ConfigWidgets$secondaryArchSuffix
lib:libKF5CoreAddons$secondaryArchSuffix
lib:libKF5DBusAddons$secondaryArchSuffix
lib:libKF5I18n$secondaryArchSuffix
lib:libKF5IconThemes$secondaryArchSuffix
lib:libKF5JobWidgets$secondaryArchSuffix
lib:libKF5ItemViews$secondaryArchSuffix
lib:libKF5Service$secondaryArchSuffix
lib:libKF5Solid$secondaryArchSuffix
lib:libKF5SonnetUi$secondaryArchSuffix
lib:libKF5TextWidgets$secondaryArchSuffix
lib:libKF5WidgetsAddons$secondaryArchSuffix
lib:libKF5WindowSystem$secondaryArchSuffix
lib:libKF5XmlGui$secondaryArchSuffix
lib:libQt5Concurrent$secondaryArchSuffix
lib:libQt5Core$secondaryArchSuffix
lib:libQt5DBus$secondaryArchSuffix
lib:libQt5Gui$secondaryArchSuffix
lib:libQt5Network$secondaryArchSuffix
lib:libQt5Xml$secondaryArchSuffix
"
PROVIDES_devel="
kio${secondaryArchSuffix}_devel = $portVersion
devel:libKF5KIOCore$secondaryArchSuffix = $portVersion compat >= 5
devel:libKF5KIOFileWidgets$secondaryArchSuffix = $portVersion compat >= 5
devel:libKF5KIOGui$secondaryArchSuffix = $portVersion compat >= 5
devel:libKF5KIONTLM$secondaryArchSuffix = $portVersion compat >= 5
devel:libKF5KIOWidgets$secondaryArchSuffix = $portVersion compat >= 5
"
REQUIRES_devel="
kio$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
extra_cmake_modules
haiku${secondaryArchSuffix}_devel
# devel:libacl$secondaryArchSuffix
# GSSAPI
devel:libKF5Archive$secondaryArchSuffix
devel:libKF5Auth$secondaryArchSuffix
devel:libKF5Bookmarks$secondaryArchSuffix
devel:libKF5Codecs$secondaryArchSuffix
devel:libKF5Completion$secondaryArchSuffix
devel:libKF5ConfigCore$secondaryArchSuffix
devel:libKF5ConfigGui$secondaryArchSuffix
devel:libKF5ConfigWidgets$secondaryArchSuffix
devel:libKF5CoreAddons$secondaryArchSuffix
devel:libKF5DBusAddons$secondaryArchSuffix
# devel:libKF5DocTools$secondaryArchSuffix
devel:libKF5I18n$secondaryArchSuffix
devel:libKF5IconThemes$secondaryArchSuffix
devel:libKF5JobWidgets$secondaryArchSuffix
devel:libKF5ItemViews$secondaryArchSuffix
devel:libKF5Notifications$secondaryArchSuffix
devel:libKF5Service$secondaryArchSuffix
devel:libKF5Solid$secondaryArchSuffix
devel:libKF5Wallet$secondaryArchSuffix
devel:libKF5WidgetsAddons$secondaryArchSuffix
devel:libKF5WindowSystem$secondaryArchSuffix
devel:libKF5XmlGui$secondaryArchSuffix
devel:libkf5sonnetcore$secondaryArchSuffix
devel:libKF5TextWidgets$secondaryArchSuffix
devel:libQt5Concurrent$secondaryArchSuffix >= 5.7
devel:libQt5Core$secondaryArchSuffix >= 5.7
devel:libQt5Gui$secondaryArchSuffix >= 5.7
devel:libQt5DBus$secondaryArchSuffix >= 5.7
devel:libQt5Network$secondaryArchSuffix >= 5.7
devel:libxml2$secondaryArchSuffix
devel:libxslt$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
cmd:python2
"
GLOBAL_WRITABLE_FILES="
settings/xdg/accept-languages.codes keep-old
settings/xdg/kshorturifilterrc keep-old
"
BUILD()
{
mkdir -p build
cd build
cmake .. $cmakeDirArgs \
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
make $jobArgs
}
INSTALL()
{
# disable docs generation until libxml package is fixed
sed -i s/add/#add/g docs/CMakeLists.txt
sed -i s/kdoctools/#kdoctool/g CMakeLists.txt
cd build
make install
prepareInstalledDevelLibs \
libKF5KIOCore \
libKF5KIOFileWidgets \
libKF5KIOGui \
libKF5KIONTLM \
libKF5KIOWidgets
packageEntries devel \
$libDir/cmake \
$dataDir/Qt5/mkspecs \
$developDir
}
TEST()
{
cd build
make test
}