From 374561aeaff53ce5a2836af934749923b4ea3763 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 20 Jan 2023 23:41:21 +0000 Subject: gentoo auto-resync : 20:01:2023 - 23:41:20 --- dev-ml/lablgtk/Manifest | 2 + dev-ml/lablgtk/lablgtk-2.18.13.ebuild | 79 +++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 dev-ml/lablgtk/lablgtk-2.18.13.ebuild (limited to 'dev-ml/lablgtk') diff --git a/dev-ml/lablgtk/Manifest b/dev-ml/lablgtk/Manifest index 83e69e93cbe6..87a7b4e52ded 100644 --- a/dev-ml/lablgtk/Manifest +++ b/dev-ml/lablgtk/Manifest @@ -3,10 +3,12 @@ AUX lablgtk-2.18.12-Makefile.patch 556 BLAKE2B 180c2c3d62c4be521be9afbc1ff6ca924 AUX lablgtk-2.18.12-cflags.patch 2105 BLAKE2B 5e72efba3b484142070aa38ea487eb8fe82018f7f8f2420a08d0acff25450c11184aa121df67447b79b4ac1146999535f34f5f794465a9cfac5f75bf8275db0e SHA512 684a905979372e18f63b68bcc418a8e8401c51931cca45440531ea58eaad583923fd37fb167709c8394f967f4987161d88ea00714f8406048269ac59c51313e8 DIST lablgtk-2.18.10.tar.gz 1068504 BLAKE2B 8f82cd8b31c136420bfbbeaf78ec2d7913b7c5fc16abd485c508f8de3ab587173b0b5c798cdbe851254b48754929c1f0063cfc9e3c5e0663b7cdebc380ec0e8a SHA512 73705aaa80db433d11a28df5f6f5d10bd282e477e90916152a87e71865ccfcd7dfbdbe77350ecadf61ba2ccc7a188de1c68f1e6385e20c75f167969001e8418d DIST lablgtk-2.18.12.tar.gz 1066997 BLAKE2B fcdc74ae444af509b2c95929ac8df556aeea21187a95433a9c67ac3d7a515054d53c4955ea2e908297065fd005099fb5df45d52311cf015f63a72780c11cccb8 SHA512 284a1234ae817c4df49809d28c103ca5e64046da5ec9ff28c6edc0ce999e9d3e6e180dd053f8b1663d4fb3b7ba19570d53b9441c8fa622add924e8d85e41b813 +DIST lablgtk-2.18.13.tar.gz 1073083 BLAKE2B d3be54b0194e8b67b66eee9663d121e9007f6eb1d04cf322f83dfc5ddd5c3a27ad6f19204429ea5941d9cfe97ac9583af41ae713de5552b5d11245e4216ad5c1 SHA512 41deafbf8bbb9d15950d74a053e21c65aa0d2d4044a41d048f197e744a82ebbe159d43f67092fa19a8385bf0f7da0250ef2f0a532a0810e88f695d6f1fef4c48 DIST lablgtk-3.1.2.tar.gz 1042626 BLAKE2B 355ff285248129a063c041d3e64db33424ddbb71774128d7be980b8bd0b54cfa54b9d50b1c2f8527b8f6563836189ad72d30e4421b22d5938b888e61ada55056 SHA512 c63a492160f36685f65cb6bc0e72ff4939005acb2c65c56c0d9ba8f2112a618f24db84765e7b4416e49024048a36895028cfc5ef2c3e298dd4a309e902e34af5 DIST lablgtk3-3.1.1.tbz 854720 BLAKE2B e6a916151fe1ca0746c14c2a66cd178f3b0c051976815a1d13daf801002f16bc76d9f4cb15625353f0cfbdc16b0a218857d72c4e57125050bbcffe67f7096ad0 SHA512 193c340d9941680869eb90bc89f5b27cc5bdf294f4635081a9ba56a99fa2982266c4ee2eb5fd04d3a3f6150082800de5df786def8c72a276a779d843d914e9e3 EBUILD lablgtk-2.18.10.ebuild 1978 BLAKE2B aec065ed8ba21ec22d432caec6f0ca68725db83b5e782cfd9b3ddd5431f921b78bcd609a962da757f6d65edeffe6e6bce678c60695b251e0847738e9b8551885 SHA512 5d6cc91fe21dba2209a83310089630d806e5a1ea02ae27af5d799766f1a1a2f8616f586a43f8a4e620394ea9bcfae90a453544c5e0bf13c687a0de0777528ef1 EBUILD lablgtk-2.18.12.ebuild 2018 BLAKE2B 4a0ee690913b71cff0d29d80cd46df537621e8fbe54e8e94c7ea21d24022b517d19fdf66aafdd940012c98a3ca0758f9567bc005280cef7403cc8bc410cac412 SHA512 00ef3a100afc730e3d912d9d26c95580cf1e29da0a5ec670e315bd78df036270eb71141114074c51e8c65c739bb2376fbda26661669e5553aea4962b49e4a889 +EBUILD lablgtk-2.18.13.ebuild 2036 BLAKE2B 64e1cf55e5b74f3a02f55154a4eb897b9b61227504fb378ece65eb0bdceda2beae1b3a5a3fdd770f3eed0c0ef4121a9d275476c0f53bbae79fa025bfbcd02f4f SHA512 65b1e4c5953bee6f83b64c3f93095ae80e458dc7936272b00c9562488e07f89dc6ce4a43c96da45e75e7e1bdb2295e3c833685f367b7b1b9d2246c926a5a2f64 EBUILD lablgtk-3.1.1.ebuild 703 BLAKE2B 63b744a767e6f1f238434a5e8457c0c01066992d4ced47b839e623b3a9535a15e3285b466a5477a01a17d10a4a0abb135b2d40e202288f89944029c3881e9719 SHA512 cfb13c7b8a4661174c84f6f5966b56bd6ff3c11e18b28149922329d9f8c9eb5ae4d8cc0811bfdf8f53f04b8f66f54118f457d53852bffa755c89e3ffe0612cb0 EBUILD lablgtk-3.1.2.ebuild 809 BLAKE2B 240985d82a7da9d69c117e6d5c61d3d3e8538bc9de5684d267f5d5983bdac0a335b13e8ff66314ab38dcd94204c93175a9b2f887ac35afa1c8a96f3e8c33e32e SHA512 376d0c3f2026f8b434fd1bf2f2854df478149398680988dcc97ac859702567647ae3769db823f54eeb130de425f2add64cc29255d303460406e8807fea3c762a MISC metadata.xml 803 BLAKE2B 81dcea96c0622e8106473008e25574b819b522ea91f322cae81c9d9c32e1ff02759b1c0fce40d2567662abc1b373c4ea3792a4a4cc11ed346e257af840399e11 SHA512 5e6bd8af52147eb9697759509bbfff9fef9d9afc09ed924814d85903ca750122ce14723f449b4e08cd1d7f0dd2b0e75d3823164b0e7552e4d8334a7dadfc7f0d diff --git a/dev-ml/lablgtk/lablgtk-2.18.13.ebuild b/dev-ml/lablgtk/lablgtk-2.18.13.ebuild new file mode 100644 index 000000000000..07846bc44b8d --- /dev/null +++ b/dev-ml/lablgtk/lablgtk-2.18.13.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Objective CAML interface for Gtk+2" +HOMEPAGE="http://lablgtk.forge.ocamlcore.org" +SRC_URI="https://github.com/garrigue/lablgtk/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1-with-linking-exception examples? ( lablgtk-examples )" +SLOT="2/${PV}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="debug examples glade gnomecanvas +ocamlopt sourceview spell svg" + +DEPEND=">=dev-lang/ocaml-4.05:=[ocamlopt?] + dev-ml/camlp4:= + x11-libs/gtk+:2 + glade? ( gnome-base/libglade ) + gnomecanvas? ( gnome-base/libgnomecanvas ) + sourceview? ( x11-libs/gtksourceview:2.0 ) + spell? ( app-text/gtkspell:2 ) + svg? ( gnome-base/librsvg:2 )" +RDEPEND="${DEPEND}" +BDEPEND="dev-ml/findlib + virtual/pkgconfig" + +DOCS=( CHANGES README CHANGES.API ) + +PATCHES=( + "${FILESDIR}"/${PN}-2.18.12-cflags.patch + "${FILESDIR}"/${PN}-2.18.12-Makefile.patch +) + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_with svg rsvg) + $(use_with glade) + --without-gnomeui + --without-panel + # relies on EOL gtkglarea + --without-gl + $(use_with spell gtkspell) + --without-gtksourceview + $(use_with sourceview gtksourceview2) + $(use_with gnomecanvas) + ) + + econf "${myeconfargs[@]}" +} + +src_compile() { + # parallel build crashes + emake -j1 all CFLAGS="${CFLAGS}" + if use ocamlopt; then + emake -j1 opt CFLAGS="${CFLAGS}" + fi +} + +src_install() { + local destdir="$(ocamlfind printconf destdir || die)" + dodir "${destdir}/stublibs" + export OCAMLFIND_DESTDIR=${ED}"${destdir}" + export OCAMLPATH="${ED}${destdir}" + export OCAMLFIND_LDCONF=ignore + + default + rm "${ED}/usr/$(get_libdir)/ocaml/ld.conf" || die + dosym lablgtk2/liblablgtk2.a \ + /usr/$(get_libdir)/ocaml/liblablgtk2.a + use sourceview && \ + dosym lablgtk2/liblablgtksourceview2.a \ + /usr/$(get_libdir)/ocaml/liblablgtksourceview2.a + + if use examples; then + dodoc -r examples/ + docompress -x /usr/share/doc/${PF}/examples + fi +} -- cgit v1.2.3