summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Puskas <zoltan@sinustrom.info>2024-10-12 22:56:04 -0700
committerYixun Lan <dlan@gentoo.org>2024-10-14 06:49:11 +0800
commitfc985206e82f78d741dfe2f9eaa22d8cdcde9cae (patch)
tree0eafc7985a0244ab019e284768572ac8609079ab /sci-electronics
parentsys-devel/gcc: add 15.0.0_pre20241013 (diff)
downloadgentoo-fc985206e82f78d741dfe2f9eaa22d8cdcde9cae.tar.gz
gentoo-fc985206e82f78d741dfe2f9eaa22d8cdcde9cae.tar.bz2
gentoo-fc985206e82f78d741dfe2f9eaa22d8cdcde9cae.zip
sci-electronics/kicad: live ebuild dependency fix
KiCad 9 will depend on dev-libs/protobuf, which is already present in the current source tree. Closes: https://bugs.gentoo.org/939153 Closes: https://github.com/gentoo/gentoo/pull/38967 Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info> Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/kicad/kicad-9999.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/sci-electronics/kicad/kicad-9999.ebuild b/sci-electronics/kicad/kicad-9999.ebuild
index 71443e470a09..3d82e37950e0 100644
--- a/sci-electronics/kicad/kicad-9999.ebuild
+++ b/sci-electronics/kicad/kicad-9999.ebuild
@@ -66,6 +66,11 @@ COMMON_DEPEND="
media-gfx/cairosvg
)
"
+
+if [[ ${PV} == 9999 ]] ; then
+ COMMON_DEPEND+="dev-libs/protobuf"
+fi
+
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}
sci-electronics/electronics-menu