mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
dev-ml/wayland: new package, add 1.1
Signed-off-by: Tony Olagbaiye <bqv@fron.io>
This commit is contained in:
1
dev-ml/wayland/Manifest
Normal file
1
dev-ml/wayland/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST ocaml-wayland-1.1.tar.gz 104186 BLAKE2B 9ee71b1a5d06a6cfbc2b219cd8de2acb780d9af79303b5533409384b138d06298f6bbb9fc34770bc358693a6ee9b0fdbf020f212f16ffccce6962dd2dbc829fd SHA512 8e53c3e277dcf5b4d6a574495e4c14eeb059c79b23ff313ef18034a0cdb4b869f6ca9e2e294227854ec9c940e2d729900ac38aea071e2572008666e93f112f88
|
||||
14
dev-ml/wayland/metadata.xml
Normal file
14
dev-ml/wayland/metadata.xml
Normal file
@@ -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>
|
||||
51
dev-ml/wayland/wayland-1.1.ebuild
Normal file
51
dev-ml/wayland/wayland-1.1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user