From: "Alexis Ballier" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/lablgtk/
Date: Sat, 4 Nov 2017 09:53:33 +0000 (UTC) [thread overview]
Message-ID: <1509788228.743e8ea3260770eb8fe351e722fe21b2c17a2e4e.aballier@gentoo> (raw)
commit: 743e8ea3260770eb8fe351e722fe21b2c17a2e4e
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 31 12:56:25 2017 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Sat Nov 4 09:37:08 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=743e8ea3
dev-ml/lablgtk: bump to 2.18.6
Package-Manager: Portage-2.3.13, Repoman-2.3.4
dev-ml/lablgtk/Manifest | 1 +
dev-ml/lablgtk/lablgtk-2.18.6.ebuild | 82 ++++++++++++++++++++++++++++++++++++
2 files changed, 83 insertions(+)
diff --git a/dev-ml/lablgtk/Manifest b/dev-ml/lablgtk/Manifest
index 4bdb122b6f3..e80db666fe0 100644
--- a/dev-ml/lablgtk/Manifest
+++ b/dev-ml/lablgtk/Manifest
@@ -1 +1,2 @@
DIST lablgtk-2.18.5.tar.gz 808005 SHA256 2bf251db21c077fdd26c035ea03edd8fe609187f908e520e87a8ffdd9c36d233 SHA512 7b6ba1a4dfa82cc3bbc502082ff4fccc23cc06ee4f30d01a2e423f3f99e945a4befe450d230b5aa19c5b810e9f46f2838655099d49da2db7c8a2e52eac213024 WHIRLPOOL 009e1fd2a048f6833ac1d745b5fee5d618b9729fa8c73d29f7bd67b6bd5f8a9b81c361ceb69626afe6a3a09b84b98ccbf0a19e9add0329a50a8ebfbcfdaf7b85
+DIST lablgtk-2.18.6.tar.gz 804837 SHA256 4ddca243066418e2a88ac49ebf2d846fac4b667b1b1753efadd078ae777368f8 SHA512 0d30da0e4a93b1693ac6d63161d40c8cd6d9337e105a65f3cc01b013ce7ca04aa5e1a013527cb0728a9b7b7af20d0f4c8b0cc7f9102e553dff3cf8bc83a14e5e WHIRLPOOL 6888d91be3cf3cd6818bb7f01323375f870e505a306699df3a34e7273e9acae05f281af90ffbb58c09a8d5f98fce7e149a34c5a3a145ffe0f535db42a3860ef0
diff --git a/dev-ml/lablgtk/lablgtk-2.18.6.ebuild b/dev-ml/lablgtk/lablgtk-2.18.6.ebuild
new file mode 100644
index 00000000000..41df3e2388c
--- /dev/null
+++ b/dev-ml/lablgtk/lablgtk-2.18.6.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit multilib findlib
+
+IUSE="debug examples glade gnomecanvas sourceview +ocamlopt opengl spell svg"
+
+DESCRIPTION="Objective CAML interface for Gtk+2"
+HOMEPAGE="http://lablgtk.forge.ocamlcore.org/"
+SRC_URI="https://forge.ocamlcore.org/frs/download.php/1726/${P}.tar.gz"
+LICENSE="LGPL-2.1-with-linking-exception examples? ( lablgtk-examples )"
+
+RDEPEND=">=x11-libs/gtk+-2.10:2
+ >=dev-lang/ocaml-4.06:=[ocamlopt?]
+ svg? ( >=gnome-base/librsvg-2.2:2 )
+ glade? ( >=gnome-base/libglade-2.0.1 )
+ gnomecanvas? ( >=gnome-base/libgnomecanvas-2.2 )
+ opengl? ( >=dev-ml/lablgl-0.98:=
+ >=x11-libs/gtkglarea-1.9:2 )
+ spell? ( app-text/gtkspell:2 )
+ sourceview? ( x11-libs/gtksourceview:2.0 )
+ dev-ml/camlp4:=
+ "
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+SLOT="2/${PV}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+
+src_configure() {
+ econf $(use_enable debug) \
+ $(use_with svg rsvg) \
+ $(use_with glade) \
+ --without-gnomeui \
+ --without-panel \
+ $(use_with opengl gl) \
+ $(use_with spell gtkspell) \
+ --without-gtksourceview \
+ $(use_with sourceview gtksourceview2) \
+ $(use_with gnomecanvas)
+}
+
+src_compile() {
+ emake -j1 all
+ if use ocamlopt; then
+ emake -j1 opt
+ fi
+}
+
+install_examples() {
+ insinto /usr/share/doc/${P}/examples
+ doins examples/*.ml examples/*.rgb examples/*.png examples/*.xpm
+
+ # Install examples for optional components
+ use gnomecanvas && insinto /usr/share/doc/${PF}/examples/canvas && doins examples/canvas/*.ml examples/canvas/*.png
+ use svg && insinto /usr/share/doc/${PF}/examples/rsvg && doins examples/rsvg/*.ml examples/rsvg/*.svg
+ use glade && insinto /usr/share/doc/${PF}/examples/glade && doins examples/glade/*.ml examples/glade/*.glade*
+ use sourceview && insinto /usr/share/doc/${PF}/examples/sourceview && doins examples/sourceview/*.ml examples/sourceview/*.lang
+ use opengl && insinto /usr/share/doc/${PF}/examples/GL && doins examples/GL/*.ml
+
+ docompress -x /usr/share/doc/${PF}/examples
+}
+
+src_install () {
+ findlib_src_preinst
+ export OCAMLPATH="${OCAMLFIND_DESTDIR}"
+ emake install DESTDIR="${D}"
+
+ rm -f "${ED}/usr/$(get_libdir)/ocaml/ld.conf"
+
+ dodoc CHANGES README CHANGES.API
+ use examples && install_examples
+}
+
+pkg_postinst () {
+ if use examples; then
+ elog "To run the examples you can use the lablgtk2 toplevel."
+ elog "e.g: lablgtk2 /usr/share/doc/${PF}/examples/testgtk.ml"
+ fi
+}
next reply other threads:[~2017-11-04 9:53 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-04 9:53 Alexis Ballier [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-15 15:25 [gentoo-commits] repo/gentoo:master commit in: dev-ml/lablgtk/ Arthur Zamarin
2024-06-26 19:22 Alfredo Tupone
2024-06-26 8:31 Alfredo Tupone
2024-06-06 19:24 Alfredo Tupone
2023-04-09 13:08 Arthur Zamarin
2023-04-09 12:47 Arthur Zamarin
2023-04-09 12:41 Arthur Zamarin
2023-04-01 19:52 Sam James
2023-03-17 16:51 Arthur Zamarin
2023-03-17 10:03 Arthur Zamarin
2023-03-16 23:16 Sam James
2023-03-16 23:16 Sam James
2023-02-15 18:38 Matt Turner
2023-01-27 22:00 Alfredo Tupone
2023-01-20 20:12 Alfredo Tupone
2022-12-06 21:27 Alfredo Tupone
2022-12-06 9:25 Sam James
2022-12-05 13:28 Alfredo Tupone
2022-09-05 22:09 Maciej Barć
2021-03-14 0:48 Sam James
2021-02-21 10:17 Andreas Sturmlechner
2021-02-21 10:17 Andreas Sturmlechner
2021-02-19 21:13 Alfredo Tupone
2021-01-27 19:30 Alfredo Tupone
2021-01-14 6:42 Alfredo Tupone
2020-11-01 11:38 Sam James
2020-10-28 3:36 Sam James
2020-10-24 0:38 Sam James
2020-10-22 13:59 Sam James
2020-10-22 13:59 Sam James
2020-10-22 12:13 Sam James
2020-09-20 20:21 Agostino Sarubbo
2020-09-09 18:35 Alfredo Tupone
2020-09-07 8:47 Sergei Trofimovich
2020-06-21 20:31 Thomas Deutschmann
2020-03-23 17:41 Alfredo Tupone
2020-03-20 20:06 David Seifert
2020-02-17 20:26 Alfredo Tupone
2020-02-17 20:26 Alfredo Tupone
2020-01-31 13:05 Joonas Niilola
2020-01-31 13:05 Joonas Niilola
2020-01-07 21:01 Jason A. Donenfeld
2017-11-04 9:53 Alexis Ballier
2017-04-05 17:50 Markus Meier
2017-01-22 17:54 Alexis Ballier
2017-01-22 16:36 Tobias Klausmann
2017-01-14 17:57 Mikle Kolyada
2017-01-08 10:50 Aaron Bauman
2016-12-27 1:16 Aaron Bauman
2016-08-12 12:53 Alexis Ballier
2016-07-05 9:43 Tobias Klausmann
2016-06-29 21:14 Michał Górny
2016-06-24 9:57 Alexis Ballier
2016-04-30 14:18 Alexis Ballier
2016-04-30 14:18 Alexis Ballier
2016-01-11 9:07 Agostino Sarubbo
2016-01-09 6:43 Agostino Sarubbo
2015-12-07 11:40 Agostino Sarubbo
2015-12-03 13:28 Agostino Sarubbo
2015-11-25 8:54 Agostino Sarubbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1509788228.743e8ea3260770eb8fe351e722fe21b2c17a2e4e.aballier@gentoo \
--to=aballier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox