public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-ml/wayland/
@ 2022-12-14 20:47 Tony Olagbaiye
  0 siblings, 0 replies; only message in thread
From: Tony Olagbaiye @ 2022-12-14 20:47 UTC (permalink / raw
  To: gentoo-commits

commit:     70b7951e96e85e295394a458b0a440c129cd7235
Author:     Tony Olagbaiye <bqv <AT> fron <DOT> io>
AuthorDate: Wed Dec 14 20:46:30 2022 +0000
Commit:     Tony Olagbaiye <gentoo <AT> fron <DOT> io>
CommitDate: Wed Dec 14 20:47:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=70b7951e

dev-ml/wayland: new package, add 1.1

Signed-off-by: Tony Olagbaiye <bqv <AT> fron.io>

 dev-ml/wayland/Manifest           |  1 +
 dev-ml/wayland/metadata.xml       | 14 +++++++++++
 dev-ml/wayland/wayland-1.1.ebuild | 51 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 66 insertions(+)

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
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-14 20:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-14 20:47 [gentoo-commits] repo/proj/guru:dev commit in: dev-ml/wayland/ Tony Olagbaiye

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox