aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNickolas Raymond Kaczynski <nrk@disroot.org>2023-01-29 23:23:51 +0600
committerNickolas Raymond Kaczynski <nrk@disroot.org>2023-01-29 23:28:07 +0600
commitb4265a1c06d775fb5329c1c457607890bdbd7297 (patch)
tree9d1d9eacc6ea794300cc88b094f8021b209efc5e
parentapp-misc/ani-cli: add 4.0 & 9999, drop old (diff)
downloadguru-b4265a1c.tar.gz
guru-b4265a1c.tar.bz2
guru-b4265a1c.zip
app-text/md4c: add snapshot, drop 9999, tidy up
upstream seems to be somewhat inactive - so it will take a while before a new version is released i'd assume. i don't remember exactly what it was, but there was some bug in the stable version which is why i added 9999 instead (and why i'm doing a snapshot right now). also fixes the copyright year, i'm quite sure md4c didn't even exist back in 1999 :) Signed-off-by: Nickolas Raymond Kaczynski <nrk@disroot.org>
-rw-r--r--app-text/md4c/Manifest1
-rw-r--r--app-text/md4c/md4c-0.4.8_p20220115.ebuild (renamed from app-text/md4c/md4c-9999.ebuild)10
2 files changed, 8 insertions, 3 deletions
diff --git a/app-text/md4c/Manifest b/app-text/md4c/Manifest
new file mode 100644
index 000000000..0614a29be
--- /dev/null
+++ b/app-text/md4c/Manifest
@@ -0,0 +1 @@
+DIST md4c-0.4.8_p20220115.tar.gz 230786 BLAKE2B a2820563bd2f8094d9b57d1ee4bba629229b789b74b34860b1dfcbd45fffea4a477226ad5e8d9eace52b527c08698223ab9343729e4af605d8f9639166aea106 SHA512 1249e8d9c8aef1d305301c4d71f3d438cb81f0e754d9e3ca15c11bf384be67a112086332f41cfddfa2b89790748da0e7db7e62126dc0d9729846268e0dbee651
diff --git a/app-text/md4c/md4c-9999.ebuild b/app-text/md4c/md4c-0.4.8_p20220115.ebuild
index caf6b2562..d0bcf814d 100644
--- a/app-text/md4c/md4c-9999.ebuild
+++ b/app-text/md4c/md4c-0.4.8_p20220115.ebuild
@@ -1,18 +1,22 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
-# TODO: enable tests, add stable version and useflag for static lib
+# TODO(NRK):
+# - enable tests
+# - useflag for static lib (?)
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/mity/md4c.git"
else
- SRC_URI="https://github.com/mity/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ COMMIT="e9ff661ff818ee94a4a231958d9b6768dc6882c9"
+ SRC_URI="https://github.com/mity/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
+ S="${WORKDIR}/${PN}-${COMMIT}"
fi
DESCRIPTION="C Markdown parser. Fast, SAX-like interface, CommonMark Compliant."