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/lablgtk: ChangeLog lablgtk-2.18.3.ebuild
Date: Thu, 30 Oct 2014 11:02:37
Message-Id: 20141030110227.E8C5A9106@oystercatcher.gentoo.org
1 aballier 14/10/30 11:02:27
2
3 Modified: ChangeLog
4 Added: lablgtk-2.18.3.ebuild
5 Log:
6 version bump
7
8 Signed-off-by: aballier@g.o
9 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
10
11 Revision Changes Path
12 1.119 dev-ml/lablgtk/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/lablgtk/ChangeLog?rev=1.119&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/lablgtk/ChangeLog?rev=1.119&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/lablgtk/ChangeLog?r1=1.118&r2=1.119
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/ChangeLog,v
21 retrieving revision 1.118
22 retrieving revision 1.119
23 diff -u -r1.118 -r1.119
24 --- ChangeLog 28 Oct 2014 07:38:53 -0000 1.118
25 +++ ChangeLog 30 Oct 2014 11:02:27 -0000 1.119
26 @@ -1,6 +1,11 @@
27 # ChangeLog for dev-ml/lablgtk
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/ChangeLog,v 1.118 2014/10/28 07:38:53 aballier Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/ChangeLog,v 1.119 2014/10/30 11:02:27 aballier Exp $
31 +
32 +*lablgtk-2.18.3 (30 Oct 2014)
33 +
34 + 30 Oct 2014; Alexis Ballier <aballier@g.o> +lablgtk-2.18.3.ebuild:
35 + version bump
36
37 28 Oct 2014; Alexis Ballier <aballier@g.o> -lablgtk-2.16.0.ebuild,
38 -lablgtk-2.18.0.ebuild:
39
40
41
42 1.1 dev-ml/lablgtk/lablgtk-2.18.3.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/lablgtk/lablgtk-2.18.3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/lablgtk/lablgtk-2.18.3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: lablgtk-2.18.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/dev-ml/lablgtk/lablgtk-2.18.3.ebuild,v 1.1 2014/10/30 11:02:27 aballier Exp $
52
53 EAPI=5
54
55 inherit multilib findlib
56
57 IUSE="debug examples glade gnomecanvas sourceview +ocamlopt opengl spell svg"
58
59 DESCRIPTION="Objective CAML interface for Gtk+2"
60 HOMEPAGE="http://lablgtk.forge.ocamlcore.org/"
61 SRC_URI="https://forge.ocamlcore.org/frs/download.php/1479/${P}.tar.gz"
62 LICENSE="LGPL-2.1-with-linking-exception examples? ( lablgtk-examples )"
63
64 RDEPEND=">=x11-libs/gtk+-2.10:2
65 >=dev-lang/ocaml-3.10:=[ocamlopt?]
66 svg? ( >=gnome-base/librsvg-2.2:2 )
67 glade? ( >=gnome-base/libglade-2.0.1 )
68 gnomecanvas? ( >=gnome-base/libgnomecanvas-2.2 )
69 opengl? ( >=dev-ml/lablgl-0.98:=
70 >=x11-libs/gtkglarea-1.9:2 )
71 spell? ( app-text/gtkspell:2 )
72 sourceview? ( x11-libs/gtksourceview:2.0 )
73 "
74 DEPEND="${RDEPEND}
75 virtual/pkgconfig"
76
77 SLOT="2/${PV}"
78 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
79
80 src_configure() {
81 econf $(use_enable debug) \
82 $(use_with svg rsvg) \
83 $(use_with glade) \
84 --without-gnomeui \
85 --without-panel \
86 $(use_with opengl gl) \
87 $(use_with spell gtkspell) \
88 --without-gtksourceview \
89 $(use_with sourceview gtksourceview2) \
90 $(use_with gnomecanvas)
91 }
92
93 src_compile() {
94 emake -j1 all
95 if use ocamlopt; then
96 emake -j1 opt
97 fi
98 }
99
100 install_examples() {
101 insinto /usr/share/doc/${P}/examples
102 doins examples/*.ml examples/*.rgb examples/*.png examples/*.xpm
103
104 # Install examples for optional components
105 use gnomecanvas && insinto /usr/share/doc/${PF}/examples/canvas && doins examples/canvas/*.ml examples/canvas/*.png
106 use svg && insinto /usr/share/doc/${PF}/examples/rsvg && doins examples/rsvg/*.ml examples/rsvg/*.svg
107 use glade && insinto /usr/share/doc/${PF}/examples/glade && doins examples/glade/*.ml examples/glade/*.glade*
108 use sourceview && insinto /usr/share/doc/${PF}/examples/sourceview && doins examples/sourceview/*.ml examples/sourceview/*.lang
109 use opengl && insinto /usr/share/doc/${PF}/examples/GL && doins examples/GL/*.ml
110
111 docompress -x /usr/share/doc/${PF}/examples
112 }
113
114 src_install () {
115 findlib_src_preinst
116 export OCAMLPATH="${OCAMLFIND_DESTDIR}"
117 emake install DESTDIR="${D}"
118
119 rm -f "${ED}/usr/$(get_libdir)/ocaml/ld.conf"
120
121 dodoc CHANGES README CHANGES.API
122 use examples && install_examples
123 }
124
125 pkg_postinst () {
126 if use examples; then
127 elog "To run the examples you can use the lablgtk2 toplevel."
128 elog "e.g: lablgtk2 /usr/share/doc/${PF}/examples/testgtk.ml"
129 fi
130 }