diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-21 14:02:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-21 14:02:42 +0100 |
commit | 5560910b8e280aa828f26c34b4e361b44f5227c4 (patch) | |
tree | 2abdaf1f2d47833722c546232baa3780b006df0d /sci-electronics/librepcb | |
parent | f1269e587f3d88b85f72a6fbaf727da5d6c9af90 (diff) |
gentoo auto-resync : 21:10:2022 - 14:02:42
Diffstat (limited to 'sci-electronics/librepcb')
-rw-r--r-- | sci-electronics/librepcb/Manifest | 6 | ||||
-rw-r--r-- | sci-electronics/librepcb/librepcb-0.1.7.ebuild (renamed from sci-electronics/librepcb/librepcb-0.1.5-r1.ebuild) | 35 | ||||
-rw-r--r-- | sci-electronics/librepcb/metadata.xml | 18 |
3 files changed, 40 insertions, 19 deletions
diff --git a/sci-electronics/librepcb/Manifest b/sci-electronics/librepcb/Manifest index 519c1bde0845..3680d0de1a72 100644 --- a/sci-electronics/librepcb/Manifest +++ b/sci-electronics/librepcb/Manifest @@ -1,7 +1,7 @@ AUX librepcb-0.1.5-quazip1.x.patch 1799 BLAKE2B f883e5eec392aa2aa4e739d3057e36a558a691298bd89fdb2da7e80ac0b0ecc13dc76073544675cf6bc8998f9a7d92ea7e57f107568c9a5b8ebffefb76357152 SHA512 82b5adecd94e22148205f95a514ccb3ccce720b10925549c806f58cd59be42dc6912aef2c8c275c6b87cf02f48d200c847ec6e27525be050b824b90c7bb994b2 AUX librepcb-0.1.6-muparser-fix.patch 1058 BLAKE2B 2d3885fc9e3f178cef352a276fa141f873478938c8b7136d11f69a2fabc73e7ec548c24ae9bd1cdcfc229b94f30368dd48f7b2e85ca065caa69fd1e266e34f7e SHA512 1443b14b562608e729bd75f49d8e1fc962afb3bd1562382bb39f060531f40769ab99ad485547ab2d2ab4b892702242c057fdad6158dbc9d33cce02dcc3566596 -DIST librepcb-0.1.5-source.zip 13111207 BLAKE2B 3a8c5f8b310971e1a6bd5b1fa8eb8059cd1c571e9ab369bf80c946ccbd320c258d5e8c65bea3b5a5bc4d85a38cac8205d5bbfbaad6aebf0a031315b73e9b99f4 SHA512 ed8c8fc154a03082bcbfe414bdb934870d09cf137811036a3ce59d70e1ad0b582fea64c31037c84e76a939bf1d087caabb9aa349578b525bce882e853a969653 DIST librepcb-0.1.6-source.zip 12671974 BLAKE2B bed8d6134159ec663dd88f9933ef0dad6d3bca70776537bf2e16397f0e4fd968a41661d95a118008fcf9d7d6d2432ebac81d78153b3c3ce8d69c64fb59aaf70e SHA512 a51ac2830d65bbd10be8904ecdcc6a7781d80c95e1423ed5bd04fcd009a0b7135ff3a49a87afe9e99006ae1f6ae44f2341021e5733675f2f20b05525860da5d7 -EBUILD librepcb-0.1.5-r1.ebuild 1203 BLAKE2B e49b2bc6181b19a665dda29f6dfff9d4247a6840240f81b6d6251cc900d793a81e5a2ea2c4e5c523976505c71a85c5b852ace0e1b979a5d42ceec2ca2f8bac9d SHA512 7d3eca348ab1fb85be443139dccdd91c5f12225ada8412ff7933f192a1317a32f3fb45d3bab0dd64a9e893c16a99155c7ce1ce302c2c073994e212389bf93bb9 +DIST librepcb-0.1.7-source.zip 13112342 BLAKE2B 53b6dad94febee84b60df1d848936f44093698c9965d4b24815395ff564a5634ab84f38574e7a1b6891f2cdd99b5162eb3747bbfdde2dfc2d680cff76a4e1cc1 SHA512 285ad661b9c528b1aa05c9a0482034af26e9344eb08a119ffabbadf518957a9784ccb9582bcfabcf5bf8982c33b6286b39722c0d59072df983925b3949b3e6c5 EBUILD librepcb-0.1.6-r1.ebuild 1012 BLAKE2B 9bb9ab11d6e24b1f674733175b8f4b66fb7bcef82a15c660eb9ba7bde245f3c26b806a708dd80a116eef92f1b877b6fe7fd8fef80bbd5879636c4243f4500dd3 SHA512 21a02f8bd46567e2483e0c5b2fafc34ee950fabb109f8355c33247f1d700dbea699cfc123ec6cf1699db88fa02b4c814d135bbbf637a36e56e9fc9b4260eb5f2 -MISC metadata.xml 169 BLAKE2B 25149b73446be31f3ea3dd3a6394230987e7d4c601d1605fd3827b37bd99b3301c2e0edb95d0f59a4577ed27919f43c2cc02b1edf62c4012b935a82e709e0c05 SHA512 55c53f74b001bae56ba8c54581a4168335b6b3a28dac23a2102b76795d5fd41de33b8b3e1ec03f9acc6e7a3a77e93b1a6ff3e3967c3156dcbf22b5b5a6245ef5 +EBUILD librepcb-0.1.7.ebuild 1443 BLAKE2B d30668d5b3f96f8db385af33146dcebca6e2d2fa1e510d4ef08316e8ccc59406872536ee735ff81deea1fde4a5c8f4df90261b7eb67be1620176957278cf7905 SHA512 85c0c1b1da5008e55530a15859e8273a7be063681659c2aba1aea183c45107856fc8dddec89a3c998e6bdd296232bfaf5ce7998646cd6370ead0f01a6de447e3 +MISC metadata.xml 1052 BLAKE2B e7eaefddedefe95097ef6394eba9e4edb65c8f99f4ce909f9bc50c4f0165ece941de748d52669e2889cf10ad2ef1d4fdd9bfa89798dfbf70003ea928316b52a7 SHA512 c54b87ef70a7bae289799dc4cbe5726b5d18691264d84211880bd158ecf24f3bb56b33c6a04f5c3dd3114f186aded1808f9d656b88e614b440e63ea60cd0cfcb diff --git a/sci-electronics/librepcb/librepcb-0.1.5-r1.ebuild b/sci-electronics/librepcb/librepcb-0.1.7.ebuild index 409f5eabcce4..c2752d3b0f23 100644 --- a/sci-electronics/librepcb/librepcb-0.1.5-r1.ebuild +++ b/sci-electronics/librepcb/librepcb-0.1.7.ebuild @@ -1,9 +1,9 @@ # Copyright 2009-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit qmake-utils virtualx xdg +inherit cmake virtualx xdg DESCRIPTION="Free EDA software to develop printed circuit boards" HOMEPAGE="https://librepcb.org/" @@ -18,6 +18,7 @@ BDEPEND=" dev-qt/linguist-tools:5" RDEPEND=" + dev-cpp/muParser:= dev-libs/quazip:=[qt5(+)] dev-qt/qtcore:5 dev-qt/qtconcurrent:5 @@ -34,22 +35,26 @@ RDEPEND=" DEPEND="${RDEPEND} dev-qt/qttest:5" -PATCHES=( "${FILESDIR}"/${P}-quazip1.x.patch ) - src_configure() { - local pro_lst - for pro_lst in $(find libs/librepcb/ -type f -name "*.pro" || die) - do - sed -e 's:target.path = $${PREFIX}/lib:target.path = $${PREFIX}/'$(get_libdir)':' -i ${pro_lst} || die "Can't fix ${pro_lst} file" - done - eqmake5 -r PREFIX="/usr" UNBUNDLE+="quazip" + local mycmakeargs+=( + -DUNBUNDLE_QUAZIP=ON + -DUNBUNDLE_MUPARSER=ON ) + cmake_src_configure } -src_install() { - emake INSTALL_ROOT="${D}" install +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 } -src_test() { - cd "${S}"/output - virtx ./librepcb-unittests --gtest_filter=-SystemInfoTest.testGetUsername +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/metadata.xml b/sci-electronics/librepcb/metadata.xml index bef24d2c2337..1daccaad1007 100644 --- a/sci-electronics/librepcb/metadata.xml +++ b/sci-electronics/librepcb/metadata.xml @@ -1,5 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="project" proxied="proxy"> + <email>sci-electronics@gentoo.org</email> + <description>Gentoo Electronics Project</description> + </maintainer> + <maintainer type="person" proxied="yes"> + <email>ktrace@yandex.ru</email> + <name>Victor V. Kustov</name> + </maintainer> + <longdescription lang="en"> + LibrePCB is a free EDA software to develop printed circuit boards. + Cross-platform, multilingual (both application and library elements), intuitive, modern and easy-to-use graphical user interface. + - All-In-One: project management + library/schematic/board editors + - Very powerful library design with some innovative concepts + - Human-readable file formats for both libraries and projects + - Multi-PCB feature (different PCB variants of the same schematic) + - Automatic netlist synchronisation between schematic and board + </longdescription> </pkgmetadata> |