summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Puskas <zoltan@sinustrom.info>2022-01-17 23:25:02 -0800
committerSam James <sam@gentoo.org>2022-01-21 19:10:56 +0000
commit4485f67d63ad8da29312cd7856b2bcaa762d4ebb (patch)
tree828a208a49e22c5639e0931a15a2d0862cb0af61 /sci-electronics
parentsci-electronics/kicad-packages3d: Bump to 6.0.1 (diff)
downloadgentoo-4485f67d63ad8da29312cd7856b2bcaa762d4ebb.tar.gz
gentoo-4485f67d63ad8da29312cd7856b2bcaa762d4ebb.tar.bz2
gentoo-4485f67d63ad8da29312cd7856b2bcaa762d4ebb.zip
sci-electronics/kicad-symbols: Bumpt to 6.0.1
Also migrate to EAPI8 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/kicad-symbols/Manifest1
-rw-r--r--sci-electronics/kicad-symbols/kicad-symbols-6.0.1.ebuild36
-rw-r--r--sci-electronics/kicad-symbols/kicad-symbols-9999.ebuild6
3 files changed, 40 insertions, 3 deletions
diff --git a/sci-electronics/kicad-symbols/Manifest b/sci-electronics/kicad-symbols/Manifest
index be9a59df95d5..e4becbb62f03 100644
--- a/sci-electronics/kicad-symbols/Manifest
+++ b/sci-electronics/kicad-symbols/Manifest
@@ -1,2 +1,3 @@
DIST kicad-symbols-5.1.12.tar.bz2 1815145 BLAKE2B e3a74c0e2cb24f4286cdd7fa63b62c72c39575475305680ba8e19d5b3acb5c6cbff1e17d37d169043949ad89ffb9b94f0341e1faf7d063c1cf9872d31b863e21 SHA512 32e73b8a43e54779e4b95fc13505d603c7ef70600467a1e38f2685288aa9223ca29cc44a552d8c02e153cbf3048faa59610bc92e81dbbed7a432c16db0bd05f6
DIST kicad-symbols-6.0.0.tar.gz 4809848 BLAKE2B ba96aac11c60ba590c23d3df56e0c3cb7fbea828833e0cd7874976f0ed93bf7e0dd21a3a367eff0e5086126c663eec075b45cb82f463c36289b780ecf1836e20 SHA512 9e223ba15e8c8d00d5f5889f4fc9f7677a290253121889dd162788af3bbf1400b39c6d41bb1167b53ea028c32016f8f465251a308f546ece69149a9e5b32e66c
+DIST kicad-symbols-6.0.1.tar.gz 4809762 BLAKE2B 8133932edf7f480ea61c98838e0c7b0ed32c79ef8cc89d385192c7cd137bcfabdb9a4ed28cc10b2006dfc37729b070d286a5b29b94108da487c797fef1605b20 SHA512 0f62118118adff693bb127d229232cfeeb88f48d3d818d44c3d9d8d1db89de903587ed8cc9081914eec8233650dd0bac6dd5d4618b4417bdf06955ebd1b8923c
diff --git a/sci-electronics/kicad-symbols/kicad-symbols-6.0.1.ebuild b/sci-electronics/kicad-symbols/kicad-symbols-6.0.1.ebuild
new file mode 100644
index 000000000000..911199e91fac
--- /dev/null
+++ b/sci-electronics/kicad-symbols/kicad-symbols-6.0.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 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
+ 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"
+
+ if [[ ${PV} != *_rc* ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~x86"
+ fi
+
+ S="${WORKDIR}/${PN}-${MY_PV}"
+fi
+
+LICENSE="CC-BY-SA-4.0"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=sci-electronics/kicad-6.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 261092ede9b0..2fcbfb8a9bca 100644
--- a/sci-electronics/kicad-symbols/kicad-symbols-9999.ebuild
+++ b/sci-electronics/kicad-symbols/kicad-symbols-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit cmake
@@ -27,7 +27,7 @@ LICENSE="CC-BY-SA-4.0"
SLOT="0"
IUSE=""
-RDEPEND=">=sci-electronics/kicad-5.99"
+RDEPEND=">=sci-electronics/kicad-6.0.0"
if [[ ${PV} == 9999 ]] ; then
# x11-misc-util/macros only required on live ebuilds