From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/librepcb/
Date: Wed, 01 Jan 2025 18:25:13 +0000 (UTC) [thread overview]
Message-ID: <1735755904.1fb52537d3df99bc3041b349d3237164adca4574.asturm@gentoo> (raw)
commit: 1fb52537d3df99bc3041b349d3237164adca4574
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 1 12:06:59 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Jan 1 18:25:04 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fb52537
sci-electronics/librepcb: Drop IUSE qt5 (make Qt6 non-optional)
Add missing dev-qt/qtbase:6 slot dep.
Prepare for dev-libs/quazip losing IUSE qt6 in the future.
Minor ebuild style fixes.
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
sci-electronics/librepcb/librepcb-1.1.0-r2.ebuild | 64 +++++++++++++++++++++++
1 file changed, 64 insertions(+)
diff --git a/sci-electronics/librepcb/librepcb-1.1.0-r2.ebuild b/sci-electronics/librepcb/librepcb-1.1.0-r2.ebuild
new file mode 100644
index 000000000000..023d688196a6
--- /dev/null
+++ b/sci-electronics/librepcb/librepcb-1.1.0-r2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 2009-2025 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"
+S="${WORKDIR}/${PN}-${PV/_/-}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="opencascade"
+
+RDEPEND="
+ dev-cpp/muParser:=
+ >=dev-libs/quazip-1.3-r2:=[qt6(+)]
+ dev-qt/qtbase:6[concurrent,gui,network,opengl,sql,sqlite,ssl,widgets]
+ dev-qt/qtdeclarative:6
+ dev-qt/qtsvg:6
+ media-libs/libglvnd[X]
+ sys-libs/zlib
+ virtual/glu
+ opencascade? ( sci-libs/opencascade:= )"
+
+DEPEND="${RDEPEND}
+ test? ( dev-cpp/gtest )"
+
+BDEPEND="
+ app-arch/unzip
+ dev-qt/qttools:6[linguist]"
+
+src_configure() {
+ local mycmakeargs=(
+ -DQT_MAJOR_VERSION=6
+ -DUNBUNDLE_GTEST=ON
+ -DUNBUNDLE_MUPARSER=ON
+ -DUNBUNDLE_QUAZIP=ON
+ -DUSE_OPENCASCADE=$(usex opencascade 1 0)
+ -DBUILD_TESTS=$(usex test ON OFF)
+ )
+ 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
+}
next reply other threads:[~2025-01-01 18:25 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-01 18:25 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-12 22:48 [gentoo-commits] repo/gentoo:master commit in: sci-electronics/librepcb/ Andreas Sturmlechner
2025-01-08 17:03 Andreas Sturmlechner
2025-01-01 18:25 Andreas Sturmlechner
2024-08-24 18:39 Joonas Niilola
2024-08-16 18:33 Andrew Ammerlaan
2024-01-10 13:39 Andrew Ammerlaan
2023-10-27 8:02 Andrew Ammerlaan
2023-10-18 11:36 Andrew Ammerlaan
2022-10-21 8:44 Andrew Ammerlaan
2022-10-21 8:42 Andrew Ammerlaan
2022-10-21 8:42 Andrew Ammerlaan
2022-09-10 0:29 Sam James
2022-09-09 16:09 Andrew Ammerlaan
2022-04-29 10:21 Sam James
2022-04-25 6:57 Joonas Niilola
2021-05-23 17:44 Andreas Sturmlechner
2020-05-21 18:29 Andreas Sturmlechner
2020-05-21 18:29 Andreas Sturmlechner
2020-04-14 8:35 Joonas Niilola
2019-12-08 10:08 Joonas Niilola
2019-12-08 10:08 Joonas Niilola
2019-06-30 11:04 Andreas Sturmlechner
2019-06-30 11:04 Andreas Sturmlechner
2019-02-14 23:44 Andreas Sturmlechner
2019-02-14 23:44 Andreas Sturmlechner
2019-02-05 22:38 Patrice Clement
2018-08-14 21:20 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1735755904.1fb52537d3df99bc3041b349d3237164adca4574.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox