From ddea06c29be6e7b2dbe5fde4a9b722bdb5b43939 Mon Sep 17 00:00:00 2001 From: Fabian Date: Sat, 18 Jan 2014 23:42:10 +0000 Subject: [PATCH] kf5-kde-runtime: initial import --- kf5-kde-runtime/PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 kf5-kde-runtime/PKGBUILD diff --git a/kf5-kde-runtime/PKGBUILD b/kf5-kde-runtime/PKGBUILD new file mode 100644 index 000000000..e69c78371 --- /dev/null +++ b/kf5-kde-runtime/PKGBUILD @@ -0,0 +1,54 @@ +# Contributor: Andrea Scarpino + +source ../frameworks.conf + +pkgname=kf5-kde-runtime +_pkgname=kde-runtime +pkgver=0.plasma2tp +pkgrel=1 +pkgdesc='Plugins and applications necessary for the running of KDE applications' +arch=('i686' 'x86_64') +url='https://projects.kde.org/projects/kde/kde-runtime' +license=('LGPL') +depends=('qt5-x11extras' 'qt5-svg' 'openexr' 'exiv2' 'smbclient' + 'kcmutils' 'kde4support' 'kemoticons' + 'kio' 'knewstuff' 'knotifyconfig' 'kunitconversion' + 'kconfig' 'kconfigwidgets' 'kf5umbrella' 'kidletime' 'kitemmodels' + 'threadweaver' 'kinit' 'kross' 'kdeclarative' 'plasma-framework') +makedepends=('extra-cmake-modules' 'git' 'openslp') +source=(${_pkgname}-${pkgver}.tar.bz2::"http://quickgit.kde.org/?p=kde-runtime.git&a=snapshot&h=cbff222cf1d04ec3fa93c76f0acd3db93edebfb0&fmt=tbz2" + 'ecm.patch' + 'kcurrencycode.patch') +options=("debug") +md5sums=('SKIP' + '1f52720a74d0988269f5b965a748f9f0' + 'caa9fe4a05ef62859d7116073a84b15c') + +prepare() { + mkdir -p build + + cd ${_pkgname} + patch -p1 -i "${srcdir}"/ecm.patch + patch -p1 -i "${srcdir}"/kcurrencycode.patch +} + +build() { + cd build + cmake ../${_pkgname} \ + -DCMAKE_BUILD_TYPE=${KFBuildType} \ + -DCMAKE_INSTALL_PREFIX=${KF5InstallPrefix} \ + -DLIB_INSTALL_DIR=lib \ + -DSYSCONF_INSTALL_DIR=/etc + make +} + +check() { + cd build + msg "currently failing, needs gui?" + make test || return 0 +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +}