1 |
commit: 34e620e374274e28f7f24266f2b91a917c486756 |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 31 13:04:48 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 31 13:05:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34e620e3 |
7 |
|
8 |
dev-ml/lablgtk: remove old 2.18.8-r0 |
9 |
|
10 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
11 |
|
12 |
dev-ml/lablgtk/lablgtk-2.18.8.ebuild | 82 ------------------------------------ |
13 |
1 file changed, 82 deletions(-) |
14 |
|
15 |
diff --git a/dev-ml/lablgtk/lablgtk-2.18.8.ebuild b/dev-ml/lablgtk/lablgtk-2.18.8.ebuild |
16 |
deleted file mode 100644 |
17 |
index de5f38b12c6..00000000000 |
18 |
--- a/dev-ml/lablgtk/lablgtk-2.18.8.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,82 +0,0 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
- |
26 |
-inherit multilib findlib |
27 |
- |
28 |
-IUSE="debug examples glade gnomecanvas sourceview +ocamlopt opengl spell svg" |
29 |
- |
30 |
-DESCRIPTION="Objective CAML interface for Gtk+2" |
31 |
-HOMEPAGE="http://lablgtk.forge.ocamlcore.org/" |
32 |
-SRC_URI="https://github.com/garrigue/lablgtk/releases/download/lablgtk2188/${P}.tar.gz" |
33 |
-LICENSE="LGPL-2.1-with-linking-exception examples? ( lablgtk-examples )" |
34 |
- |
35 |
-RDEPEND=">=x11-libs/gtk+-2.10:2 |
36 |
- >=dev-lang/ocaml-3.10:=[ocamlopt?] |
37 |
- svg? ( >=gnome-base/librsvg-2.2:2 ) |
38 |
- glade? ( >=gnome-base/libglade-2.0.1 ) |
39 |
- gnomecanvas? ( >=gnome-base/libgnomecanvas-2.2 ) |
40 |
- opengl? ( >=dev-ml/lablgl-0.98:= |
41 |
- >=x11-libs/gtkglarea-1.9:2 ) |
42 |
- spell? ( app-text/gtkspell:2 ) |
43 |
- sourceview? ( x11-libs/gtksourceview:2.0 ) |
44 |
- dev-ml/camlp4:= |
45 |
- " |
46 |
-DEPEND="${RDEPEND} |
47 |
- virtual/pkgconfig" |
48 |
- |
49 |
-SLOT="2/${PV}" |
50 |
-KEYWORDS="~amd64 ~x86" |
51 |
- |
52 |
-src_configure() { |
53 |
- econf $(use_enable debug) \ |
54 |
- $(use_with svg rsvg) \ |
55 |
- $(use_with glade) \ |
56 |
- --without-gnomeui \ |
57 |
- --without-panel \ |
58 |
- $(use_with opengl gl) \ |
59 |
- $(use_with spell gtkspell) \ |
60 |
- --without-gtksourceview \ |
61 |
- $(use_with sourceview gtksourceview2) \ |
62 |
- $(use_with gnomecanvas) |
63 |
-} |
64 |
- |
65 |
-src_compile() { |
66 |
- emake -j1 all |
67 |
- if use ocamlopt; then |
68 |
- emake -j1 opt |
69 |
- fi |
70 |
-} |
71 |
- |
72 |
-install_examples() { |
73 |
- insinto /usr/share/doc/${P}/examples |
74 |
- doins examples/*.ml examples/*.rgb examples/*.png examples/*.xpm |
75 |
- |
76 |
- # Install examples for optional components |
77 |
- use gnomecanvas && insinto /usr/share/doc/${PF}/examples/canvas && doins examples/canvas/*.ml examples/canvas/*.png |
78 |
- use svg && insinto /usr/share/doc/${PF}/examples/rsvg && doins examples/rsvg/*.ml examples/rsvg/*.svg |
79 |
- use glade && insinto /usr/share/doc/${PF}/examples/glade && doins examples/glade/*.ml examples/glade/*.glade* |
80 |
- use sourceview && insinto /usr/share/doc/${PF}/examples/sourceview && doins examples/sourceview/*.ml examples/sourceview/*.lang |
81 |
- use opengl && insinto /usr/share/doc/${PF}/examples/GL && doins examples/GL/*.ml |
82 |
- |
83 |
- docompress -x /usr/share/doc/${PF}/examples |
84 |
-} |
85 |
- |
86 |
-src_install () { |
87 |
- findlib_src_preinst |
88 |
- export OCAMLPATH="${OCAMLFIND_DESTDIR}" |
89 |
- emake install DESTDIR="${D}" |
90 |
- |
91 |
- rm -f "${ED}/usr/$(get_libdir)/ocaml/ld.conf" |
92 |
- |
93 |
- dodoc CHANGES README CHANGES.API |
94 |
- use examples && install_examples |
95 |
-} |
96 |
- |
97 |
-pkg_postinst () { |
98 |
- if use examples; then |
99 |
- elog "To run the examples you can use the lablgtk2 toplevel." |
100 |
- elog "e.g: lablgtk2 /usr/share/doc/${PF}/examples/testgtk.ml" |
101 |
- fi |
102 |
-} |