Install this version:
emerge -a =dev-go/protobuf-go-1.36.11
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-go/protobuf-go-1.36.11
Or alternatively:
emerge --autounmask-write -a =dev-go/protobuf-go-1.36.11
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.36.11 | 9 | ~amd64 | 0 |
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=9
inherit go-module
DESCRIPTION="Go support for Google's protocol buffers"
HOMEPAGE="http://protobuf.dev"
SRC_URI="https://github.com/protocolbuffers/protobuf-go/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-vendor.tar.xz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
src_compile() {
ego build ./cmd/protoc-gen-go
}
src_install() {
dobin protoc-gen-go
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | protobuf-go-1.36.11.tar.gz | 1821632 bytes | https://github.com/protocolbuffers/protobuf-go/archive/v1.36.11.tar.gz |