aboutsummaryrefslogtreecommitdiffstats
path: root/community/kdevelop/APKBUILD
blob: cf0ff98e4f4c32e91586c4f6fac108645160562b (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdevelop
pkgver=5.6.2
pkgrel=0
# armhf blocked by extra-cmake-modules
# ppc64le, s390x, mips64 blocked by qt5-qtwebengine
arch="all !armhf !ppc64le !s390x !mips64"
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="
	boost-dev
	clang
	clang-dev
	clang-libs
	extra-cmake-modules
	grantlee-dev
	karchive-dev
	kcmutils-dev
	kconfig-dev
	kcrash-dev
	kdeclarative-dev
	kdoctools-dev
	kguiaddons-dev
	kiconthemes-dev
	kio-dev
	kitemmodels-dev
	kitemviews-dev
	kjobwidgets-dev
	knewstuff-dev
	knotifications-dev
	knotifyconfig-dev
	kparts-dev
	kservice-dev
	ktexteditor-dev
	kwindowsystem-dev
	kxmlgui-dev
	libkomparediff2-dev
	libksysguard-dev
	qt5-qtbase-dev
	qt5-qtwebengine-dev
	shared-mime-info
	threadweaver-dev
	"
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
	cmake --build build
}

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

sha512sums="d5ec09b3eda439436bee4dee88612deedf02caf949e74cb7d8405fbb40ae6f16ae1b5278da0574f41c43d186edbeec6b8c40918ef7f5fafa437e07a8c4ae92ce  kdevelop-5.6.2.tar.xz
6700fcf1da4243aa9950c8c81e47f916d3d04cd11a73fbf14bbe77209fd19000078f49c266d0b58158d7f85cdd89c0316d86284bf665470a5cfb2c8318bdf56d  fix-find-clang-path.patch"