summaryrefslogtreecommitdiff
path: root/sci-electronics
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/Manifest.gzbin8715 -> 8709 bytes
-rw-r--r--sci-electronics/ghdl/Manifest3
-rw-r--r--sci-electronics/ghdl/ghdl-4.1.0-r1.ebuild (renamed from sci-electronics/ghdl/ghdl-4.0.0-r1.ebuild)30
-rw-r--r--sci-electronics/librepcb/Manifest6
-rw-r--r--sci-electronics/librepcb/librepcb-0.1.7.ebuild60
-rw-r--r--sci-electronics/librepcb/librepcb-1.0.0-r2.ebuild69
-rw-r--r--sci-electronics/librepcb/librepcb-1.1.0-r1.ebuild (renamed from sci-electronics/librepcb/librepcb-1.1.0.ebuild)3
7 files changed, 24 insertions, 147 deletions
diff --git a/sci-electronics/Manifest.gz b/sci-electronics/Manifest.gz
index 0cf329a8e9ff..e60c9a2c41f7 100644
--- a/sci-electronics/Manifest.gz
+++ b/sci-electronics/Manifest.gz
Binary files differ
diff --git a/sci-electronics/ghdl/Manifest b/sci-electronics/ghdl/Manifest
index 86b40ce65f14..e6e42b5d9b9a 100644
--- a/sci-electronics/ghdl/Manifest
+++ b/sci-electronics/ghdl/Manifest
@@ -1,6 +1,5 @@
AUX ghdl-4.0.0_pre20231218-no-pyunit.patch 689 BLAKE2B 2df3df07e290240b2e99422fda33d2ccee9f01a5f3c3aa3535e40ab66bf5de95cbef3821a3e31b0f36b82f5bc90e078e9d2f9424ea5226f7c671ce4dec571458 SHA512 9149bb90346b0c97683a4ed7056cecb727f4ff9a5b89f8b4046983475cd40937f363438129304c72199442bcc3ad948f2c86cb38b6bd0d314dba9199f34a37a6
-DIST ghdl-4.0.0.tar.gz 7683124 BLAKE2B 2b43f1a24c9fb30f754ae6326b21fd52991f3bd69fc1c2dfbd3064d950cef74f7e66f2a846778e6429fbfae07d349f913993d91c52ec53cdad894b06f810cb03 SHA512 95b08274f2ed54556fbe2e72ce52605d9ca8269b535306348d25a259615a0610b59a61fb4458e0c1e548570361af15d45d89941bf4ab4afd2fafb10b07e69cae
DIST ghdl-4.1.0.tar.gz 7704716 BLAKE2B d69791d947ed11b62fac8e076c3b9e1bad606a0de57e8d5bd67c9a8f7ea0cad73643085efbaaa06fabdd5900366334b63385589da72f4db488f5b27b142a76f8 SHA512 0a3a465f7f8ed7fba9b81b5dec2903bf82731c97a127666e7644286c9ea80078354be4e6bf8947a6ef631b646dc7e8e69dce2d9a467ac36ee03c67d9335a2703
-EBUILD ghdl-4.0.0-r1.ebuild 1551 BLAKE2B 88d7bc60d054a48297b5e21d333e9479f7116c6f01cc75c239847c74c5407724ab8883edd483a36cfd4fc760a8e494e4438dc028af117a978f76b230613fa47b SHA512 a7c5bb4e4948cac92aadeff2ffd82642f34d35cfa6d63772a1ac8003238bf2ab30d9d4879c121c0d1b01e5a4f21c6e37995850bd9b36c7a6b1a1548ff6e230eb
+EBUILD ghdl-4.1.0-r1.ebuild 1750 BLAKE2B 42021c87851a433f2a1fecd7da7a46a10a56dac8db0cd598c785353f8f94afe5447ffc30b49b57462bd0c1912721ee4fb6b612c284d4f95480b872e3a15f7163 SHA512 e5185ca38df8834bf34768113d2ad8b32438f98ee01e8a8acbba64b71e58dd72fbc226749badd7ef42aee98f5d84f606c371f244e179e364ebd8362292e7b91f
EBUILD ghdl-4.1.0.ebuild 1551 BLAKE2B 88d7bc60d054a48297b5e21d333e9479f7116c6f01cc75c239847c74c5407724ab8883edd483a36cfd4fc760a8e494e4438dc028af117a978f76b230613fa47b SHA512 a7c5bb4e4948cac92aadeff2ffd82642f34d35cfa6d63772a1ac8003238bf2ab30d9d4879c121c0d1b01e5a4f21c6e37995850bd9b36c7a6b1a1548ff6e230eb
MISC metadata.xml 1462 BLAKE2B a403ab50a3463fc26ddfb6ad65aa2cfe9782e98b74cd91fe24ef81678e7c52a2211b0bcad27accc4cd57db281ed23ad5d8697ae69dd8b67c623465949d6d3434 SHA512 4bd4c20a8fbbdaa80a63373f81bd96144e110371403832627aba81a7a95d073ee73922516a6d5c193898affbeb8bd7f1ce9fc4203faa13464cf39ba809c82d5d
diff --git a/sci-electronics/ghdl/ghdl-4.0.0-r1.ebuild b/sci-electronics/ghdl/ghdl-4.1.0-r1.ebuild
index 7fb1396f35c1..ab07376f8f4f 100644
--- a/sci-electronics/ghdl/ghdl-4.0.0-r1.ebuild
+++ b/sci-electronics/ghdl/ghdl-4.1.0-r1.ebuild
@@ -4,9 +4,9 @@
EAPI=8
ADA_COMPAT=( gnat_2021 gcc_13 )
-LLVM_MAX_SLOT=17 # Check "configure" script for supported LLVM versions.
+LLVM_COMPAT=( {16..17} ) # Check configure script for supported LLVM versions.
-inherit ada edo llvm toolchain-funcs
+inherit ada edo llvm-r1 toolchain-funcs
DESCRIPTION="Open-source analyzer, compiler, and simulator for VHDL 2008/93/87"
HOMEPAGE="https://ghdl.github.io/ghdl/
@@ -20,17 +20,23 @@ else
SRC_URI="https://github.com/ghdl/${PN}/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
- KEYWORDS="amd64 ~x86"
+ KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-2+"
SLOT="0"
-IUSE="llvm"
-REQUIRED_USE="${ADA_REQUIRED_USE}"
+IUSE="llvm +static-libs"
+
+# The LLVM backend requires static libraries to work, see bug: https://bugs.gentoo.org/938171
+REQUIRED_USE="${ADA_REQUIRED_USE} llvm? ( static-libs )"
RDEPEND="
${ADA_DEPS}
- llvm? ( <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):= )
+ llvm? (
+ $(llvm_gen_dep '
+ sys-devel/llvm:${LLVM_SLOT}=
+ ')
+ )
"
DEPEND="
${RDEPEND}
@@ -44,7 +50,7 @@ PATCHES=( "${FILESDIR}/${PN}-4.0.0_pre20231218-no-pyunit.patch" )
pkg_setup() {
ada_pkg_setup
- use llvm && llvm_pkg_setup
+ use llvm && llvm-r1_pkg_setup
}
src_prepare() {
@@ -62,7 +68,7 @@ src_configure() {
# Install location.
--libdir=$(get_libdir)
- --prefix=/usr
+ --prefix="/usr"
# Features.
--enable-libghdl
@@ -70,7 +76,9 @@ src_configure() {
)
if use llvm ; then
- myconf+=( --with-llvm-config=llvm-config )
+ myconf+=(
+ --with-llvm-config="llvm-config"
+ )
fi
# Not a autotools script!
@@ -86,5 +94,7 @@ src_compile() {
src_install() {
default
- find "${ED}" -type f -name '*.a' -delete || die
+ if ! use static-libs ; then
+ find "${ED}" -type f -name '*.a' -delete || die
+ fi
}
diff --git a/sci-electronics/librepcb/Manifest b/sci-electronics/librepcb/Manifest
index 64746f463c4f..f205bb3a94eb 100644
--- a/sci-electronics/librepcb/Manifest
+++ b/sci-electronics/librepcb/Manifest
@@ -1,7 +1,3 @@
-DIST librepcb-0.1.7-source.zip 13112342 BLAKE2B 53b6dad94febee84b60df1d848936f44093698c9965d4b24815395ff564a5634ab84f38574e7a1b6891f2cdd99b5162eb3747bbfdde2dfc2d680cff76a4e1cc1 SHA512 285ad661b9c528b1aa05c9a0482034af26e9344eb08a119ffabbadf518957a9784ccb9582bcfabcf5bf8982c33b6286b39722c0d59072df983925b3949b3e6c5
-DIST librepcb-1.0.0-source.zip 14000096 BLAKE2B 5b78bb0bd32de78207a95916bc7a7ff85b58f3b4b67e6faf9180bae852ce11416ac3740c04eb30b57073a21eb24d8041136e1ef17f5614e3f7d340e7b813b03d SHA512 7bc056be37fd39d873f6a40cf04c529e95dfc2b69d1cc8246ccbba0932a67c0f017e939c206cf0656b4657cb5c99c10c7e19b9dc4969d54d0a80014029da9439
DIST librepcb-1.1.0-source.zip 15373750 BLAKE2B 6f8ba8d66b95373e4760aae617b423e71fcb89ceb39703ce4547a390e4ad0630866632d9bad01f93780fdb8c3452ec0424e753ef891402e440686c64eba56495 SHA512 2ca02095d89547e17813fcfeadedd48fb9345d177885c9d21a8d313d864c6f02243eb13a33341c474bc0671a66ef6b00b6329760aeb3439fdb10123f2db9d38b
-EBUILD librepcb-0.1.7.ebuild 1443 BLAKE2B d30668d5b3f96f8db385af33146dcebca6e2d2fa1e510d4ef08316e8ccc59406872536ee735ff81deea1fde4a5c8f4df90261b7eb67be1620176957278cf7905 SHA512 85c0c1b1da5008e55530a15859e8273a7be063681659c2aba1aea183c45107856fc8dddec89a3c998e6bdd296232bfaf5ce7998646cd6370ead0f01a6de447e3
-EBUILD librepcb-1.0.0-r2.ebuild 1700 BLAKE2B e119178b1a717912e147ef8e973f53ed85f6cfe82faa98d935166db5aad750bbbc3e9d49f22cb4d5fb8d633e0670c4d5498254dc996b79a746cb13bcc3d8e1e5 SHA512 c7950d4b6bfbf3e6a47d84f0e101aec79826b5405df9f7d73e6a877ca0ab2453827b1c51dfdf8efa971303c46b721ce8ebe7b4cd4fe17f05c770c6c014a5abf5
-EBUILD librepcb-1.1.0.ebuild 2046 BLAKE2B 0c63f4077eecdee433ad8f2511d926698cb4550021b2a1d61eeb77ea9325cd073c8be710e1024df78bd4c492545be5d596facef3142c89996007636667f85211 SHA512 db97386be783e0e1cc9ba083bb58a189d72655d486f224109d5b6b4d7eeba280443780cc4ff054da11b4fcbf15df4788a73f6c422aeeb512bb2e3f28dfac9d61
+EBUILD librepcb-1.1.0-r1.ebuild 2067 BLAKE2B 219827c805ec9a68e50c10020233661319e7ddd502ba45100e14aff5ee2bb5ed2151124cd0b4db4e6914516a9106516cb1733135f6ba0fd5ba36cbd8e00c9adc SHA512 f893d6a797daa1e41939347f8f97234df0c657312393905962389baa414de89ff48b7462f52b064783ab9c2643c1b97c455fc2d0177c42e09f714d6c2e9b866e
MISC metadata.xml 1316 BLAKE2B 0e2933c46eed63177cc16902e0c9235cd77640af852a5b2242db98b4dda997a3d9ede5e79b95d860b162ab6055a67935c828309ea32e81e4e2551e2f37d0e3bd SHA512 e5dc0108675528726309169119d7c09fcc7da55d68981314bf61fed0a14109bf69363eabf9360164f55b6912a7d1d451aabfc21d73e209c638561a37e74fa61d
diff --git a/sci-electronics/librepcb/librepcb-0.1.7.ebuild b/sci-electronics/librepcb/librepcb-0.1.7.ebuild
deleted file mode 100644
index c2752d3b0f23..000000000000
--- a/sci-electronics/librepcb/librepcb-0.1.7.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 2009-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake virtualx xdg
-
-DESCRIPTION="Free EDA software to develop printed circuit boards"
-HOMEPAGE="https://librepcb.org/"
-SRC_URI="https://download.librepcb.org/releases/${PV}/${P}-source.zip"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64"
-
-BDEPEND="
- app-arch/unzip
- dev-qt/linguist-tools:5"
-
-RDEPEND="
- dev-cpp/muParser:=
- dev-libs/quazip:=[qt5(+)]
- dev-qt/qtcore:5
- dev-qt/qtconcurrent:5
- dev-qt/qtgui:5
- dev-qt/qtnetwork:5[ssl]
- dev-qt/qtopengl:5
- dev-qt/qtprintsupport:5
- dev-qt/qtsql:5
- dev-qt/qtsvg:5
- dev-qt/qtwidgets:5
- dev-qt/qtxml:5
- sys-libs/zlib"
-
-DEPEND="${RDEPEND}
- dev-qt/qttest:5"
-
-src_configure() {
- local mycmakeargs+=(
- -DUNBUNDLE_QUAZIP=ON
- -DUNBUNDLE_MUPARSER=ON )
- cmake_src_configure
-}
-
-src_test() {
- cd "${BUILD_DIR}"/tests/unittests || die
- # https://github.com/LibrePCB/LibrePCB/issues/516
- virtx ./librepcb-unittests --gtest_filter=-SystemInfoTest.testGetUsername:CategoryTreeModelTest.testSort:BoardPlaneFragmentsBuilderTest.testFragments:BoardGerberExportTest.test
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- ewarn
- ewarn "LibrePCB builds might not be exactly reproducible with e.g. -march={native,haswell,...}."
- ewarn "This can cause minor issues, see for example:"
- ewarn "https://github.com/LibrePCB/LibrePCB/issues/516"
- ewarn "For a completely reproducible build use: -march=x86-64."
- ewarn
-}
diff --git a/sci-electronics/librepcb/librepcb-1.0.0-r2.ebuild b/sci-electronics/librepcb/librepcb-1.0.0-r2.ebuild
deleted file mode 100644
index cdee44faf323..000000000000
--- a/sci-electronics/librepcb/librepcb-1.0.0-r2.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 2009-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake virtualx xdg
-
-DESCRIPTION="Free EDA software to develop printed circuit boards"
-HOMEPAGE="https://librepcb.org/"
-SRC_URI="https://download.librepcb.org/releases/${PV}/${P}-source.zip"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE="opencascade"
-
-BDEPEND="
- app-arch/unzip
- dev-qt/linguist-tools:5"
-
-RDEPEND="
- dev-cpp/muParser:=
- dev-libs/quazip:=[qt5(+)]
- dev-qt/qtconcurrent:5
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtnetwork:5[ssl]
- dev-qt/qtopengl:5
- dev-qt/qtprintsupport:5
- dev-qt/qtquickcontrols2:5
- dev-qt/qtsql:5
- dev-qt/qtsvg:5
- dev-qt/qtwidgets:5
- dev-qt/qtxml:5
- opencascade? ( sci-libs/opencascade:= )
- sys-libs/zlib
- virtual/opengl"
-
-DEPEND="${RDEPEND}
- dev-qt/qttest:5"
-
-S="${WORKDIR}/${PN}-${PV/_/-}"
-
-src_configure() {
- local mycmakeargs+=(
- -DUSE_OPENCASCADE=$(usex opencascade 1 0)
- -DUNBUNDLE_QUAZIP=ON
- -DUNBUNDLE_MUPARSER=ON )
- cmake_src_configure
-}
-
-src_test() {
- cd "${BUILD_DIR}"/tests/unittests || die
- # https://github.com/LibrePCB/LibrePCB/issues/516
- # virtx ./librepcb-unittests --gtest_filter=-SystemInfoTest.testGetUsername
- virtx ./librepcb-unittests --gtest_filter=-SystemInfoTest.testGetUsername:CategoryTreeModelTest.testSort:BoardPlaneFragmentsBuilderTest.testFragments:BoardGerberExportTest.test
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- ewarn
- ewarn "LibrePCB builds might not be exactly reproducible with e.g. -march={native,haswell,...}."
- ewarn "This can cause minor issues, see for example:"
- ewarn "https://github.com/LibrePCB/LibrePCB/issues/516"
- ewarn "For a completely reproducible build use: -march=x86-64."
- ewarn
-}
diff --git a/sci-electronics/librepcb/librepcb-1.1.0.ebuild b/sci-electronics/librepcb/librepcb-1.1.0-r1.ebuild
index 8e3488865a8b..26ffe3cc6261 100644
--- a/sci-electronics/librepcb/librepcb-1.1.0.ebuild
+++ b/sci-electronics/librepcb/librepcb-1.1.0-r1.ebuild
@@ -44,8 +44,9 @@ RDEPEND="
dev-qt/qtsvg:6
)
opencascade? ( sci-libs/opencascade:= )
+ media-libs/libglvnd[X]
sys-libs/zlib
- virtual/opengl"
+ virtual/glu"
DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )