Install this version:
emerge -a =dev-ml/protoc-4.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-ml/protoc-4.1
Or alternatively:
emerge --autounmask-write -a =dev-ml/protoc-4.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 4.1 | 8 | ~amd64 | 0/4.1 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DUNE_PKG_NAME="ocaml-protoc pbrt pbrt_services pbrt_yojson"
inherit dune
MY_PN="ocaml-${PN}"
DESCRIPTION="A Protobuf Compiler for OCaml"
HOMEPAGE="https://github.com/mransan/ocaml-protoc"
SRC_URI="https://github.com/mransan/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"
RDEPEND="dev-ml/ocaml-base64:0=[ocamlopt?]
dev-ml/stdlib-shims:=[ocamlopt?]
dev-ml/yojson:0=[ocamlopt?]"
BDEPEND="test? ( dev-ml/ppx_deriving )"
Manage flags for this package:
euse -i <flag> -p dev-ml/protoc |
euse -E <flag> -p dev-ml/protoc |
euse -D <flag> -p dev-ml/protoc
dev-ml/ocaml-base64:0=[ocamlopt?] dev-ml/stdlib-shims:=[ocamlopt?] dev-ml/yojson:0=[ocamlopt?]
test? ( dev-ml/ppx_deriving )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | protoc-4.1.tar.gz | 374392 bytes | https://github.com/mransan/ocaml-protoc/archive/v4.1.tar.gz |