From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C5D56138359 for ; Fri, 16 Oct 2020 10:34:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04EA3E082D; Fri, 16 Oct 2020 10:34:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DF559E082D for ; Fri, 16 Oct 2020 10:34:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BE9DD33D4A6 for ; Fri, 16 Oct 2020 10:34:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4A1772EE for ; Fri, 16 Oct 2020 10:33:59 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1602844265.935986c84e05ea12f7fead6a4cfaecbffeafe40a.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/labltk/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/labltk/Manifest dev-ml/labltk/labltk-8.06.9.ebuild X-VCS-Directories: dev-ml/labltk/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 935986c84e05ea12f7fead6a4cfaecbffeafe40a X-VCS-Branch: master Date: Fri, 16 Oct 2020 10:33:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e3861f80-72a4-4bfc-8f8c-f31a4ff24e9e X-Archives-Hash: 9b0606f3559667f7e143ea0c41cedf9e commit: 935986c84e05ea12f7fead6a4cfaecbffeafe40a Author: Miroslav Šulc gentoo org> AuthorDate: Fri Oct 16 10:31:05 2020 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Fri Oct 16 10:31:05 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=935986c8 dev-ml/labltk: bump to 8.06.9 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Miroslav Šulc gentoo.org> dev-ml/labltk/Manifest | 1 + dev-ml/labltk/labltk-8.06.9.ebuild | 44 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-ml/labltk/Manifest b/dev-ml/labltk/Manifest index 221f5d2bf6b..da891e7c3cf 100644 --- a/dev-ml/labltk/Manifest +++ b/dev-ml/labltk/Manifest @@ -1,2 +1,3 @@ DIST labltk-8.06.2.tar.gz 369508 BLAKE2B df0a5fb1cf352c52bf3177e83be2cadde961c2a7ba0496f45dc515141931d13715b4c253f74e5f280f9a6c310488236e6bc598c0ceffc408028ef5f524f2bcf2 SHA512 d9342d49ba8769edd7a4ed051844f6ae5d3e62a7c2c76e895bfd1162d0433c4ea54f2314b29b708551fba63daec1123553b56f0abb6412807ab00d7bb40b73d6 DIST labltk-8.06.7.tar.gz 370870 BLAKE2B 2d836c824d9adbd4f03d0e7e81faa51669837eecb4f94f6c89c657966774fe7d6ed928459be3ccca7fd3e7cf67a54ee63f7d2d08dcc8b7e853f5ad64769b33a2 SHA512 3c7352d14bc337adfb1939e72bd2658bb5e60b463f10f3748779084d1b7a6e6225028c775b548e355d69984a8944b91580fa978ff904b20b8b762ba9046f5e7d +DIST labltk-8.06.9.tar.gz 371504 BLAKE2B 587ff01da120501f85f6d9921e46275858f1e1ce730eef205f9e7d7c64f6d3c0ea701cf832fdb8eb0746e1f0cff1151bccb077641740fb18811473b1553e2940 SHA512 fd6defa302d919f229394c486dcefab110b144534525a87082a27d2cab29c0af4ece3da821098fea25416850ad857f7af979d48790330d62dfb8d8db8f2bf6ca diff --git a/dev-ml/labltk/labltk-8.06.9.ebuild b/dev-ml/labltk/labltk-8.06.9.ebuild new file mode 100644 index 00000000000..ce876c58810 --- /dev/null +++ b/dev-ml/labltk/labltk-8.06.9.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit findlib eutils + +DESCRIPTION="OCaml interface to the Tcl/Tk GUI framework" +HOMEPAGE="https://garrigue.github.io/labltk/" +SRC_URI="https://github.com/garrigue/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="QPL-1.0 LGPL-2" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+ocamlopt X" + +RDEPEND="dev-lang/tk:= + >=dev-lang/ocaml-4.11:=[ocamlopt?,X(+)?]" +DEPEND="${RDEPEND} + dev-ml/findlib +" + +PATCHES=( + "${FILESDIR}/findlib.patch" +) + +src_configure() { + ./configure --use-findlib --verbose $(usex X "--tk-x11" "--tk-no-x11") || die "configure failed!" +} + +src_compile() { + emake -j1 + use ocamlopt && emake -j1 opt +} + +src_install() { + findlib_src_preinst + dodir /usr/bin + emake \ + INSTALLDIR="${D}$(ocamlc -where)/labltk" \ + INSTALLBINDIR="${ED}/usr/bin/" \ + install + dodoc Changes README.mlTk +}