From 6a4408b9bbd9fe61dc0966f587db94081fa5f52b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 10 Jan 2024 19:03:44 +0000 Subject: gentoo auto-resync : 10:01:2024 - 19:03:44 --- sci-electronics/Manifest.gz | Bin 8847 -> 8846 bytes sci-electronics/librepcb/Manifest | 2 +- sci-electronics/librepcb/librepcb-1.0.0-r1.ebuild | 68 --------------------- sci-electronics/librepcb/librepcb-1.0.0-r2.ebuild | 69 ++++++++++++++++++++++ 4 files changed, 70 insertions(+), 69 deletions(-) delete mode 100644 sci-electronics/librepcb/librepcb-1.0.0-r1.ebuild create mode 100644 sci-electronics/librepcb/librepcb-1.0.0-r2.ebuild (limited to 'sci-electronics') diff --git a/sci-electronics/Manifest.gz b/sci-electronics/Manifest.gz index 1f8d8ba6b08a..1c0fcee53814 100644 Binary files a/sci-electronics/Manifest.gz and b/sci-electronics/Manifest.gz differ diff --git a/sci-electronics/librepcb/Manifest b/sci-electronics/librepcb/Manifest index bbbbbb177c23..9eb1af558f87 100644 --- a/sci-electronics/librepcb/Manifest +++ b/sci-electronics/librepcb/Manifest @@ -1,5 +1,5 @@ DIST librepcb-0.1.7-source.zip 13112342 BLAKE2B 53b6dad94febee84b60df1d848936f44093698c9965d4b24815395ff564a5634ab84f38574e7a1b6891f2cdd99b5162eb3747bbfdde2dfc2d680cff76a4e1cc1 SHA512 285ad661b9c528b1aa05c9a0482034af26e9344eb08a119ffabbadf518957a9784ccb9582bcfabcf5bf8982c33b6286b39722c0d59072df983925b3949b3e6c5 DIST librepcb-1.0.0-source.zip 14000096 BLAKE2B 5b78bb0bd32de78207a95916bc7a7ff85b58f3b4b67e6faf9180bae852ce11416ac3740c04eb30b57073a21eb24d8041136e1ef17f5614e3f7d340e7b813b03d SHA512 7bc056be37fd39d873f6a40cf04c529e95dfc2b69d1cc8246ccbba0932a67c0f017e939c206cf0656b4657cb5c99c10c7e19b9dc4969d54d0a80014029da9439 EBUILD librepcb-0.1.7.ebuild 1443 BLAKE2B d30668d5b3f96f8db385af33146dcebca6e2d2fa1e510d4ef08316e8ccc59406872536ee735ff81deea1fde4a5c8f4df90261b7eb67be1620176957278cf7905 SHA512 85c0c1b1da5008e55530a15859e8273a7be063681659c2aba1aea183c45107856fc8dddec89a3c998e6bdd296232bfaf5ce7998646cd6370ead0f01a6de447e3 -EBUILD librepcb-1.0.0-r1.ebuild 1684 BLAKE2B 15f9fb512cb8e47b7037cb39d775ca8aed5b83889f2e358eae74c42aef088b0bb2e491ae879608a415176dca72b5632fa914d88f9e7c4a7b23754b0621dc901f SHA512 86733fb360f4e175ca853b877d68f4a0b59e21e7d313565895ec65af3cca161e109f52604a37c2baeb55a56109c48a572f02596c3da75569241075de47a5065b +EBUILD librepcb-1.0.0-r2.ebuild 1700 BLAKE2B e119178b1a717912e147ef8e973f53ed85f6cfe82faa98d935166db5aad750bbbc3e9d49f22cb4d5fb8d633e0670c4d5498254dc996b79a746cb13bcc3d8e1e5 SHA512 c7950d4b6bfbf3e6a47d84f0e101aec79826b5405df9f7d73e6a877ca0ab2453827b1c51dfdf8efa971303c46b721ce8ebe7b4cd4fe17f05c770c6c014a5abf5 MISC metadata.xml 1316 BLAKE2B 0e2933c46eed63177cc16902e0c9235cd77640af852a5b2242db98b4dda997a3d9ede5e79b95d860b162ab6055a67935c828309ea32e81e4e2551e2f37d0e3bd SHA512 e5dc0108675528726309169119d7c09fcc7da55d68981314bf61fed0a14109bf69363eabf9360164f55b6912a7d1d451aabfc21d73e209c638561a37e74fa61d diff --git a/sci-electronics/librepcb/librepcb-1.0.0-r1.ebuild b/sci-electronics/librepcb/librepcb-1.0.0-r1.ebuild deleted file mode 100644 index ba797def47ac..000000000000 --- a/sci-electronics/librepcb/librepcb-1.0.0-r1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 2009-2023 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" - -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.0.0-r2.ebuild b/sci-electronics/librepcb/librepcb-1.0.0-r2.ebuild new file mode 100644 index 000000000000..cdee44faf323 --- /dev/null +++ b/sci-electronics/librepcb/librepcb-1.0.0-r2.ebuild @@ -0,0 +1,69 @@ +# 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 +} -- cgit v1.2.3