summaryrefslogtreecommitdiff
path: root/app-text
diff options
context:
space:
mode:
Diffstat (limited to 'app-text')
-rw-r--r--app-text/Manifest.gzbin50091 -> 50087 bytes
-rw-r--r--app-text/lowdown/Manifest2
-rw-r--r--app-text/lowdown/lowdown-2.0.2.ebuild69
3 files changed, 71 insertions, 0 deletions
diff --git a/app-text/Manifest.gz b/app-text/Manifest.gz
index a85503d9d35d..04eef35db8f4 100644
--- a/app-text/Manifest.gz
+++ b/app-text/Manifest.gz
Binary files differ
diff --git a/app-text/lowdown/Manifest b/app-text/lowdown/Manifest
index 83e7098c734f..58d3f2337202 100644
--- a/app-text/lowdown/Manifest
+++ b/app-text/lowdown/Manifest
@@ -6,8 +6,10 @@ DIST lowdown-1.1.1.tar.gz 600635 BLAKE2B 39c0a2472ff6b9b3fa2b6d72c1f2d482592976f
DIST lowdown-1.3.2.tar.gz 670610 BLAKE2B 80238e7c6a27c45d6b3f65fbb9435639db5f424aad28c05a94093c5fab3982b1b05b5c3d779e5f74d8b2e71046301c2e3c0ee83496f44f6b8597cd0b3797eb14 SHA512 9592fd270c61d7e827a0e7885ce5faef545a33e61afa0d4cf4549cf5866d82873b042a9cb4465d7b504c686a7b89c748257c470c3b3ccb1ec6f1203a7e6bf392
DIST lowdown-1.4.0.tar.gz 675327 BLAKE2B 1e734acefe3d293dd6e60f27ff943b484ac99a9e393fd118df09be6dd9671294a91de306393817af9422fec67ed9eda22e2515538b490ac07bdd93ac2e5617e4 SHA512 61b88fc24c9c69a324536bc5cc3edbd453f59945cda264df8751cf361992487081911d3ba6cb04346d5ef451d96a4b56e69a76985849349ef049eca0a098b7ee
DIST lowdown-2.0.0.tar.gz 675824 BLAKE2B 01df89f7703f3c313b373b0eee2eee86d409a06fe298be6f90cd0198fb84a3eedf8e5ea9c03082797bfa0ff76b28f6c4d032e28f6b1d233af2a988bef46cf689 SHA512 520741453556710ebdd379de2f1b6444c0019ed556e5c9852b1bb8b2cbd5853cf5edb80e65dc9e1d4fabfb028b96af0adf776642ba07aa3af436d4c57e7d7811
+DIST lowdown-2.0.2.tar.gz 676246 BLAKE2B 35ca947673d7582b64687200429f8e806703cc0ad43b019a0302f35da4e1d579253ec199f2abd4eadcb30b81d2feb34c0baad41dbcc601533729049c7d7cc74d SHA512 ebd927776f13e78c26e1c001e8586dc43fe1e64d1c537a18cd71bd6a8936c93a9fefcb58c53e94a7c0727b525f6c6a21ab70b924db8c7c105161a6a92d9c96fa
EBUILD lowdown-1.1.1.ebuild 1266 BLAKE2B 23880fdc922652be5d7b0c8e328ab10c7060c16e4bb92bee272922b355e61a5f463971146a8ce0ec022a7bf5801f4544424c7a6ad7c405df2f9cc1b6b5fca436 SHA512 e42892e8c56d18141c3037727e126b55f6381170f4ca11d52678d6b4a46c8f20f73d328e54062e235514659f024784e52f0d84dd3fb4db5199626d057656bb62
EBUILD lowdown-1.3.2.ebuild 1364 BLAKE2B 7ae2d251f10a2a61da190343a3617070dfc1fe08930d0b98a06631e0ce36bbc68bc1e2264941a4a886513428ac69cd5d38bf2eec31f8a8799e6b12a0a2fbb42c SHA512 88f42e33fd7bbc349e1077f29c15ec9b3830d51969fffc5e6e4e2c289a2a88421eebb3016045e3b2f8e8b5639effe215c3caa00b0739a01d799fd34c7298ad31
EBUILD lowdown-1.4.0.ebuild 1364 BLAKE2B 7ae2d251f10a2a61da190343a3617070dfc1fe08930d0b98a06631e0ce36bbc68bc1e2264941a4a886513428ac69cd5d38bf2eec31f8a8799e6b12a0a2fbb42c SHA512 88f42e33fd7bbc349e1077f29c15ec9b3830d51969fffc5e6e4e2c289a2a88421eebb3016045e3b2f8e8b5639effe215c3caa00b0739a01d799fd34c7298ad31
EBUILD lowdown-2.0.0.ebuild 1364 BLAKE2B a43607fbc7fe5295dc274b2773fff6eb862c2fc2b4bd61908a6533b230c9738c73e988e34592a3eb84663544bb605db130b970a5fcbb3cd775c507439d24fcc1 SHA512 f5a78e2d472f9a935041bc4bc2355f63019b907f76dc31338e69c3633829941dbe8f36bfe700ba5fb457927010370c8c0ab860e3fa4061735bb83c5805c6f7a9
+EBUILD lowdown-2.0.2.ebuild 1364 BLAKE2B a43607fbc7fe5295dc274b2773fff6eb862c2fc2b4bd61908a6533b230c9738c73e988e34592a3eb84663544bb605db130b970a5fcbb3cd775c507439d24fcc1 SHA512 f5a78e2d472f9a935041bc4bc2355f63019b907f76dc31338e69c3633829941dbe8f36bfe700ba5fb457927010370c8c0ab860e3fa4061735bb83c5805c6f7a9
MISC metadata.xml 333 BLAKE2B cfa2021e507b7538cf73840fb9eb8e1f6c157f7090b1156e4bd1cd917547adeea76cc31d619d60b0d189c915ae4748437b8d9a9a96a532276d6deb1d0f2258d9 SHA512 fa991b0162a4eab9c81815b4a523d33a08e7a7716b5a443165f0cc05d906b7dc3d7da388d0e3d3202a7262a7971d771ffb29debf42659c8ed3c3de6ed184d73e
diff --git a/app-text/lowdown/lowdown-2.0.2.ebuild b/app-text/lowdown/lowdown-2.0.2.ebuild
new file mode 100644
index 000000000000..b7265610ed8c
--- /dev/null
+++ b/app-text/lowdown/lowdown-2.0.2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs flag-o-matic
+
+MY_PV="VERSION_${PV//./_}"
+DESCRIPTION="Markdown translator producing HTML5, roff documents in the ms and man formats"
+HOMEPAGE="https://kristaps.bsd.lv/lowdown/"
+SRC_URI="https://github.com/kristapsdz/lowdown/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="ISC"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~x86"
+
+DEPEND="
+ virtual/libcrypt:=
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+# configure tests for a bunch of BSD functions on Linux
+QA_CONFIG_IMPL_DECL_SKIP=(
+ crypt_newhash
+ crypt_checkpass
+ warnc
+ errc
+ getexecname
+ getprogname
+ memset_s
+ pledge
+ recallocarray
+ strlcat
+ strlcpy
+ strtonum
+ TAILQ_FOREACH_SAFE
+ unveil
+ arc4random
+ b64_ntop
+)
+
+PATCHES=(
+ "${FILESDIR}/lowdown-0.10.0-pkgconfig-libmd.patch"
+ "${FILESDIR}/lowdown-2.0.0-shared-linking.patch"
+)
+
+src_configure() {
+ append-flags -fPIC
+ tc-export CC AR
+
+ ./configure \
+ PREFIX="${EPREFIX}/usr" \
+ MANDIR="${EPREFIX}/usr/share/man" \
+ LDFLAGS="${LDFLAGS}" \
+ CPPFLAGS="${CPPFLAGS}" \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+ || die "./configure failed"
+}
+
+src_compile() {
+ emake $(usex elibc_musl UTF8_LOCALE=C.UTF-8 '')
+}
+
+src_test() {
+ LD_LIBRARY_PATH="${S}" emake regress
+}