void-packages/srcpkgs/codelite/template
2021-10-12 15:38:40 -03:00

30 lines
1.1 KiB
Bash

# Template file for 'codelite'
pkgname=codelite
version=15.0.6
revision=1
build_style=cmake
build_helper=cmake-wxWidgets-gtk3
configure_args="-DWITH_PCH=0 -DWITH_WX_CONFIG=wx-config-gtk3
$(vopt_if sftp -DENABLE_SFTP=1 -DENABLE_SFTP=0)
$(vopt_if lldb -DENABLE_LLDB=1 -DENABLE_LLDB=0)"
hostmakedepends="pkg-config which"
makedepends="gtk+3-devel wxWidgets-gtk3-devel sqlite-devel
$(vopt_if lldb lldb-devel) $(vopt_if hunspell hunspell-devel)
$(vopt_if sftp libssh-devel)"
short_desc="Open-source, cross platform IDE for the C/C++ programming languages"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.codelite.org"
distfiles="https://github.com/eranif/${pkgname}/archive/${version}.tar.gz"
checksum=28430c37d163219b1001b6e539e520e4f3e750ea5b8ee2457d92d0961fee15bb
python_version=3
build_options="hunspell lldb sftp"
build_options_default="hunspell sftp"
desc_option_hunspell="Enable SpellCheck plugin"
desc_option_lldb="Enable support for LLDB"
desc_option_sftp="Enable Workspace Mirroring plugin"
case "$XBPS_TARGET_MACHINE" in
x86_64*|ppc64le*|aarch64*|arm*) build_options_default+=" lldb";;
esac