Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/argyllcms: argyllcms-1.6.3.ebuild ChangeLog
Date: Fri, 28 Feb 2014 00:39:12
Message-Id: 20140228003909.7DF312004C@flycatcher.gentoo.org
1 voyageur 14/02/28 00:39:09
2
3 Modified: ChangeLog
4 Added: argyllcms-1.6.3.ebuild
5 Log:
6 Version bump, mmostly bug fixes
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key C74525F2)
9
10 Revision Changes Path
11 1.36 media-gfx/argyllcms/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/argyllcms/ChangeLog?rev=1.36&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/argyllcms/ChangeLog?rev=1.36&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/argyllcms/ChangeLog?r1=1.35&r2=1.36
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/ChangeLog,v
20 retrieving revision 1.35
21 retrieving revision 1.36
22 diff -u -r1.35 -r1.36
23 --- ChangeLog 6 Dec 2013 00:21:03 -0000 1.35
24 +++ ChangeLog 28 Feb 2014 00:39:09 -0000 1.36
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-gfx/argyllcms
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/ChangeLog,v 1.35 2013/12/06 00:21:03 voyageur Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/ChangeLog,v 1.36 2014/02/28 00:39:09 voyageur Exp $
31 +
32 +*argyllcms-1.6.3 (28 Feb 2014)
33 +
34 + 28 Feb 2014; Bernard Cafarelli <voyageur@g.o> +argyllcms-1.6.3.ebuild:
35 + Version bump, mmostly bug fixes
36
37 *argyllcms-1.6.2 (06 Dec 2013)
38
39
40
41
42 1.1 media-gfx/argyllcms/argyllcms-1.6.3.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/argyllcms/argyllcms-1.6.3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/argyllcms/argyllcms-1.6.3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: argyllcms-1.6.3.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/argyllcms-1.6.3.ebuild,v 1.1 2014/02/28 00:39:09 voyageur Exp $
52
53 EAPI=5
54
55 inherit base flag-o-matic multiprocessing toolchain-funcs udev
56
57 MY_P="Argyll_V${PV}"
58
59 DESCRIPTION="Open source, ICC compatible color management system"
60 HOMEPAGE="http://www.argyllcms.com/"
61 SRC_URI="http://www.argyllcms.com/${MY_P}_src.zip"
62
63 LICENSE="AGPL-3"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="doc"
67
68 RDEPEND="
69 media-libs/tiff
70 sys-libs/zlib
71 virtual/jpeg
72 x11-libs/libX11
73 x11-libs/libXau
74 x11-libs/libXdmcp
75 x11-libs/libXext
76 x11-libs/libXinerama
77 x11-libs/libXrandr
78 x11-libs/libXxf86vm
79 x11-libs/libXScrnSaver"
80 DEPEND="${RDEPEND}
81 app-arch/unzip
82 dev-util/ftjam"
83
84 S="${WORKDIR}/${MY_P}"
85
86 PATCHES=(
87 )
88
89 src_compile() {
90 # Make it respect LDFLAGS
91 echo "LINKFLAGS += ${LDFLAGS} ;" >> Jamtop
92
93 # Evil hack to get --as-needed working. The build system unfortunately lists all
94 # the shared libraries by default on the command line _before_ the object to be built...
95 echo "STDLIBS += -ldl -lrt -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -ltiff -ljpeg ;" >> Jamtop
96
97 append-cflags -DUNIX -D_THREAD_SAFE
98
99 sed \
100 -e 's:CCFLAGS:CFLAGS:g' \
101 -e "s:ar rusc:$(tc-getAR) rusc:g" \
102 -i Jambase || die
103
104 tc-export CC RANLIB
105
106 jam -dx -fJambase "-j$(makeopts_jobs)" || die
107 }
108
109 src_install() {
110 jam -dx -fJambase install || die
111
112 rm bin/License.txt || die
113
114 pushd bin > /dev/null
115 local binname
116 for binname in * ; do
117 newbin ${binname} argyll-${binname}
118 done
119 popd > /dev/null
120
121 use doc && dohtml doc/*
122
123 dodoc log.txt Readme.txt ttbd.txt notes.txt
124
125 insinto /usr/share/${PN}
126 doins -r ref
127
128 udev_dorules usb/55-Argyll.rules
129 }
130
131 pkg_postinst() {
132 elog "If you have a Spyder2 you need to extract the firmware"
133 elog "from the CVSpyder.dll of the windows driver package"
134 elog "and store it as /usr/share/color/spyd2PLD.bin"
135 echo
136 elog "For further info on setting up instrument access read"
137 elog "http://www.argyllcms.com/doc/Installing_Linux.html"
138 echo
139 }