void-packages/srcpkgs/cutter/template

30 lines
1.2 KiB
Bash

# Template file for 'cutter'
pkgname=cutter
version=2.3.2
revision=2
build_style=cmake
configure_args="-DCUTTER_EXTRA_PLUGIN_DIRS=/usr/lib/rizin/cutter/plugins
-DCUTTER_ENABLE_PYTHON=ON -DCUTTER_ENABLE_PYTHON_BINDINGS=OFF
-DCUTTER_ENABLE_GRAPHVIZ=ON -DCUTTER_ENABLE_KSYNTAXHIGHLIGHTING=ON
-DCUTTER_USE_BUNDLED_RIZIN=OFF -DCUTTER_USE_ADDITIONAL_RIZIN_PATHS=OFF
-DCUTTER_ENABLE_CRASH_REPORTS=OFF -DCUTTER_QT6=ON"
hostmakedepends="pkg-config meson qt6-base qt6-tools"
makedepends="capstone-devel python3-devel rizin-devel graphviz-devel
qt6-declarative-devel qt6-location-devel qt6-svg-devel qt6-qt5compat-devel
syntax-highlighting-devel"
short_desc="Free and open source reverse engineering platform powered by rizin"
maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
license="GPL-3.0-only"
homepage="https://cutter.re"
distfiles="https://github.com/rizinorg/cutter/releases/download/v${version}/Cutter-v${version}-src.tar.gz"
checksum=6c63652f6d959a44ce282f4abf7b86dfb86e60c9b0cf00dbd75278ab8cc64d5d
cutter-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
}
}