mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 10:17:08 -08:00
dev-libs/protobuf: give unique subslot for live
Otherwise it's going go stale and cause issues for portage dependency resolution. Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/40181 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -14,20 +14,19 @@ 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 ~loong ~mips ~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
|
||||
|
||||
Reference in New Issue
Block a user