mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 00:47:15 +08:00
kf5-kde-runtime: initial import
This commit is contained in:
parent
4751c35c3c
commit
ddea06c29b
54
kf5-kde-runtime/PKGBUILD
Normal file
54
kf5-kde-runtime/PKGBUILD
Normal file
@ -0,0 +1,54 @@
|
||||
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
||||
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue
Block a user