diff options
author | Matt Turner <mattst88@gentoo.org> | 2022-05-03 11:58:26 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-05-03 12:00:32 -0700 |
commit | fc9bf6cfb34da41dd73f64be5854b51302815238 (patch) | |
tree | 2eb86f04779a7d08e64e8ae1f5d1bbc700e118ba /app-text/libspectre/libspectre-0.2.10.ebuild | |
parent | x11-libs/libnotify: Version bump to 0.7.11 (diff) | |
download | gentoo-fc9bf6cfb34da41dd73f64be5854b51302815238.tar.gz gentoo-fc9bf6cfb34da41dd73f64be5854b51302815238.tar.bz2 gentoo-fc9bf6cfb34da41dd73f64be5854b51302815238.zip |
app-text/libspectre: Version bump to 0.2.10
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'app-text/libspectre/libspectre-0.2.10.ebuild')
-rw-r--r-- | app-text/libspectre/libspectre-0.2.10.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app-text/libspectre/libspectre-0.2.10.ebuild b/app-text/libspectre/libspectre-0.2.10.ebuild new file mode 100644 index 000000000000..04e44d862e05 --- /dev/null +++ b/app-text/libspectre/libspectre-0.2.10.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Library for rendering Postscript documents" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libspectre" +SRC_URI="https://libspectre.freedesktop.org/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris" +IUSE="debug doc" + +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" +RDEPEND=">=app-text/ghostscript-gpl-9.53.0:=" +DEPEND="${RDEPEND}" + +# does not actually test anything, see bug 362557 +RESTRICT="test" + +src_configure() { + local myeconfargs=( + $(use_enable debug asserts) + $(use_enable debug checks) + --disable-static + --disable-test + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + emake + if use doc; then + doxygen || die + fi +} + +src_install() { + use doc && local HTML_DOCS=( doc/html/. ) + default + find "${D}" -name '*.la' -type f -delete || die +} |