mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
codelite: fix building codelite-ctags from source
This commit is contained in:
parent
c2da46c5a7
commit
57c8d141f8
2 changed files with 24 additions and 3 deletions
11
srcpkgs/codelite/patches/install-ctags.patch
Normal file
11
srcpkgs/codelite/patches/install-ctags.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -744,3 +744,8 @@
|
||||||
|
## Scan for user plugins
|
||||||
|
CL_SCAN_FOR_PLUGINS()
|
||||||
|
endif() # NOT WXC_APP
|
||||||
|
+
|
||||||
|
+if (UNIX)
|
||||||
|
+ set_target_properties(ctags PROPERTIES OUTPUT_NAME "codelite-ctags")
|
||||||
|
+ install(TARGETS ctags DESTINATION ${CL_PREFIX}/bin PERMISSIONS ${EXE_PERM})
|
||||||
|
+endif()
|
|
@ -1,7 +1,9 @@
|
||||||
# Template file for 'codelite'
|
# Template file for 'codelite'
|
||||||
pkgname=codelite
|
pkgname=codelite
|
||||||
version=16.0.0
|
version=16.0.0
|
||||||
revision=1
|
revision=2
|
||||||
|
create_wrksrc=yes
|
||||||
|
build_wrksrc="codelite-${version}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
build_helper=cmake-wxWidgets-gtk3
|
build_helper=cmake-wxWidgets-gtk3
|
||||||
configure_args="-DWITH_PCH=0 -DWITH_WX_CONFIG=wx-config-gtk3
|
configure_args="-DWITH_PCH=0 -DWITH_WX_CONFIG=wx-config-gtk3
|
||||||
|
@ -15,9 +17,12 @@ short_desc="Open-source, cross platform IDE for the C/C++ programming languages"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="http://www.codelite.org"
|
homepage="http://www.codelite.org"
|
||||||
distfiles="https://github.com/eranif/${pkgname}/archive/${version}.tar.gz"
|
distfiles="https://github.com/eranif/${pkgname}/archive/${version}.tar.gz
|
||||||
checksum=fb707b98b2f56ae0791c7cb341c6a0240ff26a785dae31f7dcd1038956737957
|
https://github.com/eranif/ctags/archive/52c724d1132d78ea44894bfe2eaca44f38a9bd85.tar.gz"
|
||||||
|
checksum="fb707b98b2f56ae0791c7cb341c6a0240ff26a785dae31f7dcd1038956737957
|
||||||
|
7925adbe15cd240c7e65cf54e8752e7f5dbb24622342b84d151de97d2d75acea"
|
||||||
python_version=3
|
python_version=3
|
||||||
|
patch_args="-Np1 -d ${build_wrksrc}"
|
||||||
|
|
||||||
build_options="hunspell lldb sftp"
|
build_options="hunspell lldb sftp"
|
||||||
build_options_default="hunspell sftp"
|
build_options_default="hunspell sftp"
|
||||||
|
@ -28,3 +33,8 @@ desc_option_sftp="Enable Workspace Mirroring plugin"
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
x86_64*|ppc64le*|aarch64*|arm*) build_options_default+=" lldb";;
|
x86_64*|ppc64le*|aarch64*|arm*) build_options_default+=" lldb";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
rm -rf ${build_wrksrc}/universal-ctags
|
||||||
|
ln -rsf ctags-52c724d1132d78ea44894bfe2eaca44f38a9bd85 ${build_wrksrc}/universal-ctags
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue