| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.2.12 | 8 | ~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~x64-solaris | 0 |
# Copyright 1999-2025 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 ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~x64-solaris"
IUSE="debug doc"
RDEPEND=">=app-text/ghostscript-gpl-9.53.0:="
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
doc? ( app-text/doxygen[dot] )
"
# does not actually test anything, see bug 362557
RESTRICT="test"
src_configure() {
local myeconfargs=(
$(use_enable debug asserts)
$(use_enable debug checks)
--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
}
>=app-text/ghostscript-gpl-9.53.0:=
>=app-text/ghostscript-gpl-9.53.0:=
virtual/pkgconfig doc? ( app-text/doxygen[dot] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | libspectre-0.2.12.tar.gz | 436264 bytes | https://libspectre.freedesktop.org/releases/libspectre-0.2.12.tar.gz |