Commit a0cf490c authored by Xuetian Weng's avatar Xuetian Weng

update kf5

parent 60aec118
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=frameworkintegration
pkgver=${KFVersion}
pkgrel=1
pkgdesc='Framework providing components to allow applications to integrate with a KDE Workspace'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/frameworkintegration'
license=('LGPL')
depends=('kio' 'ttf-oxygen')
makedepends=('extra-cmake-modules')
checkdepends=("cmake" 'xorg-server-xvfb')
options=("debug")
groups=('kf5')
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
check() {
cd build
xvfb-run make test
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
......@@ -10,6 +10,15 @@ KFVersion="5.4.0"
# Build type; can be one of Debug,Release and RelWithDebInfo
KFBuildType="RelWithDebInfo"
function cmake_kf5() {
cmake -DCMAKE_BUILD_TYPE=${KFBuildType} \
-DCMAKE_INSTALL_PREFIX=${KFInstallPrefix} \
-DLIB_INSTALL_DIR=lib \
-DSYSCONF_INSTALL_DIR=/etc \
-DLIBEXEC_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@"
}
function getSum() {
awk "\$2 ~ /${1}-/ {print \$1}" ../frameworks.sums ;
}
......@@ -20,7 +20,7 @@ attica-qt5
ki18n
kconfig
kcoreaddons
kwindowsystem # next release fix hard version 5.3.1
kwindowsystem
kcrash
kdbusaddons
karchive
......@@ -39,7 +39,6 @@ ktextwidgets
kglobalaccel
kxmlgui
kbookmarks
#libdbusmenu-qt5
knotifications
kwallet
solid
......@@ -72,7 +71,8 @@ plasma-framework
krunner
ktexteditor
frameworkintegration
kimageformats
kdelibs4support
khtml"
_build_desktop_kf5_additionals="sddm-kcm"
\ No newline at end of file
_build_desktop_kf5_additionals="sddm-kcm"
......@@ -51,3 +51,10 @@ fe584776adde932b4e88b76a15c06c9d7f21a0a179b3ef01ad4e954897da8782 kwidgetsaddons
40a63c3bbf3a024a4638e720e3d615b50954bb75425fa8e5e6758df1489fac5b solid-5.4.0.tar.xz
c2263361e6a37174a6b8ebcb0727e615348b9171ca0d4da00637ba30e78daace sonnet-5.4.0.tar.xz
05b18af92a0913966f3a3047633200231563504f5649f0ce196ac33d98340385 threadweaver-5.4.0.tar.xz
4088c50b02953145cd885030334e7a11fc4bf242455f28f3132fe4986d6d694d kdelibs4support-5.4.0.tar.xz
730791aa0d66d0a21c35a76271ed43a50ace4a24fbbf7d9cb4c56a8c88c7edcf khtml-5.4.0.tar.xz
0a18477c7a95cdb5d38b351e21f38b57410daab95d0dc8aa70cdaed304f1e68d kjs-5.4.0.tar.xz
0b66fd090e5f8fa71c2c630a802ba370a98887aba726ec232eecd26d4cc480a6 kjsembed-5.4.0.tar.xz
125bbd3ffe45393263b3004bbbd909a26f638e8c89544969c234933ed92a57b3 kmediaplayer-5.4.0.tar.xz
d7ce0f6b9a29291e1f5ccb84eb0ade7c5a4271ecf5cdd9c881bff3fa1cc94fc3 kross-5.4.0.tar.xz
25ab224b6ddfe9592aa1546c3d6b37e4c0f5a364f38242fab5e62631c98c30ee krunner-5.4.0.tar.xz
source ../frameworks.conf
pkgname=kactivities-frameworks
_pkgname=kactivities
pkgver=${KFVersion}
pkgrel=1
arch=('x86_64')
pkgdesc="Core components for the KDE's Activities"
url='https://projects.kde.org/projects/kde/kdelibs/kactivities'
license=('LGPL')
depends=('kcmutils' 'kdeclarative')
makedepends=('extra-cmake-modules' 'boost' 'python')
provides=('kactivities')
conflicts=('kactivities' 'libkactivities-frameworks')
options=("debug")
groups=('kf5')
source=("$KFServer/${_pkgname}-${pkgver}.tar.xz"
"fix_plugin.patch::http://quickgit.kde.org/?p=kactivities.git&a=commitdiff&h=c5fa3e8f692de3d77a0b96f9f70ca625a3ff6542&o=plain")
sha256sums=( $(getSum ${_pkgname})
'9c768714b931c2c971f025bcbb980609b012a3964ac5a7cd29dc58fd0412e4c7')
prepare() {
mkdir -p build
cd ${_pkgname}-${pkgver}
patch -Np1 -i ../fix_plugin.patch
}
build() {
cd build
cmake_kf5 ../${_pkgname}-${pkgver}
make
}
check() {
cd ${srcdir}/build
make test
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=kbookmarks
pkgver=${KFVersion}
pkgrel=1
pkgdesc='Support for bookmarks and the XBEL format'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/kbookmarks'
license=('LGPL')
depends=('kxmlgui')
makedepends=('extra-cmake-modules' 'qt5-tools' 'python3')
checkdepends=('cmake' 'xorg-server-xvfb')
groups=('kf5')
options=("debug")
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver} \
-DPYTHON_EXECUTABLE=/usr/bin/python3
make
}
check() {
cd build
xvfb-run make test
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=kcmutils
pkgver=${KFVersion}
pkgrel=1
pkgdesc='Utilities for interacting with KCModules'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/kcmutils'
license=('LGPL')
depends=('kxmlgui')
makedepends=('extra-cmake-modules' 'python')
checkdepends=("cmake" "xorg-server-xvfb")
groups=('kf5')
options=("debug")
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver} \
-DPYTHON_EXECUTABLE=/usr/bin/python3
make
}
check() {
cd build
xvfb-run make test
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
......@@ -14,7 +14,7 @@ makedepends=('extra-cmake-modules' 'qt5-tools')
checkdepends=('cmake')
options=("debug")
groups=('kf5')
source=("${KFServer}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum $pkgname ) )
prepare() {
......
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=kcompletion
pkgver=${KFVersion}
pkgrel=1
pkgdesc='Text completion helpers and widgets'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/kcompletion'
license=('LGPL')
depends=('kwidgetsaddons' 'kconfig')
makedepends=('extra-cmake-modules' 'qt5-tools')
checkdepends=('xorg-server-xvfb')
groups=('kf5')
options=("debug")
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
check() {
cd build
xvfb-run make test
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
......@@ -14,7 +14,7 @@ makedepends=("extra-cmake-modules>=${KFECMVersion}" "qt5-tools")
checkdepends=("xorg-server-xvfb")
groups=('kf5')
options=("debug")
source=("${KFServer}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
......
# Contributor : Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=kconfigwidgets
pkgver=${KFVersion}
pkgrel=1
pkgdesc='Widgets for KConfig'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/kconfigwidgets'
license=('LGPL')
depends=('kauth' 'kcodecs' 'kconfig' 'kguiaddons' 'ki18n' 'kwidgetsaddons')
makedepends=("extra-cmake-modules>=${KFECMVersion}" "kdoctools" "python3")
groups=('kf5')
options=("debug")
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=${KFBuildType} \
-DCMAKE_INSTALL_PREFIX=${KFInstallPrefix} \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DPYTHON_EXECUTABLE=/usr/bin/python3
make
}
check() {
cd build
xvfb-run -s "-screen 0 640x480x24" make test
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
......@@ -13,7 +13,7 @@ depends=("qt5-base>=${KFQtVersion}" 'qt5-x11extras')
makedepends=("extra-cmake-modules>=${KFECMVersion}" 'qt5-tools')
checkdepends=("dbus-core")
groups=('kf5')
source=("${KFServer}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
......@@ -22,11 +22,7 @@ prepare() {
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=${KFBuildType} \
-DCMAKE_INSTALL_PREFIX=${KFInstallPrefix} \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
cmake_kf5 ../${pkgname}-${pkgver}
make
}
......
# Contributor : Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=kdeclarative
pkgver=${KFVersion}
pkgrel=1
pkgdesc='Provides integration of QML and KDE Frameworks'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/kdeclarative'
license=('LGPL')
depends=('kio')
makedepends=('extra-cmake-modules')
checkdepends=("cmake" "xorg-server-xvfb")
groups=('kf5')
options=("debug")
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
check() {
cd build
xvfb-run -s "-screen 0 640x480x24" make test
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=kded
pkgver=${KFVersion}
pkgrel=1
pkgdesc='Extensible deamon for providing system level services'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/kded'
license=('LGPL')
depends=('kservice' 'kinit')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
checkdepends=("cmake")
groups=('kf5')
options=("debug")
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver} \
-DPYTHON_EXECUTABLE=/usr/bin/python3
make
}
check() {
cd build
make test
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=kdelibs4support
pkgver=${KFVersion}
pkgrel=1
pkgdesc='Porting aid from KDELibs4'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/kdelibs4support'
license=('LGPL')
depends=('kunitconversion' 'kdesignerplugin' 'kinit' 'kitemmodels' 'kemoticons')
makedepends=('extra-cmake-modules' 'kdoctools' 'qt5-tools' 'networkmanager')
checkdeepends=("xorg-server-xvfb")
groups=('kf5-aids')
options=("debug")
source=("${KFServer}/portingAids/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
check() {
cd build
xvfb-run make test
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=kdesignerplugin
pkgver=${KFVersion}
pkgrel=1
pkgdesc='Integration of Frameworks widgets in Qt Designer/Creator'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/kdesignerplugin'
license=('LGPL')
depends=('kplotting' 'kdewebkit')
makedepends=('extra-cmake-modules' 'qt5-tools' 'kdoctools')
checkdepends=('cmake' "xorg-server-xvfb")
groups=('kf5')
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
check() {
cd build
xvfb-run make test
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=kdesu
pkgver=${KFVersion}
pkgrel=1
pkgdesc='Integration with su for elevated privileges'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/kdesu'
license=('LGPL')
depends=('kservice' 'kpty')
makedepends=('extra-cmake-modules' 'python3')
checkdepends=('cmake')
groups=('kf5')
options=("debug")
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver} \
-DPYTHON_EXECUTABLE=/usr/bin/python3
make
}
check() {
cd build
make test
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=kdewebkit
pkgver=${KFVersion}
pkgrel=1
pkgdesc='KDE Integration for QtWebKit'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/kdewebkit'
license=('LGPL')
depends=('qt5-webkit' 'kwallet' 'kparts')
makedepends=('extra-cmake-modules')
options=("debug")
groups=('kf5')
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
check(){
cd build
make test
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=kdnssd
pkgver=${KFVersion}
pkgrel=1
pkgdesc='Abstraction to system DNSSD features'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/kdnssd'
license=('LGPL')
depends=('qt5-base' 'avahi')
makedepends=('extra-cmake-modules' 'qt5-tools')
checkdepends=("cmake")
groups=('kf5')
options=("debug")
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
check() {
cd build
make test
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
......@@ -13,7 +13,7 @@ depends=('karchive' 'docbook-xsl')
makedepends=("extra-cmake-modules>=${KFECMVersion}" "ki18n" "python3")
groups=('kf5')
options=('staticlibs' 'debug')
source=("${KFServer}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
......
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=kemoticons
pkgver=${KFVersion}
pkgrel=1
pkgdesc='Support for emoticons and emoticons themes'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/kemoticons'
license=('LGPL')
depends=('karchive' 'kservice')
makedepends=('extra-cmake-modules' 'python3')
checkdepends=('cmake' 'kded')
groups=('kf5')
options=("debug")
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
check() {
cd build
eval `dbus-launch --sh-syntax`
xvfb-run -s "-screen 0 640x480x24" sh -c 'kded5 & sleep 3; make test'
kill $DBUS_SESSION_BUS_PID
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
# Contributor : Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=kglobalaccel
pkgver=${KFVersion}
pkgrel=1
pkgdesc='Add support for global workspace shortcuts'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/kglobalaccel'
license=('LGPL')
depends=("qt5-base>=${KFQtVersion}" "qt5-x11extras")
makedepends=('extra-cmake-modules' 'qt5-tools')
checkdepends=('xorg-server-xvfb')
options=('debug')
groups=('kf5')
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
check() {
cd build
xvfb-run make test
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=kguiaddons
pkgver=${KFVersion}
pkgrel=1
pkgdesc='Higher level user interface components for common tasks'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/kguiaddons'
license=('LGPL')
depends=("qt5-base>=${KFQtVersion}" "qt5-x11extras")
makedepends=("extra-cmake-modules>=${KFECMVersion}")
checkdepends=('xorg-server-xvfb')
groups=('kf5')
options=('debug')
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=${KFBuildVersion} \
-DCMAKE_INSTALL_PREFIX=${KFInstallPrefix} \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON