summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2016-10-11 15:00:34 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2016-10-11 15:01:32 +0200
commit8433db339f39635acb270ef77f3b9445e90370be (patch)
treedb230054e6e2cec92cf5b2f3fc8ccfbd038cc18b /media-gfx/argyllcms
parentprofiles/package.mask: mask dev-python/oosuite for removal. (diff)
downloadgentoo-8433db339f39635acb270ef77f3b9445e90370be.tar.gz
gentoo-8433db339f39635acb270ef77f3b9445e90370be.tar.bz2
gentoo-8433db339f39635acb270ef77f3b9445e90370be.zip
media-gfx/argyllcms: version bump to 1.9.1, bug #596790
Update ebuild to EAPI 6, use PATCHES variable and replace dohtml by dodoc Package-Manager: portage-2.3.1
Diffstat (limited to 'media-gfx/argyllcms')
-rw-r--r--media-gfx/argyllcms/Manifest1
-rw-r--r--media-gfx/argyllcms/argyllcms-1.9.1.ebuild94
2 files changed, 95 insertions, 0 deletions
diff --git a/media-gfx/argyllcms/Manifest b/media-gfx/argyllcms/Manifest
index 763758eb42f3..5759dd6f9233 100644
--- a/media-gfx/argyllcms/Manifest
+++ b/media-gfx/argyllcms/Manifest
@@ -1,3 +1,4 @@
DIST Argyll_V1.7.0_src.zip 13935712 SHA256 dac51cf5d8f6d04bb02f2f5b119fa0e8b773a010e6377116768b082ef018f663 SHA512 644683c8a73d36583d607b5d51c543dca8f1e3fb3db8138a164f9ed7f994df7739ee7d810b7136a7cf0eba7b54fe53b35ffbdd4e6915ec20b271325119ce369c WHIRLPOOL e08c6e311856716ee6b49e37c583d8d4275629fb746f018e0d7c768d4c907644dc60545ff2c709217988c668b198dfc95396af3fdf0ccd40d320514854b1c087
DIST Argyll_V1.8.2_src.zip 13946428 SHA256 59bdfaeace35d2007c90fc53234ba33bf8a64cffc08f7b27a297fc5f85455377 SHA512 fb5a9fcfe558ce0593cc63d43751693dcaca8ed9dc202372bea5d8d54e19c004de0cb80382ffd2b570d9eeeb58584c7466b725d35377c72cbbde414625613d9c WHIRLPOOL 1a7f32f5ac203ae69773c8f40540aed4c2d36b1878ac7e7cc703df8809faa6ca086a249c1f20f5c2b8bb3db652add330b8a555dd34570c79b1da74cd5bb372ed
DIST Argyll_V1.8.3_src.zip 13933565 SHA256 60494176785f6c2e4e4daefb9452d83859880449040b2a843ed81de3bd0c558e SHA512 19bdba20313ec62b5b3c461d29a4f1eefbeb799ded06a1e0b568013b606547bf97b23c1b69f27d415e0052a7a2b747273131624e725ee21781b261568822b3a7 WHIRLPOOL d0f65bfdee48dcb29c887f371fe787aebac8c9577a1db0f386bb4a17e379ab99d2c0f94bc7474e753b3fd49548028928aeb48d9c0021b8ee5a76ab55575d5ce8
+DIST Argyll_V1.9.1_src.zip 13497142 SHA256 5e910b1fafa53498747bee6128adfb1b4a2418801728ad466ebd65fa7fa29823 SHA512 28cc7f686a841a8ef6d6594b71a9a8c8be9370395fd1385abdc4b8388b699266966b21385056933670e233a085edbe9ee58cbe854f18c980408a89b45e807179 WHIRLPOOL 70592c405e584b186225a7c1427c94d73b45dfcfd1080f91b71583d044b77130d9531e3b30c7d9f24802539cc3a02ebba661c15af5229569183351134d29a7ef
diff --git a/media-gfx/argyllcms/argyllcms-1.9.1.ebuild b/media-gfx/argyllcms/argyllcms-1.9.1.ebuild
new file mode 100644
index 000000000000..2f3d4351e8b2
--- /dev/null
+++ b/media-gfx/argyllcms/argyllcms-1.9.1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 ~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}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.8.0-gcc5.patch
+ )
+
+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
+}