Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ml/camlimages: camlimages-4.2.1.ebuild ChangeLog
Date: Sun, 28 Jun 2015 14:13:33
Message-Id: 20150628141322.B1AE673A@oystercatcher.gentoo.org
1 aballier 15/06/28 14:13:22
2
3 Modified: ChangeLog
4 Added: camlimages-4.2.1.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
9
10 Revision Changes Path
11 1.39 dev-ml/camlimages/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlimages/ChangeLog?rev=1.39&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlimages/ChangeLog?rev=1.39&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlimages/ChangeLog?r1=1.38&r2=1.39
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ml/camlimages/ChangeLog,v
20 retrieving revision 1.38
21 retrieving revision 1.39
22 diff -u -r1.38 -r1.39
23 --- ChangeLog 23 Oct 2014 10:57:44 -0000 1.38
24 +++ ChangeLog 28 Jun 2015 14:13:22 -0000 1.39
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ml/camlimages
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlimages/ChangeLog,v 1.38 2014/10/23 10:57:44 aballier Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlimages/ChangeLog,v 1.39 2015/06/28 14:13:22 aballier Exp $
31 +
32 +*camlimages-4.2.1 (28 Jun 2015)
33 +
34 + 28 Jun 2015; Alexis Ballier <aballier@g.o> +camlimages-4.2.1.ebuild:
35 + version bump
36
37 *camlimages-4.1.2 (23 Oct 2014)
38
39
40
41
42 1.1 dev-ml/camlimages/camlimages-4.2.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlimages/camlimages-4.2.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/camlimages/camlimages-4.2.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: camlimages-4.2.1.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-ml/camlimages/camlimages-4.2.1.ebuild,v 1.1 2015/06/28 14:13:22 aballier Exp $
52
53 EAPI=5
54
55 inherit eutils vcs-snapshot findlib multilib
56
57 DESCRIPTION="An image manipulation library for ocaml"
58 HOMEPAGE="http://gallium.inria.fr/camlimages/"
59 SRC_URI="http://bitbucket.org/camlspotter/camlimages/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
60
61 LICENSE="LGPL-2.1"
62 SLOT="0/${PV}"
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE="doc exif gif gtk jpeg png postscript tiff truetype X xpm"
65
66 RDEPEND=">=dev-lang/ocaml-3.10.2:=[X?,ocamlopt]
67 exif? ( media-libs/libexif )
68 gif? ( media-libs/giflib )
69 gtk? ( dev-ml/lablgtk )
70 jpeg? ( virtual/jpeg )
71 tiff? ( media-libs/tiff )
72 png? ( >=media-libs/libpng-1.4:0 )
73 postscript? ( app-text/ghostscript-gpl )
74 truetype? ( >=media-libs/freetype-2 )
75 xpm? ( x11-libs/libXpm )
76 X? ( x11-apps/rgb )
77 sys-libs/zlib
78 "
79 DEPEND="${DEPEND}
80 doc? ( dev-python/sphinx[latex] )
81 dev-util/omake
82 virtual/pkgconfig
83 dev-ml/findlib"
84
85 camlimages_arg_want() {
86 echo "ARG_WANT_${2}=$(usex $1 1 0)"
87 }
88
89 src_compile() {
90 omake \
91 $(camlimages_arg_want exif EXIF ) \
92 $(camlimages_arg_want gif GIF ) \
93 $(camlimages_arg_want png PNG ) \
94 $(camlimages_arg_want jpeg JPEG ) \
95 $(camlimages_arg_want tiff TIFF ) \
96 $(camlimages_arg_want xpm XPM ) \
97 $(camlimages_arg_want postscript GS ) \
98 $(camlimages_arg_want gtk LABLGTK2) \
99 $(camlimages_arg_want X GRAPHICS) \
100 $(camlimages_arg_want truetype FREETYPE) \
101 PATH_GS=/bin/true \
102 --force-dotomake || die
103
104 if use doc ; then
105 sphinx-build doc/sphinx sphinxdoc || die
106 fi
107 }
108
109 src_install() {
110 findlib_src_preinst
111 omake --force-dotomake DESTDIR="${D}" install || die
112 dodoc README.rst
113 use doc && dohtml -r sphinxdoc/*
114 }