1 |
aballier 10/09/29 18:01:20 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lablgtk-2.14.2.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.2_rc88/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.84 dev-ml/lablgtk/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/lablgtk/ChangeLog?rev=1.84&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/lablgtk/ChangeLog?rev=1.84&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/lablgtk/ChangeLog?r1=1.83&r2=1.84 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/ChangeLog,v |
20 |
retrieving revision 1.83 |
21 |
retrieving revision 1.84 |
22 |
diff -u -r1.83 -r1.84 |
23 |
--- ChangeLog 3 Aug 2010 20:38:28 -0000 1.83 |
24 |
+++ ChangeLog 29 Sep 2010 18:01:19 -0000 1.84 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-ml/lablgtk |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/ChangeLog,v 1.83 2010/08/03 20:38:28 aballier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/ChangeLog,v 1.84 2010/09/29 18:01:19 aballier Exp $ |
30 |
+ |
31 |
+*lablgtk-2.14.2 (29 Sep 2010) |
32 |
+ |
33 |
+ 29 Sep 2010; Alexis Ballier <aballier@g.o> +lablgtk-2.14.2.ebuild: |
34 |
+ version bump |
35 |
|
36 |
03 Aug 2010; Alexis Ballier <aballier@g.o> lablgtk-2.14.1.ebuild, |
37 |
+files/lablgtk-2.14.1-ocaml312.patch: |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-ml/lablgtk/lablgtk-2.14.2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/lablgtk/lablgtk-2.14.2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/lablgtk/lablgtk-2.14.2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: lablgtk-2.14.2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/lablgtk-2.14.2.ebuild,v 1.1 2010/09/29 18:01:20 aballier Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit multilib |
55 |
|
56 |
IUSE="debug examples glade gnome gnomecanvas sourceview +ocamlopt opengl spell svg" |
57 |
|
58 |
DESCRIPTION="Objective CAML interface for Gtk+2" |
59 |
HOMEPAGE="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html" |
60 |
SRC_URI="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/${P}.tar.gz" |
61 |
LICENSE="LGPL-2.1 as-is" |
62 |
|
63 |
RDEPEND=">=x11-libs/gtk+-2.10 |
64 |
>=dev-lang/ocaml-3.10[ocamlopt?] |
65 |
svg? ( >=gnome-base/librsvg-2.2 ) |
66 |
glade? ( >=gnome-base/libglade-2.0.1 ) |
67 |
gnomecanvas? ( >=gnome-base/libgnomecanvas-2.2 ) |
68 |
gnome? ( >=gnome-base/gnome-panel-2.4.0 |
69 |
>=gnome-base/libgnomeui-2.4.0 ) |
70 |
opengl? ( >=dev-ml/lablgl-0.98 |
71 |
>=x11-libs/gtkglarea-1.9 ) |
72 |
spell? ( app-text/gtkspell ) |
73 |
sourceview? ( x11-libs/gtksourceview:2.0 ) |
74 |
" |
75 |
DEPEND="${RDEPEND} |
76 |
dev-util/pkgconfig" |
77 |
|
78 |
SLOT="2" |
79 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd ~x86-linux" |
80 |
|
81 |
src_configure() { |
82 |
econf $(use_enable debug) \ |
83 |
$(use_with svg rsvg) \ |
84 |
$(use_with glade) \ |
85 |
$(use_with gnome gnomeui) \ |
86 |
$(use_with gnome panel) \ |
87 |
$(use_with opengl gl) \ |
88 |
$(use_with spell gtkspell) \ |
89 |
--without-gtksourceview \ |
90 |
$(use_with sourceview gtksourceview2) \ |
91 |
$(use_with gnomecanvas) |
92 |
} |
93 |
|
94 |
src_compile() { |
95 |
emake -j1 all || die "make failed" |
96 |
if use ocamlopt; then |
97 |
emake -j1 opt || die "Compiling native code failed" |
98 |
fi |
99 |
} |
100 |
|
101 |
install_examples() { |
102 |
insinto /usr/share/doc/${P}/examples |
103 |
doins examples/*.ml examples/*.rgb examples/*.png examples/*.xpm |
104 |
|
105 |
# Install examples for optional components |
106 |
use gnomecanvas && insinto /usr/share/doc/${P}/examples/canvas && doins examples/canvas/*.ml examples/canvas/*.png |
107 |
use svg && insinto /usr/share/doc/${P}/examples/rsvg && doins examples/rsvg/*.ml examples/rsvg/*.svg |
108 |
use glade && insinto /usr/share/doc/${P}/examples/glade && doins examples/glade/*.ml examples/glade/*.glade* |
109 |
use sourceview && insinto /usr/share/doc/${P}/examples/sourceview && doins examples/sourceview/*.ml examples/sourceview/*.lang |
110 |
use opengl && insinto /usr/share/doc/${P}/examples/GL && doins examples/GL/*.ml |
111 |
use gnome && insinto /usr/share/doc/${P}/examples/panel && doins examples/panel/* |
112 |
} |
113 |
|
114 |
src_install () { |
115 |
emake install DESTDIR="${D}" || die |
116 |
|
117 |
# ocamlfind support |
118 |
insinto /usr/$(get_libdir)/ocaml/lablgtk2 |
119 |
doins META |
120 |
|
121 |
dodoc CHANGES README CHANGES.API |
122 |
use examples && install_examples |
123 |
} |
124 |
|
125 |
pkg_postinst () { |
126 |
use examples && elog "To run the examples you can use the lablgtk2 toplevel." |
127 |
use examples && elog "e.g: lablgtk2 /usr/share/doc/${P}/examples/testgtk.ml" |
128 |
} |