media-gfx/argyllcms: add 3.4.1

Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
This commit is contained in:
Bernard Cafarelli 2025-09-23 23:28:16 +02:00
parent 8b25bd18be
commit 3f61e47328
No known key found for this signature in database
GPG Key ID: 00F7AB331B0F097F
2 changed files with 97 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST Argyll_V3.4.0_src.zip 14811766 BLAKE2B 520f76845da31ef12bed2d74a656fb93a86d7b5418e7c4f94d7399260707019d17c57b82cdb6086d4717f23cb1d29be1ead24439c3ccbbcf59ecce575a51b00f SHA512 388dcf98b3bda796bf5c6d864278b77504dfc85690683846169550454a0141abb4821c39ba25bb217cb563f3f083abc84bdfb1257cf964a1e0d964272434af4c
DIST Argyll_V3.4.1_src.zip 14810106 BLAKE2B fcd928b68228e2461e116355b0c2b665d328f9230982e2ff65ce89b99ed8a51536a3f0a907eb92a9ee898fc7e6399a2b3384bee7fbf21e767a89bd8ea38000fb SHA512 c2671fc67263a115c81014feeaf29af6197a9dc564b66a769e776c60ae29e1dfef773ee340c5bfcc04a85b007b92eafedb1eb95e600388643438dacdf7752d8d

View File

@ -0,0 +1,96 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic multiprocessing toolchain-funcs udev
MY_P="Argyll_V${PV}"
DESCRIPTION="Open source, ICC compatible color management system"
HOMEPAGE="http://www.argyllcms.com/"
SRC_URI="http://www.argyllcms.com/${MY_P}_src.zip"
S="${WORKDIR}/${MY_P}"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~hppa ~loong ~mips ~riscv ~x86"
IUSE="doc"
RDEPEND="
dev-libs/openssl:=
media-libs/libjpeg-turbo:=
media-libs/tiff:=
sys-libs/zlib
x11-libs/libX11
x11-libs/libXScrnSaver
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXinerama
x11-libs/libXrandr
x11-libs/libXxf86vm
"
DEPEND="${RDEPEND}"
BDEPEND="app-arch/unzip
dev-util/ftjam"
src_compile() {
# Make it respect LDFLAGS
echo "LINKFLAGS += ${LDFLAGS} ;" >> Jamtop
# Evil hack to get --as-needed working. The build system unfortunately lists all
# the shared libraries by default on the command line _before_ the object to be built...
echo "STDLIBS += -ldl -lrt -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -ltiff -ljpeg ;" >> Jamtop
append-cflags -DUNIX -D_THREAD_SAFE -std=gnu89
sed \
-e 's:CCFLAGS:CFLAGS:g' \
-i Jambase || die
tc-export CC RANLIB
export AR="$(tc-getAR) ruscU"
jam -dx -fJambase "-j$(makeopts_jobs)" || die
}
src_install() {
jam -dx -fJambase install || die
rm bin/License.txt || die
pushd bin > /dev/null
local binname
for binname in * ; do
newbin ${binname} argyll-${binname}
done
popd > /dev/null
dodoc log.txt ReadMe.txt
if use doc; then
docinto html
dodoc doc/*html doc/*jpg doc/*gif
fi
insinto /usr/share/${PN}
doins -r ref
udev_dorules usb/55-Argyll.rules
}
pkg_postinst() {
udev_reload
elog "If you have a Spyder2 you need to extract the firmware"
elog "from the CVSpyder.dll of the windows driver package"
elog "and store it as /usr/share/color/spyd2PLD.bin"
echo
elog "For further info on setting up instrument access read"
elog "http://www.argyllcms.com/doc/Installing_Linux.html"
echo
}
pkg_postrm() {
udev_reload
}