void-packages/srcpkgs/juCi++/template
Đoàn Trần Công Danh 5f3d505668 juCi++: for boost-1.89
2025-08-31 08:27:06 +07:00

38 lines
1.6 KiB
Bash

# Template file for 'juCi++'
pkgname=juCi++
version=1.7.2
revision=11
_llvmver=19
_libclangmm_commit="9704b9b6de0982a588fa41741157d5640afedf30"
_tiny_commit="839ff806dc447ff49af80f9a9eaa7949f770f8e5"
build_style=cmake
configure_args="-DCMAKE_PREFIX_PATH=${XBPS_CROSS_BASE}/usr/lib/llvm/${_llvmver}"
hostmakedepends="pkg-config"
makedepends="aspell-devel clang${_llvmver}-devel boost-devel-minimal
libboost_filesystem libboost_serialization gtksourceviewmm-devel libgit2-devel"
depends="ctags"
short_desc="Lightweight IDE supporting the most recent C++ standards"
maintainer="rc-05 <rc23@email.it>"
license="MIT"
homepage="https://gitlab.com/cppit/jucipp"
distfiles="https://gitlab.com/cppit/jucipp/-/archive/v${version}/jucipp-v${version}.tar.gz
https://gitlab.com/cppit/libclangmm/-/archive/${_libclangmm_commit}/libclangmm-${_libclangmm_commit}.tar.gz
https://gitlab.com/eidheim/tiny-process-library/-/archive/${_tiny_commit}/tiny-process-library-${_tiny_commit}.tar.gz"
checksum="e792ddb95328ab055b0a4b7eb18669b3337648a4a931ee6ede541c2e95a686e9
4ed79294cb67ae56a4d72e50c4188c49215df51c8b9a466fc0aeeaab2dbc7a3f
a808e5e3bdb43a04c862da968588ceffb1e46b85a32b430d5e27f243b37f5098"
nocross=yes #clang cannot be installed as makedepends when cross compiling
skip_extraction="libclangmm-${_libclangmm_commit}.tar.gz tiny-process-library-${_tiny_commit}.tar.gz"
case "$XBPS_TARGET_MACHINE" in
x86_64*|ppc64le*|aarch64*|arm*) makedepends+=" lldb17-devel";;
esac
post_extract() {
vsrcextract -C lib/libclangmm libclangmm-${_libclangmm_commit}.tar.gz
vsrcextract -C lib/tiny-process-library tiny-process-library-${_tiny_commit}.tar.gz
}
post_install() {
vlicense LICENSE
}