openslide-4.0.0mva
download
# Copyright 2026 mva
# Distributed under the terms of the Public Domain or CC0 License
EAPI=8
DESCRIPTION="C library with simple interface to read virtual slides"
HOMEPAGE="https://openslide.org/"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3 meson
EGIT_REPO_URI="https://github.com/openslide/openslide"
else
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
KEYWORDS="~amd64 ~x86"
HTML_DOCS=("doc/html/.")
fi
LICENSE="LGPL-2.1"
SLOT="0"
DEPEND="
media-libs/libjpeg-turbo
media-libs/openjpeg:2
media-libs/tiff:0
virtual/libc
virtual/zlib
>=x11-libs/cairo-1.2
>=dev-libs/glib-2.12
"
RDEPEND="${DEPEND}"
src_install() {
meson_install
find "${D}" -name "*.la" -type f -delete
einstalldocs
}