From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-text/md4c/
Date: Tue, 27 Feb 2024 06:31:45 +0000 (UTC) [thread overview]
Message-ID: <1708972652.0d7cd393ac22dfaf40fa48bf1a4863af64700ae3.lanodan@gentoo> (raw)
commit: 0d7cd393ac22dfaf40fa48bf1a4863af64700ae3
Author: NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Mon Feb 26 18:37:11 2024 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Mon Feb 26 18:37:32 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0d7cd393
app-text/md4c: add md2html useflag
Signed-off-by: NRK <nrk <AT> disroot.org>
app-text/md4c/md4c-0.5.2.ebuild | 4 +++-
app-text/md4c/metadata.xml | 3 +++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/app-text/md4c/md4c-0.5.2.ebuild b/app-text/md4c/md4c-0.5.2.ebuild
index 4a8b725b1c..524311cd3f 100644
--- a/app-text/md4c/md4c-0.5.2.ebuild
+++ b/app-text/md4c/md4c-0.5.2.ebuild
@@ -7,8 +7,8 @@ inherit cmake
# TODO(NRK):
# - enable tests
-# - useflag to not build md2html tool
# - useflag for static lib (?)
+# - move this under dev-libs or maybe split the md2html tool into it's own package (??)
if [[ ${PV} == 9999 ]]; then
inherit git-r3
@@ -25,6 +25,7 @@ HOMEPAGE="https://github.com/mity/md4c"
LICENSE="MIT"
SLOT="0"
+IUSE="+md2html"
src_prepare() {
cmake_src_prepare
@@ -34,6 +35,7 @@ src_configure() {
mycmakeargs=(
-DCMAKE_BUILD_TYPE=Release
-DBUILD_SHARED_LIBS=ON
+ -DBUILD_MD2HTML_EXECUTABLE=$(usex md2html ON OFF)
)
cmake_src_configure
diff --git a/app-text/md4c/metadata.xml b/app-text/md4c/metadata.xml
index 0b2c5c0d69..102047fdc7 100644
--- a/app-text/md4c/metadata.xml
+++ b/app-text/md4c/metadata.xml
@@ -4,6 +4,9 @@
<maintainer type="person">
<email>nrk@disroot.org</email>
</maintainer>
+ <use>
+ <flag name="md2html">Build the md2html cli tool</flag>
+ </use>
<upstream>
<remote-id type="github">mity/md4c</remote-id>
</upstream>
next reply other threads:[~2024-02-27 6:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-27 6:31 Haelwenn Monnier [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-16 6:38 [gentoo-commits] repo/proj/guru:master commit in: app-text/md4c/ Viorel Munteanu
2023-01-30 10:29 Viorel Munteanu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1708972652.0d7cd393ac22dfaf40fa48bf1a4863af64700ae3.lanodan@gentoo \
--to=contact@hacktivis.me \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox