deskutils/mindforger: allow to build with and enable CommonMark support.

This commit is contained in:
Alexey Dokuchaev 2021-12-23 17:16:32 +00:00
parent 1c736683a1
commit 3525c4891e
2 changed files with 20 additions and 3 deletions

View file

@ -10,12 +10,27 @@ COMMENT= Thinking notebook and markdown editor
LICENSE= GPLv2+
USES= qmake qt:5
USE_GITHUB= yes
GH_ACCOUNT= dvorka
USE_QT= buildtools_build core declarative gui location network \
printsupport webchannel webengine widgets
USE_GITHUB= yes
GH_ACCOUNT= dvorka
GH_PROJECT= cmark:cm
GH_TAGNAME= f06d944:cm
GH_SUBDIR= deps/cmark-gfm:cm
QMAKE_ARGS= CONFIG+="mfwebengine mfnocxx mfnomd2html"
QMAKE_ARGS= CONFIG+="mfnocxx mfwebengine"
OPTIONS_DEFINE= CMARK
OPTIONS_DEFAULT= CMARK
CMARK_DESC= CommonMark support (Markdown -> HTML rendering)
CMARK_BUILD_DEPENDS= cmake:devel/cmake
CMARK_QMAKE_OFF= CONFIG+="mfnomd2html"
pre-build-CMARK-on:
@cd ${WRKSRC_cm} && cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DCMARK_TESTS:BOOL=OFF -DCMARK_SHARED:BOOL=OFF \
-B build && cmake --build build
post-patch:
@${REINPLACE_CMD} -e '/_WIN32/s,_APPLE,_${OPSYS},' \

View file

@ -1,3 +1,5 @@
TIMESTAMP = 1583687032
SHA256 (dvorka-mindforger-1.52.0_GH0.tar.gz) = d0fc9469e932a27f93b13acb6b708e2cfac37858083e0572a4c39b01b8202773
SIZE (dvorka-mindforger-1.52.0_GH0.tar.gz) = 1775600
SHA256 (dvorka-cmark-f06d944_GH0.tar.gz) = 7793cd6f1904a7674f9830985ded7c096e8edfdfd2f21c7127213ffffa56fe6d
SIZE (dvorka-cmark-f06d944_GH0.tar.gz) = 279633