1 |
commit: 2aee2758ca2584650025456be614295c61cc95c5 |
2 |
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 17 20:24:21 2020 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 17 20:24:21 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aee2758 |
7 |
|
8 |
dev-ml/lablgtk: version bump to 2.18.10 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
12 |
|
13 |
dev-ml/lablgtk/Manifest | 1 + |
14 |
dev-ml/lablgtk/lablgtk-2.18.10.ebuild | 76 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 77 insertions(+) |
16 |
|
17 |
diff --git a/dev-ml/lablgtk/Manifest b/dev-ml/lablgtk/Manifest |
18 |
index 296113f5b17..614b3963cf3 100644 |
19 |
--- a/dev-ml/lablgtk/Manifest |
20 |
+++ b/dev-ml/lablgtk/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
+DIST lablgtk-2.18.10.tar.gz 1068504 BLAKE2B 8f82cd8b31c136420bfbbeaf78ec2d7913b7c5fc16abd485c508f8de3ab587173b0b5c798cdbe851254b48754929c1f0063cfc9e3c5e0663b7cdebc380ec0e8a SHA512 73705aaa80db433d11a28df5f6f5d10bd282e477e90916152a87e71865ccfcd7dfbdbe77350ecadf61ba2ccc7a188de1c68f1e6385e20c75f167969001e8418d |
23 |
DIST lablgtk-2.18.5.tar.gz 808005 BLAKE2B 279fd9f018948438b616a12ab60fca3019330504a79d8b76c58fa0a99a7b36df9bf78f57f0e60c4eea6f0bad60f94c06b26490518ec25a5a72c342e4b7c42501 SHA512 7b6ba1a4dfa82cc3bbc502082ff4fccc23cc06ee4f30d01a2e423f3f99e945a4befe450d230b5aa19c5b810e9f46f2838655099d49da2db7c8a2e52eac213024 |
24 |
DIST lablgtk-2.18.8.tar.gz 855263 BLAKE2B 92aeadcfac666756e50ea573c7a2119cc13eab5c2f2e033fcdf92d5c33d597d64bf2e860ff181d958b4d8e9a3d4002b3eaabbd1da7580444fee91dafaba26289 SHA512 1510b8886dd55b82fbc96f333d84779f51a4794d13b0934569d13b1975ded9ec684855b9856f636fb302fd8ff2f118d0d5f3ffb2b8086d22cdad442e963868ae |
25 |
|
26 |
diff --git a/dev-ml/lablgtk/lablgtk-2.18.10.ebuild b/dev-ml/lablgtk/lablgtk-2.18.10.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..19f3fac81a8 |
29 |
--- /dev/null |
30 |
+++ b/dev-ml/lablgtk/lablgtk-2.18.10.ebuild |
31 |
@@ -0,0 +1,76 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+DESCRIPTION="Objective CAML interface for Gtk+2" |
38 |
+HOMEPAGE="http://lablgtk.forge.ocamlcore.org" |
39 |
+SRC_URI="https://github.com/garrigue/lablgtk/archive/${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="LGPL-2.1-with-linking-exception examples? ( lablgtk-examples )" |
42 |
+SLOT="2/${PV}" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
44 |
+IUSE="debug examples glade gnomecanvas +ocamlopt opengl sourceview spell svg" |
45 |
+ |
46 |
+DEPEND="dev-lang/ocaml:=[ocamlopt?] |
47 |
+ dev-ml/camlp4:= |
48 |
+ x11-libs/gtk+:2 |
49 |
+ glade? ( gnome-base/libglade ) |
50 |
+ gnomecanvas? ( gnome-base/libgnomecanvas ) |
51 |
+ opengl? ( |
52 |
+ dev-ml/lablgl:= |
53 |
+ x11-libs/gtkglarea:2 |
54 |
+ ) |
55 |
+ sourceview? ( x11-libs/gtksourceview:2.0 ) |
56 |
+ spell? ( app-text/gtkspell:2 ) |
57 |
+ svg? ( gnome-base/librsvg:2 )" |
58 |
+RDEPEND="${DEPEND}" |
59 |
+BDEPEND="dev-ml/findlib |
60 |
+ virtual/pkgconfig" |
61 |
+ |
62 |
+DOCS=( CHANGES README CHANGES.API ) |
63 |
+ |
64 |
+src_configure() { |
65 |
+ local myeconfargs=( |
66 |
+ $(use_enable debug) |
67 |
+ $(use_with svg rsvg) |
68 |
+ $(use_with glade) |
69 |
+ --without-gnomeui |
70 |
+ --without-panel |
71 |
+ $(use_with opengl gl) |
72 |
+ $(use_with spell gtkspell) |
73 |
+ --without-gtksourceview |
74 |
+ $(use_with sourceview gtksourceview2) |
75 |
+ $(use_with gnomecanvas) |
76 |
+ ) |
77 |
+ |
78 |
+ econf "${myeconfargs[@]}" |
79 |
+} |
80 |
+ |
81 |
+src_compile() { |
82 |
+ # parallel build crashes |
83 |
+ emake -j1 all |
84 |
+ if use ocamlopt; then |
85 |
+ emake -j1 opt |
86 |
+ fi |
87 |
+} |
88 |
+ |
89 |
+src_install () { |
90 |
+ local destdir="$(ocamlfind printconf destdir || die)" |
91 |
+ dodir "${destdir}/stublibs" |
92 |
+ export OCAMLFIND_DESTDIR=${ED}"${destdir}" |
93 |
+ export OCAMLPATH="${ED}${destdir}" |
94 |
+ export OCAMLFIND_LDCONF=ignore |
95 |
+ |
96 |
+ default |
97 |
+ rm "${ED}/usr/$(get_libdir)/ocaml/ld.conf" || die |
98 |
+ dosym lablgtk2/liblablgtk2.a \ |
99 |
+ /usr/$(get_libdir)/ocaml/liblablgtk2.a |
100 |
+ dosym lablgtk2/liblablgtksourceview2.a \ |
101 |
+ /usr/$(get_libdir)/ocaml/liblablgtksourceview2.a |
102 |
+ |
103 |
+ if use examples; then |
104 |
+ dodoc -r examples/ |
105 |
+ docompress -x /usr/share/doc/${PF}/examples |
106 |
+ fi |
107 |
+} |