dev-go/protobuf-go: new package, add 1.30.0

This is the go support for Google's protocol buffers.

Signed-off-by: William Hubbs <williamh@gentoo.org>
This commit is contained in:
William Hubbs
2023-05-31 17:41:48 -05:00
parent 955017d212
commit 5874f0036b
3 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST protobuf-go-1.30.0-deps.tar.xz 565680 BLAKE2B 711bdcd31c7986dd63a47db946d84081087c9a815b41c7239e8da312ca20faa7fbb8e4b03c59819c7403ff99e2eb691c436a3c03c7065c5ff99f513c90fc5d34 SHA512 73fffe68233c25b19edd0f22c0b1fb3e769a72a74ce00dcf5c1614ae2ec1f450e41283709791bbf0b31d08c462dc51ac08c07fece957aaec7850de66833c3648
DIST protobuf-go-1.30.0.tar.gz 1298988 BLAKE2B 8ab6a105e691eacc60b6dc8ab872298469fcd38aad2fe7f5373761b2fa8e6208499db1b7eaccc40e5159dfcc2d1e4c9b5b5cbd81cb85787f88bcf93f355aa263 SHA512 379860dda3ccff3d6687520d92320a7543562cea104634a17abe5733c2d028116d2740434b33e39e7b263b9468806da7fe15af40c8e23c490c67fd9f9db8b770

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>williamh@gentoo.org</email>
<name>William Hubbs</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,24 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-libs/protobuf"
src_compile() {
ego build ./cmd/protoc-gen-go
}
src_install() {
dobin protoc-gen-go
}