sci-electronics/kicad-packages3d: drop 10.0.2

Part-of: https://codeberg.org/gentoo/gentoo/pulls/1511
Signed-off-by: Huang Rui <vowstar@gmail.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
Huang Rui
2026-07-23 02:18:56 -07:00
committed by Yixun Lan
parent 55e0f0044b
commit d154dec198
2 changed files with 0 additions and 58 deletions

View File

@@ -1,5 +1,4 @@
DIST kicad-packages3d-10.0.0.tar.bz2 521473365 BLAKE2B 668610afc9258c684bac2d55d80557ccc995e011e48d407aeefea394a48ce0037a73d9c507ccd8b94c83eb6bf4c9d26ad605fd152b4c9f0f528064984222349a SHA512 9fa517dbd112248f97320039a80ff9273f380a2f0454530856c90f64e2b2a224f4d1cf1a82d17d508438fff47aa2e9e183cdbe4ded3b91bce03febed7d3b20c1
DIST kicad-packages3d-10.0.2.tar.bz2 521437403 BLAKE2B 81cb28b2dae417d4d13eea66fa3b7acb9d976a7a1e467b0c3de3034afb43280354fced5992aa49cd315b551ad54976f6229063c79e4e4264145e7b64004b507b SHA512 b98a941e7f2be2296915c9863f22110769e751472e6349328b59796b0edb6638c74bfe9592f2cf81a922b4fcab14971fb4c15a12cd57e71f3672add051007c38
DIST kicad-packages3d-10.0.3.tar.bz2 521447157 BLAKE2B 8635188dfe4271e23be6d7db1e2e8117612b1f2c69faf90bbb7e37e570ab647d02118879c9291e90fef1c4942185f69e0424e63e082ad2ddce964a41441f4216 SHA512 6b3df3e36c4d0dbc011291532728672297f5f289bc63912e50866f04752f00b42d9829566d07e217a0853ad7dfd3c4d33f2801f99438a7a8ce815129e09505e9
DIST kicad-packages3d-10.0.5.tar.bz2 521680663 BLAKE2B d3cf06a5f934582356173bd94a0788afdcc9100037aaa0f8faeb904f64747f6704106e1acc135ad0285632d281a6a5b06fb3a3495ff9173ce1892a4266adcc97 SHA512 c3559cd757b0f9f27d64c999acfd9aa5331cacdd6ec13e0d85b8e513dac22fb3b91457b990c83eb747f5391c5874939994863a2449a55aab7131bb21dda0af04
DIST kicad-packages3d-9.0.9.tar.bz2 521424761 BLAKE2B fadc9ee7cc35d6799a7ba8a1282ab70fd142a82c10867659bfb6a821b007d61d1bc641335960a3da50761249ec5bd70411ac03f9f2785415e53434d9d12f2b13 SHA512 8254a423bf82c3a7b947d2892f9753daa3de155359d8481f4a8523cbe1469185e6a7957000727ba660ac5619853c40a3abcbd938245c902fc200b0f32bb27992

View File

@@ -1,57 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit check-reqs cmake
DESCRIPTION="Electronic Schematic and PCB design tools 3D package libraries"
HOMEPAGE="https://gitlab.com/kicad/libraries/kicad-packages3D"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://gitlab.com/kicad/libraries/kicad-packages3D.git"
inherit git-r3
else
SRC_URI="https://gitlab.com/kicad/libraries/kicad-packages3D/-/archive/${PV}/kicad-packages3D-${PV}.tar.bz2 -> ${P}.tar.bz2"
S="${WORKDIR}/${PN/3d/3D}-${PV}"
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
fi
LICENSE="CC-BY-SA-4.0"
SLOT="0"
IUSE="stpz"
RDEPEND=">=sci-electronics/kicad-10.0.0
stpz? ( ~sci-electronics/kicad-footprints-${PV}[stpz] )"
if [[ ${PV} == 9999 ]] ; then
# x11-misc-util/macros only required on live ebuilds
BDEPEND=">=x11-misc/util-macros-1.18"
fi
CHECKREQS_DISK_BUILD="11G"
src_install() {
cmake_src_install
if use stpz; then
# Bug 935664.
einfo "Compressing .step models to .stpz ..."
local f
while IFS= read -r -d '' f; do
gzip -n "${f}" || die "gzip ${f} failed"
mv "${f}.gz" "${f%.step}.stpz" || die "rename ${f}.gz failed"
done < <(find "${ED}" -type f -name '*.step' -print0)
fi
}
pkg_postinst() {
if use stpz; then
elog "3D models installed as .stpz (gzip-compressed STEP)."
elog "Projects authored on this system reference .stpz paths"
elog "and 3D viewers on systems with plain .step libraries"
elog "will not find the models. Disable USE=stpz if you share"
elog "projects across distributions."
fi
}