summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/protobuf/protobuf-29.4.ebuild')
-rw-r--r--dev-libs/protobuf/protobuf-29.4.ebuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/dev-libs/protobuf/protobuf-29.4.ebuild b/dev-libs/protobuf/protobuf-29.4.ebuild
index 92bb4f6121b5..8ce1e903d955 100644
--- a/dev-libs/protobuf/protobuf-29.4.ebuild
+++ b/dev-libs/protobuf/protobuf-29.4.ebuild
@@ -14,29 +14,28 @@ ABSEIL_MIN_VER="${ABSEIL_MIN_VER//_/}"
if [[ "${PV}" == *9999 ]]; then
EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf.git"
EGIT_SUBMODULES=( '-*' )
- MY_SLOT="28.0"
+ SLOT="0/9999"
inherit git-r3
else
SRC_URI="https://github.com/protocolbuffers/protobuf/releases/download/v${PV}/${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
- MY_SLOT=$(ver_cut 1-2)
+ SLOT="0/$(ver_cut 1-2).0"
fi
DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing structured data"
HOMEPAGE="https://protobuf.dev/"
LICENSE="BSD"
-SLOT="0/${MY_SLOT}.0"
IUSE="conformance debug emacs examples +libprotoc libupb +protobuf +protoc test zlib"
# Require protobuf for the time being
REQUIRED_USE="
protobuf
- examples? ( protobuf protoc )
+ protobuf? ( protoc )
+ examples? ( protobuf )
libprotoc? ( protobuf )
- libupb? ( protobuf )
- protoc? ( protobuf )
+ libupb? ( protobuf )
"
RESTRICT="!test? ( test )"