diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-15 06:47:25 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-15 06:47:25 +0000 |
commit | bc5dfb0671fb08c7da579b38b0e6abdd19da103f (patch) | |
tree | 1be81dbc48e2e0ec0cc322ab3062f1c56edd88be /app-text/a2ps | |
parent | 4614848cbaec61bd1083af01a41f39c3b4a9e274 (diff) |
gentoo auto-resync : 15:03:2024 - 06:47:25
Diffstat (limited to 'app-text/a2ps')
-rw-r--r-- | app-text/a2ps/Manifest | 4 | ||||
-rw-r--r-- | app-text/a2ps/a2ps-4.15.5-r1.ebuild | 7 | ||||
-rw-r--r-- | app-text/a2ps/a2ps-4.15.6.ebuild | 92 |
3 files changed, 101 insertions, 2 deletions
diff --git a/app-text/a2ps/Manifest b/app-text/a2ps/Manifest index e8027f2f2536..52ebc8e0ccf9 100644 --- a/app-text/a2ps/Manifest +++ b/app-text/a2ps/Manifest @@ -2,5 +2,7 @@ AUX 50a2ps-gentoo.el 218 BLAKE2B 59dc77b7859a5c6536077f6322c1aa5bffbfc3c27ba3b7e AUX a2ps-4.15-lpr-wrapper.patch 546 BLAKE2B e15cbbf5c0834d71804bcdfa625fa4d7031373a7497d463e4066595bb820ec8ff992bd0c55af2ea0cbdc2ec132ba97cd4330b6409983013c34b2b29489093c31 SHA512 6384a629d3e8ac6bcd892f9c5ff75f5224e5b0d8ed7e7131fbd965828b353ccb4139ab572b99c0c9d209974e0638a9e7bb978dee4ab54336af56322b964542df AUX a2ps-4.15-stdout.patch 578 BLAKE2B edab46a428d330dad3f9543e3ecc92e058f1f425e39f68350d7e9de287217fee27a237aa7747bab7bcf78c2e61b6526a4a62569b22d84c1fb40fb054165d8418 SHA512 44878e936275a8ee23f0bc34293a3eb0ceeadb13a4234e1bc93b3dee02268dbf45eb68d3b6dd2177f4c15c25f88ffa1b9e009d893a1f263da2c24b543331bfd3 DIST a2ps-4.15.5.tar.gz 3571724 BLAKE2B 7c352b72c537f8519cafb7993595d902e1dfeae49207936c365b0ea3813ffff973c5f5e2bb63a4cffa3c665990d95c8a8e339c87d9eac25fa24e364b8b705bae SHA512 e9953659139a46aed46e190d5485382a9e396ae8bbbe59edb78ab3110e7839a764e3cb6ff94f5f36e6e91fcaf85f6352376e0b4a0e0141f24e098fa334b5015e -EBUILD a2ps-4.15.5-r1.ebuild 1956 BLAKE2B b7c61355bb0094165ac4777656bf6d5c837df86943bc9221c2bb0fc1e4aaf50a05da996eef446f5fc9a4d973091c60542abf8da3aba24030e4c11dfd6f65f2a6 SHA512 96ebe5db8d5477726783efc07da9e19cdad0702922751621ee3b566bb2e63d0244aa970afe9f1afa426cd9f7286450ccf72d2235249c87863f4255f6ab172e8b +DIST a2ps-4.15.6.tar.gz 3605392 BLAKE2B 64f79e26ef116836508c94f0e846f2d242fbb551e9324f339dcc2f8c8cedfad0a708bf10a74cb8e45dad14e1390f4adfb8763618b24794b9cdf77202ebfee33f SHA512 23d054a2e58c28460c5e23a1cf3f0f9c27faffc9a99781c42c11cc0693eea5bb8cfe090a97b9bae3d80cfae6b4d5b9a30dfd997a2d70be2d25988c714ad14b44 +EBUILD a2ps-4.15.5-r1.ebuild 2027 BLAKE2B f46e1c1270f3850f896373237880716fe58b91b3d53e939fa24a8c1b4a93f7a155de9b90e10cc37f7bfa52e81071ec5d1c57ee22f866229d9e77b0f9e16705fc SHA512 e1ffe82434889728264ec90f9e6c17327563f28ee197484e6a5f23c06f842ff4e6372f34bb51634c1d0bf84f2e2dfd6b294e9ab10250fe1103822b1fac927ce2 +EBUILD a2ps-4.15.6.ebuild 1927 BLAKE2B d2a0f6209168cfd42c2374ec25fae07bf37fdd77f2f2e394bddf1c3e5083f89d6f29a4a93b937db43dcac762b94e5e2a08521203d4f5ce03a22b2419df90d3ca SHA512 4b80dcd0a7b2ac361b2da2bf19fa7db2c7aca3d8f4b478acc41f1dc8902c4d75f0d65e3c341e5a1699dc55d4f0c4180f719c1174e97c621332f52a6bcc83d7fb MISC metadata.xml 442 BLAKE2B 89796eb65cfc9ab8929511f94655a9c7f6a39837f5c1cfb0f8885a29d3900512e6c3ee6b44f3ee8e23eca54112f72c7462d4fb223109fdea3d203d5ff4492252 SHA512 078d824c815b9cc0c5a0acfea6f8c5203eb3f1e94778987137181f987cbeaab0040389b0e34cda160d6a3c6f00508c39a6c30404b89dfe64782db1980c9340b7 diff --git a/app-text/a2ps/a2ps-4.15.5-r1.ebuild b/app-text/a2ps/a2ps-4.15.5-r1.ebuild index 5d7e4b9afb30..4284c506a705 100644 --- a/app-text/a2ps/a2ps-4.15.5-r1.ebuild +++ b/app-text/a2ps/a2ps-4.15.5-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -40,6 +40,11 @@ PATCHES=( "${FILESDIR}"/${PN}-4.15-lpr-wrapper.patch ) +QA_CONFIG_IMPL_DECL_SKIP=( + # gnulib FPs + MIN alignof static_assert +) + src_prepare() { default diff --git a/app-text/a2ps/a2ps-4.15.6.ebuild b/app-text/a2ps/a2ps-4.15.6.ebuild new file mode 100644 index 000000000000..f9ae315b9f23 --- /dev/null +++ b/app-text/a2ps/a2ps-4.15.6.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools elisp-common + +DESCRIPTION="Any to PostScript filter" +HOMEPAGE="https://www.gnu.org/software/a2ps/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="cjk emacs latex nls static-libs vanilla" + +# a2ps-lpr-wrapper needs bash +RDEPEND=" + app-text/ghostscript-gpl + app-text/libpaper:= + >=app-text/psutils-1.17 + app-text/wdiff + app-shells/bash:* + dev-libs/boehm-gc + >=sys-apps/coreutils-6.10-r1 + emacs? ( >=app-editors/emacs-23.1:* ) + latex? ( virtual/latex-base ) + nls? ( virtual/libintl ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-alternatives/yacc + >=dev-util/gperf-2.7.2 + nls? ( sys-devel/gettext ) +" + +SITEFILE="50${PN}-gentoo.el" + +QA_CONFIG_IMPL_DECL_SKIP=( + # gnulib FPs + MIN alignof static_assert +) + +src_prepare() { + default + + use vanilla || eapply "${FILESDIR}"/${PN}-4.15-stdout.patch + + eautoreconf +} + +src_configure() { + export LANG=C LC_ALL=C + + econf \ + --cache-file="${S}"/config.cache \ + --enable-shared \ + $(use_enable static-libs static) \ + --sysconfdir="${EPREFIX}"/etc/a2ps \ + $(use_enable nls) \ + COM_netscape=no \ + COM_acroread=no \ + $(usev !latex COM_latex=no) \ + $(usev !emacs EMACS=no) +} + +src_install() { + emake \ + DESTDIR="${D}" \ + lispdir="${EPREFIX}${SITELISP}"/${PN} \ + install + + einstalldocs + + newdoc "${ED}"/usr/share/a2ps/README README.a2ps + newdoc "${ED}"/usr/share/a2ps/ppd/README README.a2ps.ppd + newdoc "${ED}"/usr/share/ogonkify/README README.ogonkify + + rm -f "${ED}"/usr/share/{a2ps,a2ps/ppd,ogonkify}/README || die + + find "${ED}" -name '*.la' -delete || die + + use emacs && elisp-site-file-install "${FILESDIR}"/${SITEFILE} +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |