diff options
Diffstat (limited to 'dev-ml/lablgtk')
-rw-r--r-- | dev-ml/lablgtk/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/lablgtk/lablgtk-3.1.2.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ml/lablgtk/Manifest b/dev-ml/lablgtk/Manifest index b7942ca5642c..ebeb56423c77 100644 --- a/dev-ml/lablgtk/Manifest +++ b/dev-ml/lablgtk/Manifest @@ -1,3 +1,4 @@ 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-3.1.2.tar.gz 1042626 BLAKE2B 355ff285248129a063c041d3e64db33424ddbb71774128d7be980b8bd0b54cfa54b9d50b1c2f8527b8f6563836189ad72d30e4421b22d5938b888e61ada55056 SHA512 c63a492160f36685f65cb6bc0e72ff4939005acb2c65c56c0d9ba8f2112a618f24db84765e7b4416e49024048a36895028cfc5ef2c3e298dd4a309e902e34af5 DIST lablgtk3-3.1.1.tbz 854720 BLAKE2B e6a916151fe1ca0746c14c2a66cd178f3b0c051976815a1d13daf801002f16bc76d9f4cb15625353f0cfbdc16b0a218857d72c4e57125050bbcffe67f7096ad0 SHA512 193c340d9941680869eb90bc89f5b27cc5bdf294f4635081a9ba56a99fa2982266c4ee2eb5fd04d3a3f6150082800de5df786def8c72a276a779d843d914e9e3 diff --git a/dev-ml/lablgtk/lablgtk-3.1.2.ebuild b/dev-ml/lablgtk/lablgtk-3.1.2.ebuild new file mode 100644 index 000000000000..2e8609cd299a --- /dev/null +++ b/dev-ml/lablgtk/lablgtk-3.1.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DUNE_PKG_NAME=lablgtk3 + +inherit dune + +DESCRIPTION="OCaml bindings to GTK-3" +HOMEPAGE="https://github.com/garrigue/lablgtk" +SRC_URI="https://github.com/garrigue/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="3/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="+ocamlopt sourceview" + +BDEPEND="dev-ml/camlp5" +DEPEND=" + app-text/gtkspell:3= + x11-libs/gtk+:3= + dev-ml/cairo2:= + x11-libs/gtksourceview:3.0= +" +RDEPEND="${DEPEND}" +PDEPEND="sourceview? ( dev-ml/lablgtk-sourceview:${SLOT} )" + +src_prepare() { + default + echo "(version ${PV})" >> "${S}"/dune-project || die +} + +src_compile() { + dune build --profile release -p ${DUNE_PKG_NAME} || die +} |