diff options
author | Tony Olagbaiye <bqv@fron.io> | 2022-12-14 20:46:30 +0000 |
---|---|---|
committer | Tony Olagbaiye <bqv@fron.io> | 2022-12-14 20:47:08 +0000 |
commit | 70b7951e96e85e295394a458b0a440c129cd7235 (patch) | |
tree | 028b6ea1134232aebacc3bc3b1b1d9a18cb30db4 /dev-ml | |
parent | app-misc/ledger-live: add 2.50.1, drop 2.47.0 (diff) | |
download | guru-70b7951e96e85e295394a458b0a440c129cd7235.tar.gz guru-70b7951e96e85e295394a458b0a440c129cd7235.tar.bz2 guru-70b7951e96e85e295394a458b0a440c129cd7235.zip |
dev-ml/wayland: new package, add 1.1
Signed-off-by: Tony Olagbaiye <bqv@fron.io>
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/wayland/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/wayland/metadata.xml | 14 | ||||
-rw-r--r-- | dev-ml/wayland/wayland-1.1.ebuild | 51 |
3 files changed, 66 insertions, 0 deletions
diff --git a/dev-ml/wayland/Manifest b/dev-ml/wayland/Manifest new file mode 100644 index 000000000..17b4d6f2e --- /dev/null +++ b/dev-ml/wayland/Manifest @@ -0,0 +1 @@ +DIST ocaml-wayland-1.1.tar.gz 104186 BLAKE2B 9ee71b1a5d06a6cfbc2b219cd8de2acb780d9af79303b5533409384b138d06298f6bbb9fc34770bc358693a6ee9b0fdbf020f212f16ffccce6962dd2dbc829fd SHA512 8e53c3e277dcf5b4d6a574495e4c14eeb059c79b23ff313ef18034a0cdb4b869f6ca9e2e294227854ec9c940e2d729900ac38aea071e2572008666e93f112f88 diff --git a/dev-ml/wayland/metadata.xml b/dev-ml/wayland/metadata.xml new file mode 100644 index 000000000..61307c072 --- /dev/null +++ b/dev-ml/wayland/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <longdescription lang="en">Pure OCaml Wayland protocol implementation</longdescription> + <upstream> + <doc>https://talex5.github.io/ocaml-wayland/</doc> + <bugs-to>https://github.com/talex5/ocaml-wayland/issues</bugs-to> + <remote-id type="github">talex5/ocaml-wayland</remote-id> + <maintainer> + <name>Thomas Leonard</name> + <email>talex5@gmail.com</email> + </maintainer> + </upstream> +</pkgmetadata> diff --git a/dev-ml/wayland/wayland-1.1.ebuild b/dev-ml/wayland/wayland-1.1.ebuild new file mode 100644 index 000000000..bce68997d --- /dev/null +++ b/dev-ml/wayland/wayland-1.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +DESCRIPTION="Pure OCaml Wayland protocol library" +HOMEPAGE=" + https://github.com/talex5/ocaml-wayland + https://opam.ocaml.org/packages/wayland/ +" +SRC_URI="https://github.com/talex5/ocaml-wayland/archive/v${PV}.tar.gz -> ocaml-${P}.tar.gz" +S="${WORKDIR}/ocaml-${P}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND=" + dev-ml/base:= + >=dev-ml/cmdliner-1.1.1:= + >=dev-ml/cstruct-6.0.0:= + >=dev-ml/fmt-0.8.0:= + >=dev-ml/logs-0.7.0:= + >=dev-ml/lwt-5.4.0:= + >=dev-ml/xmlm-1.3.0:= + >=dev-ml/dune-2.8.0:= +" + +DEPEND=" + ${RDEPEND} + dev-ml/ocaml-doc + test? ( + >=dev-ml/alcotest-lwt-1.2.3:= + dev-ml/ounit2 + >=dev-ml/ppx_sexp_conv-0.9.0 + ) +" + +RESTRICT="!test? ( test )" + +src_compile() { + local pkgs="wayland" + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + +src_install() { + dune_src_install wayland +} |