summaryrefslogtreecommitdiff
path: root/app-text/lowdown
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-11 02:01:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-11 02:01:11 +0000
commit494ca58c9f5243dd4b56557aa8c41bce76e95ec3 (patch)
treeb699beb74ae3071c865d4f2e95ed7f376f99214a /app-text/lowdown
parent59437d191de3ff33f9bfa37f8656d849184fcaf0 (diff)
gentoo auto-resync : 11:12:2024 - 02:01:11
Diffstat (limited to 'app-text/lowdown')
-rw-r--r--app-text/lowdown/Manifest2
-rw-r--r--app-text/lowdown/lowdown-1.3.2.ebuild67
2 files changed, 69 insertions, 0 deletions
diff --git a/app-text/lowdown/Manifest b/app-text/lowdown/Manifest
index b3747d5d88f0..4f54743b5d73 100644
--- a/app-text/lowdown/Manifest
+++ b/app-text/lowdown/Manifest
@@ -4,7 +4,9 @@ AUX lowdown-1.3.0-shared-linking.patch 1548 BLAKE2B 9a2e7d03c17f34ca3a9b04ab144a
DIST lowdown-1.1.1.tar.gz 600635 BLAKE2B 39c0a2472ff6b9b3fa2b6d72c1f2d482592976f7b50c1bbaf1965bfbb6d28f22e0a7498bb54087bb83070bd74ea673409be97815f51a0a5a67e980bbfc4e01b2 SHA512 2a69da945a83696480651e8221d73bcb18bac9bc38bb88126ddf73520d2a4ff396dde08a7abf6f550669ec9ba34abdaa186b0980f312fa157371ee754576bb6a
DIST lowdown-1.3.0.tar.gz 666560 BLAKE2B 8bf9da6163a65bff7ac5774d0d31a0dc1438832944b2560a9f725bf9c83c359575fdb828d5065a0138e84466c9a95ca514c72cba6c457a0bb02f9e4558cce017 SHA512 ac51e8ff74450bf02d3c8e41f129f15f2ac92d47a07c020f10eea143b506fd113afac0e9bec447c336cf70176ebc886a8933fa38f5779931c9dfd9c06421fcda
DIST lowdown-1.3.1.tar.gz 668638 BLAKE2B 5d3541e104a25519a580d6b0e8fdfdb03642dcefcdab016f8d1744f5dcd704611d792ca79b988962a014cbcfb20d05e8a8be62eb50708e4c85c5a3d1fe512df1 SHA512 b530bd0ad050a1197e04de971bb10e63c185736f487bcf91467f53d9c63b698aa40d364f8a0d340e3bbf929a9318050c68fdc8127c5ddf526bded327f57419df
+DIST lowdown-1.3.2.tar.gz 670610 BLAKE2B 80238e7c6a27c45d6b3f65fbb9435639db5f424aad28c05a94093c5fab3982b1b05b5c3d779e5f74d8b2e71046301c2e3c0ee83496f44f6b8597cd0b3797eb14 SHA512 9592fd270c61d7e827a0e7885ce5faef545a33e61afa0d4cf4549cf5866d82873b042a9cb4465d7b504c686a7b89c748257c470c3b3ccb1ec6f1203a7e6bf392
EBUILD lowdown-1.1.1.ebuild 1268 BLAKE2B 5255cfe4e112542e70a082e060c0cea16b6e1fd1816abb7b7e767b4e45f6357ffc689727b55a92dd72f8fde86feaa3f7254f2a0c654f3c3ed5199e20e21a23f1 SHA512 c8d00b1d2a3f5bb5e868d753ea589b489f214ed64e9a7cd74f2e7416f9016222c7a315a09b70d3d7b747d9bc02d029fe094651df960e57e694855dc00af76517
EBUILD lowdown-1.3.0.ebuild 1305 BLAKE2B 366bb95f82c794f0ceb696f4d727d72b36d7346975228f48fb367574f56c3316a2d35b0958c815295a6e94d6eb5063ef48ec1c7a84b1a7ec613338244f96be7a SHA512 9c110a201bcb2bbd923b6160ee095b1fe1102d419643c2ed688bf65c7d14ec8ef49029ecd0bd030a1c1286beaa52818e377218d762121f0e0d4a003bdd3eeb49
EBUILD lowdown-1.3.1.ebuild 1305 BLAKE2B 366bb95f82c794f0ceb696f4d727d72b36d7346975228f48fb367574f56c3316a2d35b0958c815295a6e94d6eb5063ef48ec1c7a84b1a7ec613338244f96be7a SHA512 9c110a201bcb2bbd923b6160ee095b1fe1102d419643c2ed688bf65c7d14ec8ef49029ecd0bd030a1c1286beaa52818e377218d762121f0e0d4a003bdd3eeb49
+EBUILD lowdown-1.3.2.ebuild 1305 BLAKE2B 366bb95f82c794f0ceb696f4d727d72b36d7346975228f48fb367574f56c3316a2d35b0958c815295a6e94d6eb5063ef48ec1c7a84b1a7ec613338244f96be7a SHA512 9c110a201bcb2bbd923b6160ee095b1fe1102d419643c2ed688bf65c7d14ec8ef49029ecd0bd030a1c1286beaa52818e377218d762121f0e0d4a003bdd3eeb49
MISC metadata.xml 333 BLAKE2B cfa2021e507b7538cf73840fb9eb8e1f6c157f7090b1156e4bd1cd917547adeea76cc31d619d60b0d189c915ae4748437b8d9a9a96a532276d6deb1d0f2258d9 SHA512 fa991b0162a4eab9c81815b4a523d33a08e7a7716b5a443165f0cc05d906b7dc3d7da388d0e3d3202a7262a7971d771ffb29debf42659c8ed3c3de6ed184d73e
diff --git a/app-text/lowdown/lowdown-1.3.2.ebuild b/app-text/lowdown/lowdown-1.3.2.ebuild
new file mode 100644
index 000000000000..3857bd5c0a85
--- /dev/null
+++ b/app-text/lowdown/lowdown-1.3.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2021-2024 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/2"
+KEYWORDS="~amd64 ~arm ~arm64 ~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
+)
+
+PATCHES=(
+ "${FILESDIR}/lowdown-0.10.0-pkgconfig-libmd.patch"
+ "${FILESDIR}/lowdown-1.3.0-shared-linking.patch"
+)
+
+src_configure() {
+ append-flags -fPIC
+ tc-export CC AR
+
+ ./configure \
+ PREFIX="/usr" \
+ MANDIR="/usr/share/man" \
+ LDFLAGS="${LDFLAGS}" \
+ CPPFLAGS="${CPPFLAGS}" \
+ LIBDIR="/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
+}