2016-01-27 04:17:03 +08:00
|
|
|
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kdevelop
|
2010-05-29 05:38:34 +08:00
|
|
|
|
|
|
|
pkgname=kdevelop
|
2018-12-22 18:19:12 +08:00
|
|
|
pkgver=5.3.1
|
2018-09-13 21:35:08 +08:00
|
|
|
pkgrel=1
|
2016-03-31 01:15:05 +08:00
|
|
|
pkgdesc='A C/C++ development environment for KDE'
|
|
|
|
arch=(x86_64)
|
|
|
|
url='http://www.kdevelop.org/'
|
|
|
|
license=(GPL)
|
2018-09-13 21:35:08 +08:00
|
|
|
options=('debug')
|
|
|
|
depends=(clang libksysguard kitemmodels knotifyconfig ktexteditor grantlee libkomparediff2 qt5-webengine
|
|
|
|
kcmutils threadweaver knewstuff)
|
2017-11-15 21:29:03 +08:00
|
|
|
makedepends=(extra-cmake-modules kdoctools kdevelop-pg-qt llvm qt5-tools plasma-framework krunner okteta python3 mesa
|
|
|
|
boost purpose subversion)
|
2016-03-31 01:15:05 +08:00
|
|
|
optdepends=('konsole: embedded terminal'
|
|
|
|
'git: Git support'
|
|
|
|
'subversion: SVN support'
|
|
|
|
'cvs: CVS support'
|
|
|
|
'gdb: GNU Debugger support'
|
|
|
|
'qt5-doc: Qt documentation integration'
|
|
|
|
'cmake: cmake integration'
|
|
|
|
'qt5-tools: qthelp plugin'
|
|
|
|
'okteta: hex editor integration'
|
2018-09-13 21:35:08 +08:00
|
|
|
'plasma-framework: for the plasma addons'
|
|
|
|
'cppcheck: code analyzer'
|
|
|
|
'heaptrack: memory profiler'
|
|
|
|
'kdevelop-clang-tidy: clang-tidy analyzer plugin')
|
2017-03-05 22:19:11 +08:00
|
|
|
source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.asc})
|
2018-12-22 18:19:12 +08:00
|
|
|
sha256sums=('d919274f7522ff974bc650f282ae3e640fc3fa9e406c0dd12986aa8b8fca2881'
|
2016-10-17 23:04:58 +08:00
|
|
|
'SKIP')
|
|
|
|
validpgpkeys=('329FD02C5AA48FCC77A4BBF0AC44AC6DB29779E6')
|
2016-03-31 01:15:05 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
2017-08-04 09:31:28 +08:00
|
|
|
sed -i 's|qdbus|qdbus-qt5|g' "${pkgname}-${pkgver}/app/kdevelop!"
|
2016-03-31 01:15:05 +08:00
|
|
|
}
|
2010-05-29 05:38:34 +08:00
|
|
|
|
|
|
|
build() {
|
2016-03-31 01:15:05 +08:00
|
|
|
cd build
|
2018-09-13 21:35:08 +08:00
|
|
|
cmake ../${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
|
|
-DKDE_INSTALL_SYSCONFDIR=/etc \
|
|
|
|
-DKDE_INSTALL_LIBEXECDIR=lib \
|
|
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
2012-03-14 12:19:18 +08:00
|
|
|
make
|
2010-05-29 05:38:34 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/build
|
2012-03-14 12:19:18 +08:00
|
|
|
make DESTDIR=${pkgdir} install
|
2010-05-29 05:38:34 +08:00
|
|
|
}
|