diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2023-12-20 10:11:04 +0100 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2023-12-20 10:11:04 +0100 |
commit | 99523871ae6b323f000d5f1f1f6c0242b0caf247 (patch) | |
tree | 2d2b7212de15688ed610086c9575759616fa7808 /media-gfx/argyllcms | |
parent | www-apps/nextcloud: drop 26.0.7, 27.0.2, 27.1.1, 27.1.2, 27.1.3 (diff) | |
download | gentoo-99523871ae6b323f000d5f1f1f6c0242b0caf247.tar.gz gentoo-99523871ae6b323f000d5f1f1f6c0242b0caf247.tar.bz2 gentoo-99523871ae6b323f000d5f1f1f6c0242b0caf247.zip |
media-gfx/argyllcms: add 3.1.0
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'media-gfx/argyllcms')
-rw-r--r-- | media-gfx/argyllcms/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/argyllcms/argyllcms-3.1.0.ebuild | 97 |
2 files changed, 98 insertions, 0 deletions
diff --git a/media-gfx/argyllcms/Manifest b/media-gfx/argyllcms/Manifest index e3231c1fcb5c..510cfe47b065 100644 --- a/media-gfx/argyllcms/Manifest +++ b/media-gfx/argyllcms/Manifest @@ -1,2 +1,3 @@ DIST Argyll_V2.1.2_src.zip 13837056 BLAKE2B cf6181549e37b1deda11bdd4a63b27e101180a1e82b132ea8dca5af6830a74d5e2f940633f5aecf9a8d62fe8c2b0cdce8f2af44124ce7432b33d2a1bdbaa2c21 SHA512 f49b588c5f0a39edcc30a068a8bde8c7b74611d3feb15d07d4a61b205ed1231c288629f65e1a5a60a3921d552a28e075667ada555401a0d9694fd882bddd4b06 DIST Argyll_V2.3.1_src.zip 14098636 BLAKE2B 0f215d5852c3ad383833dd643d78729a03e178b2bfad1a955a4ca8108a7b33b5a98507436c2a3bfa9f030ad968787e933e50940a0a7cc045b1082f4c8d519c6a SHA512 a8c2b02638569727015ad8e6e16999e398214fa5d11656bae0a9fe0b3268e81674621e3a7de96b727c578c5fc612ada39b37a94ca8b62f4221c56917654a22e8 +DIST Argyll_V3.1.0_src.zip 14671869 BLAKE2B a2cf0fa2f4d7924d847c56a6a30b5751576d9298736b751bb644317952c366f9f9be40668d5855417c3852dd39ba3dcfffeed5384b187a3164f1d9485ad8d8aa SHA512 a39e107327c89af46af3101a58ab796bc5e37ca979b93626f635ec66e32e099d0d1ebc14559133a804c0b4898fa4a93cbc25b5c5cf06ea7963025a1946ab619d diff --git a/media-gfx/argyllcms/argyllcms-3.1.0.ebuild b/media-gfx/argyllcms/argyllcms-3.1.0.ebuild new file mode 100644 index 000000000000..9830286f0e37 --- /dev/null +++ b/media-gfx/argyllcms/argyllcms-3.1.0.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2023 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" + +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" + +S="${WORKDIR}/${MY_P}" + +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 + + 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 +} |