Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/libspectre/
Date: Tue, 03 May 2022 19:00:44
Message-Id: 1651604432.fc9bf6cfb34da41dd73f64be5854b51302815238.mattst88@gentoo
1 commit: fc9bf6cfb34da41dd73f64be5854b51302815238
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 3 18:58:26 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue May 3 19:00:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc9bf6cf
7
8 app-text/libspectre: Version bump to 0.2.10
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 app-text/libspectre/Manifest | 1 +
13 app-text/libspectre/libspectre-0.2.10.ebuild | 46 ++++++++++++++++++++++++++++
14 2 files changed, 47 insertions(+)
15
16 diff --git a/app-text/libspectre/Manifest b/app-text/libspectre/Manifest
17 index 45abcebe3af8..5a0e02e4ad89 100644
18 --- a/app-text/libspectre/Manifest
19 +++ b/app-text/libspectre/Manifest
20 @@ -1 +1,2 @@
21 +DIST libspectre-0.2.10.tar.gz 436690 BLAKE2B 8c1d25225a212b7e8d2bab7cffa4298509450cf727e38d0be22d27ed5fb161a0f838967afa3f8aa265c2bd243431bbfb92976cf51ee52ee7d3b0479000215546 SHA512 01738f452f99878beaa528b15d8df463ca22d625306d636e1a6199ade9f068d284f1def3882e954a06e5f066937343f79d0c2197fbb19ab53ef1ab0540c72f2f
22 DIST libspectre-0.2.9.tar.gz 433384 BLAKE2B ed75a7013763a86c0f0702e0e47dcfb8401db6c957ed4851ecc85e27db6a49c8d4dae6443b302bcce5b0ae0da18dce3294a010eee5531a253020a650c19388c5 SHA512 7c24b5c83c6d356c89417d09dc76566afbe886ec189fe80d030a239c23ad25b061db071768117fa06805aa3d86f749fb232b7491bd7d467f26a40e348e74d5d2
23
24 diff --git a/app-text/libspectre/libspectre-0.2.10.ebuild b/app-text/libspectre/libspectre-0.2.10.ebuild
25 new file mode 100644
26 index 000000000000..04e44d862e05
27 --- /dev/null
28 +++ b/app-text/libspectre/libspectre-0.2.10.ebuild
29 @@ -0,0 +1,46 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DESCRIPTION="Library for rendering Postscript documents"
36 +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libspectre"
37 +SRC_URI="https://libspectre.freedesktop.org/releases/${P}.tar.gz"
38 +
39 +LICENSE="GPL-2"
40 +SLOT="0"
41 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
42 +IUSE="debug doc"
43 +
44 +BDEPEND="
45 + virtual/pkgconfig
46 + doc? ( app-doc/doxygen )
47 +"
48 +RDEPEND=">=app-text/ghostscript-gpl-9.53.0:="
49 +DEPEND="${RDEPEND}"
50 +
51 +# does not actually test anything, see bug 362557
52 +RESTRICT="test"
53 +
54 +src_configure() {
55 + local myeconfargs=(
56 + $(use_enable debug asserts)
57 + $(use_enable debug checks)
58 + --disable-static
59 + --disable-test
60 + )
61 + econf "${myeconfargs[@]}"
62 +}
63 +
64 +src_compile() {
65 + emake
66 + if use doc; then
67 + doxygen || die
68 + fi
69 +}
70 +
71 +src_install() {
72 + use doc && local HTML_DOCS=( doc/html/. )
73 + default
74 + find "${D}" -name '*.la' -type f -delete || die
75 +}