From c8fb42216b10862e8178f91831e4c51fb2c55ac4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 6 Feb 2023 09:19:42 +0000 Subject: gentoo auto-resync : 06:02:2023 - 09:19:42 --- app-text/lowdown/Manifest | 2 ++ app-text/lowdown/lowdown-1.0.0.ebuild | 45 +++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 app-text/lowdown/lowdown-1.0.0.ebuild (limited to 'app-text/lowdown') diff --git a/app-text/lowdown/Manifest b/app-text/lowdown/Manifest index e2d0b3886cb4..10a331e4fb47 100644 --- a/app-text/lowdown/Manifest +++ b/app-text/lowdown/Manifest @@ -2,6 +2,8 @@ AUX lowdown-0.10.0-pkgconfig-libmd.patch 309 BLAKE2B 617d3af07f0414fce674573e48f AUX lowdown-0.11.1-linking.patch 1330 BLAKE2B adffc64357e84d9f6ef82b4c85e0c7302995304859c20c5dc1c6ab3f4c32c0aca4d4c5739f43515386f00f59e4ab58a2c9d3e9ffde15a338bdcc210de5ab9ad5 SHA512 47c44d73eeac0a7b607c16afe8a24e9ee9a75672e90119cc63d577bd39db69d1dce8985a90535504f33eb1ea39728a175bcedd718730cf47fb822a0a0169aea3 DIST lowdown-0.11.1.tar.gz 571320 BLAKE2B 28fe8cb4f164618be602770c602f3ce51c0f0e765fb9869b82cb29c50bdbe0fd92c09c10074d8968108eca59096d7e176531eb56cb2b40f1d9c00a3f944e3b8c SHA512 5a8ca9d731171b97daed7a9095bc4206d2bed9095fa267eb9270782770247743f1a096c5235fd301320418c37a478fbc71552ade105eba0e756ff687835d4efb DIST lowdown-0.11.2.tar.gz 576599 BLAKE2B 579a5257a0c37882c1b5269d8196a974b3ac73be146ba424a129c9421091c462769f065350ede1b8437371141c17c24fa5ac4bdc65f393a92835d6e981c5b181 SHA512 f49ba1358a6de9ab792cf1fb7586e0e326b8ba9a153c234079825534cbdc2d10b6af32d5612b11490b97dbd6c0bea10a79752bf1ad7e7d8af871aa20332fed9e +DIST lowdown-1.0.0.tar.gz 576167 BLAKE2B fec9857ef1110f4767ff6244dcf06fa9c69a56d4b8709217cf05a148757512e2cb8c141b112673f0cffa260d7e2c376b9905bb16092e3f97f97007dcef922bcb SHA512 fe18db1f3d6dbc4fe0ae33ebcdeb1646b20d6fedd265e29d53475f7931b5b60329a653f9af864a39ff4caa0131751fcbffff0d94cb9519401a3479ada29bd7b8 EBUILD lowdown-0.11.1-r1.ebuild 979 BLAKE2B 203bb3e6a99fd8e256c02464a3b015925e0c5a8e1293bd1c16ddad4a463ab1f11718771ba2d722d316bcb17dfa3a8ccdcc04a82aa6e86afa782e66d01deabaf5 SHA512 c7271fea2e918847f42cd24b47d95589e4d37900d433d5d56b178317cfb06647a4674f23802ba3b26ebda67730d4266d659f3359263e3bb93d6faeb6d6bcb697 EBUILD lowdown-0.11.2.ebuild 986 BLAKE2B 3e686da048403f3cc1bc4c558b9fdb65954f19c8fa508e9ba29a389a80b08eab061f3c34e7d4b26621520939acbd1284b3b005f9233bc2aa9bb4127b0a6ca5fd SHA512 3ac1087c812d5bde06998cb830336d7d22627fccf1305243a5e19c7107c4da767da5e4f353c330af850e0e107e1767a2e3aa5fe809bc4f109bb3bdc9b40f4cd8 +EBUILD lowdown-1.0.0.ebuild 986 BLAKE2B 72706dcb72fd2513c3e813bbea4e9868b1875071eeb44642d18457b7be74bc1c697eabcc41d6916c881679a6c7a2c4be512656b94ac65de568ed760ee37eeeab SHA512 2ad6ccaaf1357c28f686b42ede75eacb92a4dbc11b9badfc34f00d9dc406ccae968df11eeb2f2d0608d365f73dc91a8636f83f9450b1f44b049146196637078a MISC metadata.xml 333 BLAKE2B cfa2021e507b7538cf73840fb9eb8e1f6c157f7090b1156e4bd1cd917547adeea76cc31d619d60b0d189c915ae4748437b8d9a9a96a532276d6deb1d0f2258d9 SHA512 fa991b0162a4eab9c81815b4a523d33a08e7a7716b5a443165f0cc05d906b7dc3d7da388d0e3d3202a7262a7971d771ffb29debf42659c8ed3c3de6ed184d73e diff --git a/app-text/lowdown/lowdown-1.0.0.ebuild b/app-text/lowdown/lowdown-1.0.0.ebuild new file mode 100644 index 000000000000..bf31fdccbcaf --- /dev/null +++ b/app-text/lowdown/lowdown-1.0.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 2021-2023 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" +KEYWORDS="~amd64 ~arm64 ~x86" + +DEPEND="virtual/libcrypt:=" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/lowdown-0.10.0-pkgconfig-libmd.patch" + "${FILESDIR}/lowdown-0.11.1-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() { + emake regress +} -- cgit v1.2.3