Diff argyllcms-2.1.2-r3 with a argyllcms-2.3.1-r1

/usr/portage/media-gfx/argyllcms/argyllcms-2.3.1-r1.ebuild 2023-10-09 14:52:31.616368404 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit flag-o-matic multiprocessing toolchain-funcs udev
7 7

  
......
13 13

  
14 14
LICENSE="AGPL-3"
15 15
SLOT="0"
16
KEYWORDS="amd64 arm64 ~hppa x86"
16
KEYWORDS="~amd64 ~arm64 ~hppa ~loong ~mips ~riscv ~x86"
17 17
IUSE="doc"
18 18

  
19 19
RDEPEND="
20
	dev-libs/openssl:=
20 21
	media-libs/libjpeg-turbo:=
21 22
	media-libs/tiff:=
22 23
	sys-libs/zlib
23 24
	x11-libs/libX11
25
	x11-libs/libXScrnSaver
24 26
	x11-libs/libXau
25 27
	x11-libs/libXdmcp
26 28
	x11-libs/libXext
27 29
	x11-libs/libXinerama
28 30
	x11-libs/libXrandr
29 31
	x11-libs/libXxf86vm
30
	x11-libs/libXScrnSaver
31
	dev-libs/openssl:=
32 32
"
33 33
DEPEND="${RDEPEND}"
34 34
BDEPEND="app-arch/unzip
35 35
	dev-util/ftjam"
36 36

  
37
PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
38

  
39 37
S="${WORKDIR}/${MY_P}"
40 38

  
39
src_prepare() {
40
	default
41
	sed -e "s/static eset/static int eset/" -i spectro/i1d3.c || die
42
}
43

  
41 44
src_compile() {
42 45
	# Make it respect LDFLAGS
43 46
	echo "LINKFLAGS += ${LDFLAGS} ;" >> Jamtop
......
50 53

  
51 54
	sed \
52 55
		-e 's:CCFLAGS:CFLAGS:g' \
53
		-e "s:ar rusc:$(tc-getAR) rusc:g" \
54 56
		-i Jambase || die
55 57

  
56 58
	tc-export CC RANLIB
59
	export AR="$(tc-getAR) ruscU"
57 60

  
58 61
	jam -dx -fJambase "-j$(makeopts_jobs)" || die
59 62
}
......
83 86
}
84 87

  
85 88
pkg_postinst() {
89
	udev_reload
90

  
86 91
	elog "If you have a Spyder2 you need to extract the firmware"
87 92
	elog "from the CVSpyder.dll of the windows driver package"
88 93
	elog "and store it as /usr/share/color/spyd2PLD.bin"
......
91 96
	elog "http://www.argyllcms.com/doc/Installing_Linux.html"
92 97
	echo
93 98
}
99

  
100
pkg_postrm() {
101
	udev_reload
102
}
Thank you!