49 lines
1.7 KiB
Bash
49 lines
1.7 KiB
Bash
# Template file for 'kdevelop'
|
|
pkgname=kdevelop
|
|
version=24.08.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
|
|
-DCMAKE_C_STANDARD=11" # Required for static_assert
|
|
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
|
|
kdevelop-pg-qt gettext tar which kf6-kdoctools kf6-kconfig kf6-kcmutils"
|
|
makedepends="apr-util-devel llvm17-devel kf6-kcmutils-devel
|
|
kdevelop-pg-qt clang-tools-extra kf6-threadweaver-devel kf6-ktexttemplate-devel
|
|
kf6-kitemmodels-devel kf6-knewstuff-devel kf6-knotifyconfig-devel
|
|
kf6-krunner-devel kf6-ktexteditor-devel libkomparediff2-devel
|
|
kf6-purpose-devel qt6-location-devel qt6-webchannel-devel subversion-devel
|
|
qt6-webengine-devel boost-devel libksysguard-devel"
|
|
# khelpcenter is required to display documentation
|
|
depends="khelpcenter"
|
|
short_desc="Integrated Development Environment for C/C++"
|
|
maintainer="yopito <pierre.bourgin@free.fr>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://www.kdevelop.org/"
|
|
changelog="https://kde.org/announcements/changelogs/gear/${version}/#kdevelop"
|
|
distfiles="${KDE_SITE}/release-service/${version}/src/kdevelop-${version}.tar.xz"
|
|
checksum=c5201d814b8245ca6aac9175f2cf504d7bef7f85f18679e6fca76dfd0ff8591a
|
|
|
|
if [ "$XBPS_WORDSIZE$XBPS_WORDSIZE" != "64$XBPS_TARGET_WORDSIZE" ]; then
|
|
broken="no qt6-webengine"
|
|
fi
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
x86_64*|aarch64*)
|
|
makedepends+=" libomp-devel" ;;
|
|
esac
|
|
|
|
post_install() {
|
|
vdoc "${FILESDIR}/README.voidlinux"
|
|
}
|
|
|
|
kdevelop-devel_package() {
|
|
depends="kdevelop>=${version}_${revision} qt6-webengine-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
# avoid libkdevcmakecommon.so
|
|
vmove "usr/lib/libKDevPlatform*.so"
|
|
}
|
|
}
|