1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/community/kdevelop/APKBUILD
2023-03-02 18:06:28 +00:00

73 lines
1.9 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdevelop
pkgver=22.12.3
pkgrel=0
# armhf blocked by extra-cmake-modules
# ppc64le, s390x and riscv64 blocked by qt5-qtwebengine
arch="all !armhf !ppc64le !s390x !riscv64"
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>=12
clang-dev>=12
clang-libs>=12
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>=12
samurai
" # Should always install the version of llvm that contains /usr/bin/llvm-config
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$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 -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
465bf3639e3fd61058af1217904fe0904d7c380e1f073dcb3af28d5758bba1d477e2f1313c61c233cf2acef4362c5380b30bcae6a02eb704a8a3fdf80ddfd75a kdevelop-22.12.3.tar.xz
6700fcf1da4243aa9950c8c81e47f916d3d04cd11a73fbf14bbe77209fd19000078f49c266d0b58158d7f85cdd89c0316d86284bf665470a5cfb2c8318bdf56d fix-find-clang-path.patch
"