43 lines
1.4 KiB
Bash
43 lines
1.4 KiB
Bash
# Template file for 'kdevelop'
|
|
pkgname=kdevelop
|
|
version=5.4.6
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools qt5-tools
|
|
kcmutils kcoreaddons kdevelop-pg-qt plasma-framework gettext llvm tar which"
|
|
makedepends="apr-util-devel clang grantlee5-devel kcmutils-devel kdevelop-pg-qt
|
|
kitemmodels-devel knewstuff-devel knotifyconfig-devel krunner-devel
|
|
ktexteditor-devel libkomparediff2-devel libksysguard-devel okteta-devel
|
|
purpose-devel qt5-location-devel qt5-webchannel-devel subversion-devel"
|
|
depends="cmake cppcheck git indent kde5-baseapps"
|
|
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/"
|
|
distfiles="${KDE_SITE}/${pkgname}/${version}/src/${pkgname}-${version}.tar.xz"
|
|
checksum=5f97ed98db9e7723a450cc9ff2a7a1020f407b3d8cb9260fde1906b678cd5506
|
|
|
|
build_options="webengine"
|
|
desc_option_webengine="Use Qt5 WebEngine for documentation"
|
|
|
|
if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then
|
|
build_options_default="webengine"
|
|
fi
|
|
|
|
if [ "$build_option_webengine" ]; then
|
|
makedepends+=" qt5-webengine-devel"
|
|
else
|
|
makedepends+=" qt5-webkit-devel"
|
|
fi
|
|
|
|
kdevelop-devel_package() {
|
|
depends="kdevelop>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
# avoid libkdevcmakecommon.so
|
|
vmove "usr/lib/libKDevPlatform*.so"
|
|
}
|
|
}
|