# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-applications pkgname=kdevelop pkgver=23.04.3 pkgrel=1 # 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" _llvmver=16 depends="indent" makedepends=" boost-dev clang clang$_llvmver-dev clang$_llvmver-static 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 llvm$_llvmver-dev llvm$_llvmver-static qt5-qtbase-dev qt5-qtwebengine-dev samurai shared-mime-info threadweaver-dev " checkdepends="xvfb-run" _repo_url="https://invent.kde.org/kdevelop/kdevelop.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kdevelop-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" options="!check" # Broken build() { CFLAGS="$CFLAGS -D_GNU_SOURCE" \ CXXFLAGS="$CXXFLAGS -I/usr/lib/llvm$_llvmver/include" \ 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=" f6734aada66757f03cf50793b3ba601748e5494c6cc4dbfba928927d7cf5c07a9522c4f506ef908ebe9b2a6f212e2f360b313c32398c1284adb43c43609f581c kdevelop-23.04.3.tar.xz "