blob: 611893bd5c6efb79e2b9f7ceb3d60b93bc8ca5a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
MY_P="${PN}_V${PV}"
DESCRIPTION="Library for reading and writing ICC color profile files"
HOMEPAGE="http://freshmeat.sourceforge.net/projects/icclib"
SRC_URI="http://www.argyllcms.com/${MY_P}.zip"
S="${WORKDIR}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
BDEPEND="app-arch/unzip"
PATCHES=(
"${FILESDIR}/${P}-fno-common.patch"
"${FILESDIR}/${P}-c23.patch"
)
src_prepare() {
default
cp "${FILESDIR}"/meson.build . || die "Failed to move corrected build system"
}
src_test() {
"${BUILD_DIR}"/iccdump 2>&1 | tee log
if ! grep -q "Dump an ICC file in human readable form" log ; then
die "Executable couldn't be started"
fi
}
src_install() {
meson_install
doheader icc*.h
dodoc Readme.txt todo.txt log.txt
}
|