diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2017-11-21 15:02:28 +0100 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2017-11-21 17:15:06 +0100 |
commit | e6ab1cb1c9b944d7d13930716674327a15d3df2d (patch) | |
tree | 650e0a730cbb2573cbd902a8fa45dfc83437692f /media-gfx/argyllcms | |
parent | media-gfx/argyllcms: drop old (diff) | |
download | gentoo-e6ab1cb1c9b944d7d13930716674327a15d3df2d.tar.gz gentoo-e6ab1cb1c9b944d7d13930716674327a15d3df2d.tar.bz2 gentoo-e6ab1cb1c9b944d7d13930716674327a15d3df2d.zip |
media-gfx/argyllcms: 2.0.0 bump
Package-Manager: Portage-2.3.15, Repoman-2.3.6
Diffstat (limited to 'media-gfx/argyllcms')
-rw-r--r-- | media-gfx/argyllcms/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/argyllcms/argyllcms-2.0.0.ebuild | 89 |
2 files changed, 90 insertions, 0 deletions
diff --git a/media-gfx/argyllcms/Manifest b/media-gfx/argyllcms/Manifest index 2dc2c178f389..eb309eff2da7 100644 --- a/media-gfx/argyllcms/Manifest +++ b/media-gfx/argyllcms/Manifest @@ -1 +1,2 @@ DIST Argyll_V1.9.2_src.zip 13624924 SHA256 4d61ae0b91686dea721d34df2e44eaf36c88da87086fd50ccc4e999a58e9ce90 SHA512 f21fc2385b643dd6c32d1b1b0ab208a79ad8bc4319ac644d96e69ebc4c4e333d38b41e4516742816da9a91145e4f00bffb7f8b61a827859d5e14c1a8867b5a41 WHIRLPOOL 2b1bf8997a029bea711f42b7dec51c645834e7429430c6ad187a0b26f903ff58cfea27a072e28fb703be7ef2bcfa96d20f0f7ba6d1d809052eeb10d52013b430 +DIST Argyll_V2.0.0_src.zip 13588152 SHA256 5492896c040b406892864c467466ad6b50eb62954b5874ef0eb9174d1764ff41 SHA512 44e9a2307bc39a8e455c15b2f4126de652a9ecd43bec94a841cb3da56896effcb023740d7e6b8991d109766c83426eee4b131a6c56cda5ff28b22a06ea470b5d WHIRLPOOL 91e945c2871798f6a0065011a6d2016985857c978edffca4b3f6286210ccf172fcc597c1923e428250c19e600f9cace1c6c2f9e84fddbb4ee2db0107b281fe33 diff --git a/media-gfx/argyllcms/argyllcms-2.0.0.ebuild b/media-gfx/argyllcms/argyllcms-2.0.0.ebuild new file mode 100644 index 000000000000..a90a7721a760 --- /dev/null +++ b/media-gfx/argyllcms/argyllcms-2.0.0.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils 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 ~x86" +IUSE="doc" + +RDEPEND=" + media-libs/tiff:0 + sys-libs/zlib + virtual/jpeg:0 + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXdmcp + x11-libs/libXext + x11-libs/libXinerama + x11-libs/libXrandr + x11-libs/libXxf86vm + x11-libs/libXScrnSaver" +DEPEND="${RDEPEND} + 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' \ + -e "s:ar rusc:$(tc-getAR) rusc:g" \ + -i Jambase || die + + tc-export CC RANLIB + + 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 ttbd.txt notes.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() { + 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 +} |