From: "Nickolas Raymond Kaczynski" <nrk@disroot.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-text/md4c/
Date: Fri, 16 Feb 2024 06:28:42 +0000 (UTC) [thread overview]
Message-ID: <1708064914.b5c47b5d6ca034b75784ef6b7182523087a45779.nrk@gentoo> (raw)
commit: b5c47b5d6ca034b75784ef6b7182523087a45779
Author: NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Fri Feb 16 06:24:34 2024 +0000
Commit: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
CommitDate: Fri Feb 16 06:28:34 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b5c47b5d
app-text/md4c: add v0.5.2
Signed-off-by: NRK <nrk <AT> disroot.org>
app-text/md4c/Manifest | 1 +
app-text/md4c/md4c-0.5.2.ebuild | 46 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 47 insertions(+)
diff --git a/app-text/md4c/Manifest b/app-text/md4c/Manifest
index 0614a29be6..732e0d6ddd 100644
--- a/app-text/md4c/Manifest
+++ b/app-text/md4c/Manifest
@@ -1 +1,2 @@
DIST md4c-0.4.8_p20220115.tar.gz 230786 BLAKE2B a2820563bd2f8094d9b57d1ee4bba629229b789b74b34860b1dfcbd45fffea4a477226ad5e8d9eace52b527c08698223ab9343729e4af605d8f9639166aea106 SHA512 1249e8d9c8aef1d305301c4d71f3d438cb81f0e754d9e3ca15c11bf384be67a112086332f41cfddfa2b89790748da0e7db7e62126dc0d9729846268e0dbee651
+DIST md4c-0.5.2.tar.gz 237973 BLAKE2B 7f3f80c1bcfa3040b4458876abc8eabbad387242fbdcde08b34d9a279da56e4c2264a591deb6ad3061c951b4ca547f896589682aa5c6b50febfc03b89c61be3e SHA512 30607ba39d6c59329f5a56a90cd816ff60b82ea752ac2b9df356d756529cfc49170019fae5df32fa94afc0e2a186c66eaf56fa6373d18436c06ace670675ba85
diff --git a/app-text/md4c/md4c-0.5.2.ebuild b/app-text/md4c/md4c-0.5.2.ebuild
new file mode 100644
index 0000000000..4a8b725b1c
--- /dev/null
+++ b/app-text/md4c/md4c-0.5.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+# TODO(NRK):
+# - enable tests
+# - useflag to not build md2html tool
+# - useflag for static lib (?)
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/mity/md4c.git"
+else
+ MY_VERSION="release-${PV}"
+ SRC_URI="https://github.com/mity/${PN}/archive/refs/tags/${MY_VERSION}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/${PN}-${MY_VERSION}"
+fi
+
+DESCRIPTION="C Markdown parser. Fast, SAX-like interface, CommonMark Compliant."
+HOMEPAGE="https://github.com/mity/md4c"
+
+LICENSE="MIT"
+SLOT="0"
+
+src_prepare() {
+ cmake_src_prepare
+}
+
+src_configure() {
+ mycmakeargs=(
+ -DCMAKE_BUILD_TYPE=Release
+ -DBUILD_SHARED_LIBS=ON
+ )
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ find "${ED}/usr/$(get_libdir)" -name '*.a' -exec rm {} \; || die
+}
next reply other threads:[~2024-02-16 6:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-16 6:28 Nickolas Raymond Kaczynski [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-26 18:38 [gentoo-commits] repo/proj/guru:dev commit in: app-text/md4c/ Nickolas Raymond Kaczynski
2023-01-29 17:29 Nickolas Raymond Kaczynski
2022-07-07 10:33 Nickolas Raymond Kaczynski
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=1708064914.b5c47b5d6ca034b75784ef6b7182523087a45779.nrk@gentoo \
--to=nrk@disroot.org \
--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