gentoo-ebuilds/media-libs/icclib/icclib-3.2.0.ebuild
NHOrus f89190179d
media-libs/icclib: add 3.2.0
Upstream fixed bugs we patch in, and also included test files
which simplifies running smoke test significantly.

Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/40753
Signed-off-by: Sam James <sam@gentoo.org>
2025-04-12 21:58:20 +01:00

36 lines
710 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
MY_P="ICCLib_V${PV}"
DESCRIPTION="Library for reading and writing ICC color profile files"
HOMEPAGE="https://https://argyllcms.com/icclibsrc.html"
SRC_URI="https://www.argyllcms.com/${MY_P}_src.zip -> ${MY_P}.zip"
S="${WORKDIR}/${MY_P}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
BDEPEND="app-arch/unzip"
src_prepare() {
default
cp "${FILESDIR}"/meson-"${PV}".build ./meson.build || die "Failed to move corrected build system"
}
src_test() {
"${BUILD_DIR}"/iccdump sRGB.icm || die
}
src_install() {
meson_install
doheader icc*.h
dodoc Readme.txt todo.txt log.txt
}