aboutsummaryrefslogtreecommitdiffstats
path: root/community/kdevelop/APKBUILD
blob: eda2a48d23e94782b6ed2fec48b6ba7786eb8cd8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdevelop
pkgver=5.5.1
pkgrel=0
arch="all !armhf !ppc64le !s390x !mips !mips64" # Blocked by qt5-qtwebengine
url="https://www.kdevelop.org/"
pkgdesc="A featureful, plugin-extensible IDE for C/C++ and other programming languages"
license="GPL-2.0-or-later AND LGPL-2.0-or-later AND GFDL-1.2-only"
depends="indent"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtwebengine-dev kconfig-dev
	kdeclarative-dev kdoctools-dev kiconthemes-dev kitemviews-dev kjobwidgets-dev
	kcmutils-dev kio-dev knewstuff-dev knotifyconfig-dev kparts-dev kservice-dev
	ktexteditor-dev threadweaver-dev kxmlgui-dev kwindowsystem-dev kcrash-dev
	kguiaddons-dev karchive-dev knotifications-dev kitemmodels-dev libksysguard-dev
	shared-mime-info grantlee-dev boost-dev libkomparediff2-dev clang-dev clang
	clang-libs"
makedepends="$makedepends llvm-dev" # Should always install the version of llvm that contains /usr/bin/llvm-config
checkdepends="xvfb-run"
source="https://download.kde.org/stable/kdevelop/$pkgver/src/kdevelop-$pkgver.tar.xz
	fix-find-clang-path.patch
	"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
options="!check" # Broken

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make -C build
}

package() {
	DESTDIR="$pkgdir" make -C build install
}

sha512sums="5255365280d0a27b998f5f7b850ee11995b03585409c152c27572a169f5b3d0f60b3d694f6e7009ebd7a2abc17e7f8e3ae1faad9d41f437be574ffa1953d530e  kdevelop-5.5.1.tar.xz
6700fcf1da4243aa9950c8c81e47f916d3d04cd11a73fbf14bbe77209fd19000078f49c266d0b58158d7f85cdd89c0316d86284bf665470a5cfb2c8318bdf56d  fix-find-clang-path.patch"