# 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=24.08.0 pkgrel=0 # armhf blocked by extra-cmake-modules # ppc64le, s390x, riscv64 and loongarch64 blocked by qt5-qtwebengine # Currently all arches are blocked till KDE 6 is done building arch="" 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=17 depends="indent" makedepends=" boost-dev clang clang$_llvmver-dev clang$_llvmver-static extra-cmake-modules grantlee-dev karchive5-dev kcmutils5-dev kconfig5-dev kcrash5-dev kdeclarative5-dev kdoctools5-dev kguiaddons5-dev kiconthemes5-dev kio5-dev kitemmodels5-dev kitemviews5-dev kjobwidgets5-dev knewstuff5-dev knotifications5-dev knotifyconfig5-dev kparts5-dev kservice5-dev ktexteditor5-dev kwindowsystem5-dev kxmlgui5-dev libkomparediff2-dev llvm$_llvmver-dev llvm$_llvmver-gtest llvm$_llvmver-static qt5-qtbase-dev qt5-qtwebengine-dev samurai shared-mime-info threadweaver5-dev " checkdepends="xvfb-run" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" _repo_url="https://invent.kde.org/kdevelop/kdevelop.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kdevelop-$pkgver.tar.xz" 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=" b5c116cf8dde83e51bcd5c3445129f91233bc0314c18b85d3f5e48f2ac8433930594ef3f9d4d1330fd761beb93d2b91999c2344c3f41241214828a1f20226e6c kdevelop-24.08.0.tar.xz "