add support for rendering graphs with graphviz

also enable python support (but no python plugins yet), syntax highlighting
through kf5-syntax-highlighting.
This commit is contained in:
jasper 2020-04-11 19:35:14 +00:00
parent 71b5dfb370
commit 461d629bca

View File

@ -1,10 +1,12 @@
# $OpenBSD: Makefile,v 1.1.1.1 2020/04/11 18:58:04 jasper Exp $
# $OpenBSD: Makefile,v 1.2 2020/04/11 19:35:14 jasper Exp $
COMMENT = RE platform powered by radare2
GH_ACCOUNT = radareorg
GH_PROJECT = cutter
GH_TAGNAME = v1.10.2
REVISION = 0
CATEGORIES = devel
HOMEPAGE = https://cutter.re/
@ -14,25 +16,34 @@ MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
# GPLv3
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Gui Qt5Network Qt5Svg
WANTLIB += Qt5Widgets c capstone crypto m ssl z zip
WANTLIB += ${COMPILER_LIBCXX} ${MODPY_WANTLIB}
WANTLIB += KF5SyntaxHighlighting Qt5Core Qt5Gui Qt5Network Qt5Svg
WANTLIB += Qt5Widgets c capstone cdt cgraph crypto gvc m ssl z
WANTLIB += zip
MODULES = devel/cmake \
lang/python \
x11/qt5
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = devel/radare2/main
LIB_DEPENDS = archivers/libzip \
devel/capstone/main \
devel/kf5/syntax-highlighting \
math/graphviz \
x11/qt5/qtsvg
WRKSRC = ${WRKDIST}/src
CONFIGURE_ARGS =-DCUTTER_USE_BUNDLED_RADARE2=OFF \
# XXX: Python-based plugins don't work yet, this needs
# CUTTER_ENABLE_PYTHON_BINDINGS which requires (unported) Shiboken2.
CONFIGURE_ARGS =-DCUTTER_ENABLE_GRAPHVIZ=ON \
-DCUTTER_ENABLE_KSYNTAXHIGHLIGHTING=ON \
-DCUTTER_ENABLE_PYTHON=ON \
-DCUTTER_ENABLE_CRASH_REPORTS=OFF \
-DCUTTER_ENABLE_KSYNTAXHIGHLIGHTING=OFF \
-DCUTTER_ENABLE_PYTHON=OFF \
-DCUTTER_ENABLE_GRAPHVIZ=OFF
-DCUTTER_USE_BUNDLED_RADARE2=OFF
NO_TEST = Yes