diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-25 01:25:44 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-25 01:25:44 +0100 |
commit | c25088d4fc442a7d6dc3a8d0498b43024888318d (patch) | |
tree | fdb19b6a9b3a20669ecb49f0ba8d9f435fbb4b1a /app-text/lowdown | |
parent | d80b870c42fbe218389ffaf86f0f2a39404deca1 (diff) |
gentoo auto-resync : 25:09:2024 - 01:25:44
Diffstat (limited to 'app-text/lowdown')
-rw-r--r-- | app-text/lowdown/Manifest | 2 | ||||
-rw-r--r-- | app-text/lowdown/lowdown-1.1.1.ebuild | 67 |
2 files changed, 69 insertions, 0 deletions
diff --git a/app-text/lowdown/Manifest b/app-text/lowdown/Manifest index d8457089d9b5..37072f1b6078 100644 --- a/app-text/lowdown/Manifest +++ b/app-text/lowdown/Manifest @@ -1,5 +1,7 @@ AUX lowdown-0.10.0-pkgconfig-libmd.patch 309 BLAKE2B 617d3af07f0414fce674573e48f86f541f3b6c6c6b1649d7ba4302b0817fa8a8edf0beb1d0628c7deb79eb64934089b8ae9ff8f50171f3e94cd93427464a9c59 SHA512 f40f0a04deb70708b3059ccce394cbb78b8ba6020db4df62533abe1d3d125e1372947a5c249b9aa9a655b9b67f3f448a8963fe53fbd7d13c87b637143b36e9b0 AUX lowdown-1.1.0-shared-linking.patch 1504 BLAKE2B d53f317fb68c6a627a96243df871a205d460124fa91c4d08373a5a3134bbc4877a0ffdeb7e0336342d049f67b003e82d978cbbbba9b660fabd82550deafbd2e7 SHA512 21f282ca34c319f33795a71c5dbb0937a171853bd570538c750537013dcfc93c06035ee14eca468382e27bba427cb009fb57fef54c34d9509a93279abd52c05b DIST lowdown-1.1.0.tar.gz 599219 BLAKE2B f623399cb41c5eaf180550283c5b2738993563ff30be4cfa1a471df036ed4289057d3f886a7727d85283896fbfe1316e9cc86d32c629cea1fd775af16cf58839 SHA512 b7b788694abf6760ca4abbd8d5d2c226d5406067ebf9b55307f136e1ab373e517fb20187659c09029463872310a5b39a0129842d1bc6b7bd64f2d440390e2676 +DIST lowdown-1.1.1.tar.gz 600635 BLAKE2B 39c0a2472ff6b9b3fa2b6d72c1f2d482592976f7b50c1bbaf1965bfbb6d28f22e0a7498bb54087bb83070bd74ea673409be97815f51a0a5a67e980bbfc4e01b2 SHA512 2a69da945a83696480651e8221d73bcb18bac9bc38bb88126ddf73520d2a4ff396dde08a7abf6f550669ec9ba34abdaa186b0980f312fa157371ee754576bb6a EBUILD lowdown-1.1.0.ebuild 1268 BLAKE2B d0310e5d48c7c1a5b3def54cbc133bffbd85ee9cc4370da4087de14a5e9504aacac0ac547bbcba1f6f89de038f6aa2030032e1e712e1089407ba2f18f584947f SHA512 e7d8506955dc37c5adbb151e40a2abca744b16faf2541107e2e69f8ddaa190456b343e28de2045ef0348b75698da4118c02377ec1ddbd57267666540b0bb8c4f +EBUILD lowdown-1.1.1.ebuild 1269 BLAKE2B 1ba13052f20726d5e431dc3d2f26c81a0c61c349477d4d4ad1ef17586174f7afd698d47ba288156e82197f0415a32c981328473ce9e461cd90a645263077e2aa SHA512 2df11c9c31ff55f298ae3c5696f46688863c15bd425b4981472225d25d717fc0b953c09251119998c5782d8f74ea9a351634140720c762a90116666a2f212d71 MISC metadata.xml 333 BLAKE2B cfa2021e507b7538cf73840fb9eb8e1f6c157f7090b1156e4bd1cd917547adeea76cc31d619d60b0d189c915ae4748437b8d9a9a96a532276d6deb1d0f2258d9 SHA512 fa991b0162a4eab9c81815b4a523d33a08e7a7716b5a443165f0cc05d906b7dc3d7da388d0e3d3202a7262a7971d771ffb29debf42659c8ed3c3de6ed184d73e diff --git a/app-text/lowdown/lowdown-1.1.1.ebuild b/app-text/lowdown/lowdown-1.1.1.ebuild new file mode 100644 index 000000000000..a008b37b88a4 --- /dev/null +++ b/app-text/lowdown/lowdown-1.1.1.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 ~arm64 ~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.1.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 +} |