diff options
author | Zoltan Puskas <zoltan@sinustrom.info> | 2023-02-16 00:22:51 -0800 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-02-17 05:09:39 +0000 |
commit | 27996dfd598dcc3702123fcf903dd67b6c605adf (patch) | |
tree | 4b3cc5d54014f9042d72c92d894ddb53f31ee0d6 /sci-electronics/kicad-symbols | |
parent | sci-electronics/kicad-packages3d: add 7.0.0 (diff) | |
download | gentoo-27996dfd598dcc3702123fcf903dd67b6c605adf.tar.gz gentoo-27996dfd598dcc3702123fcf903dd67b6c605adf.tar.bz2 gentoo-27996dfd598dcc3702123fcf903dd67b6c605adf.zip |
sci-electronics/kicad-symbols: add 7.0.0
Bug: https://bugs.gentoo.org/894660
Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-electronics/kicad-symbols')
-rw-r--r-- | sci-electronics/kicad-symbols/Manifest | 1 | ||||
-rw-r--r-- | sci-electronics/kicad-symbols/kicad-symbols-7.0.0.ebuild | 30 | ||||
-rw-r--r-- | sci-electronics/kicad-symbols/kicad-symbols-9999.ebuild | 13 |
3 files changed, 35 insertions, 9 deletions
diff --git a/sci-electronics/kicad-symbols/Manifest b/sci-electronics/kicad-symbols/Manifest index f56573c9a11c..e63451e036a0 100644 --- a/sci-electronics/kicad-symbols/Manifest +++ b/sci-electronics/kicad-symbols/Manifest @@ -1 +1,2 @@ DIST kicad-symbols-6.0.9.tar.gz 4854079 BLAKE2B ba50c3062dc01145239d0950072bcaa6b61b2dbcf954fcf6e96e0d06c2c9952bd571c81a0e05dcdff462524c38e8c8807752e7d854eb7684397634414b55b8ab SHA512 2cc44ead8029cd502cc5301b4515aa23275d32068e091a0a4a645f6fd9ed88f2b7d329d9faa7e66cde58cedeb47810c66db8e6f9313c2bbfe18e5a272f82a163 +DIST kicad-symbols-7.0.0.tar.bz2 3012408 BLAKE2B 320cd9e05b9140cd5149651c91b68f69c2c23bda0026cb1cacf09447eda72159afc670b51a733ebfb02d89c61c0b60dbc298c53e1190c28fe4525303ca013615 SHA512 d72f01448a395f58a5ac87bfea33d514dc35749f7a529ee03b2a11ed1cc38331f0baaf69662686cf32ed4e629a3b2baf1a53cbcb9507fb8f2e4ffd3421184580 diff --git a/sci-electronics/kicad-symbols/kicad-symbols-7.0.0.ebuild b/sci-electronics/kicad-symbols/kicad-symbols-7.0.0.ebuild new file mode 100644 index 000000000000..26631a5e5f9f --- /dev/null +++ b/sci-electronics/kicad-symbols/kicad-symbols-7.0.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Electronic Schematic and PCB design tools symbol libraries" +HOMEPAGE="https://gitlab.com/kicad/libraries/kicad-symbols" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://gitlab.com/kicad/libraries/kicad-symbols.git" + inherit git-r3 +else + SRC_URI="https://gitlab.com/kicad/libraries/${PN}/-/archive/${PV}/${P}.tar.bz2" + + KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +fi + +LICENSE="CC-BY-SA-4.0" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND=">=sci-electronics/kicad-7.0.0" + +if [[ ${PV} == 9999 ]] ; then + # x11-misc-util/macros only required on live ebuilds + BDEPEND+=" >=x11-misc/util-macros-1.18" +fi diff --git a/sci-electronics/kicad-symbols/kicad-symbols-9999.ebuild b/sci-electronics/kicad-symbols/kicad-symbols-9999.ebuild index 2fcbfb8a9bca..52266ac8a79e 100644 --- a/sci-electronics/kicad-symbols/kicad-symbols-9999.ebuild +++ b/sci-electronics/kicad-symbols/kicad-symbols-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,21 +12,16 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://gitlab.com/kicad/libraries/kicad-symbols.git" inherit git-r3 else - MY_PV="${PV/_rc/-rc}" - MY_P="${PN}-${MY_PV}" - SRC_URI="https://gitlab.com/kicad/libraries/${PN}/-/archive/${MY_PV}/${MY_P}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://gitlab.com/kicad/libraries/${PN}/-/archive/${PV}/${P}.tar.bz2" - if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="~amd64 ~arm64 ~x86" - fi - - S="${WORKDIR}/${PN}-${MY_PV}" + KEYWORDS="~amd64 ~arm64 ~riscv ~x86" fi LICENSE="CC-BY-SA-4.0" SLOT="0" IUSE="" +DEPEND="" RDEPEND=">=sci-electronics/kicad-6.0.0" if [[ ${PV} == 9999 ]] ; then |