public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
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, 08 Jan 2025 17:03:50 +0000 (UTC)	[thread overview]
Message-ID: <1736355817.117c47c7454bd8bafad1c17bc8fe81dc20cfdf7f.asturm@gentoo> (raw)

commit:     117c47c7454bd8bafad1c17bc8fe81dc20cfdf7f
Author:     Victor Kustov <ktrace <AT> yandex <DOT> ru>
AuthorDate: Wed Jan  1 14:21:54 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Jan  8 17:03:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=117c47c7

sci-electronics/librepcb: up to 1.2.0 & drop Qt5

Signed-off-by: Victor Kustov <ktrace <AT> yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/39933
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-electronics/librepcb/Manifest              |  1 +
 sci-electronics/librepcb/librepcb-1.2.0.ebuild | 65 ++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/sci-electronics/librepcb/Manifest b/sci-electronics/librepcb/Manifest
index b213eb0e1df5..c2f79fb17d96 100644
--- a/sci-electronics/librepcb/Manifest
+++ b/sci-electronics/librepcb/Manifest
@@ -1 +1,2 @@
 DIST librepcb-1.1.0-source.zip 15373750 BLAKE2B 6f8ba8d66b95373e4760aae617b423e71fcb89ceb39703ce4547a390e4ad0630866632d9bad01f93780fdb8c3452ec0424e753ef891402e440686c64eba56495 SHA512 2ca02095d89547e17813fcfeadedd48fb9345d177885c9d21a8d313d864c6f02243eb13a33341c474bc0671a66ef6b00b6329760aeb3439fdb10123f2db9d38b
+DIST librepcb-1.2.0-source.zip 15923398 BLAKE2B b7ec8dc5ff4b9531e4614defe8e95ec4bf3da796f5aece8d849aed6dfa3d352149fbdb928cf5b24510266977dd9648634ab89a7e675f29d990849bb314a252e8 SHA512 a7e7a0e4e433000db39501874240652d85fe3a2be08f442c72138b70ec3faa0e8117399a997f2083e31d54a5f9276c02fa5a101d3855fad8d1c5cd78f1d80a8f

diff --git a/sci-electronics/librepcb/librepcb-1.2.0.ebuild b/sci-electronics/librepcb/librepcb-1.2.0.ebuild
new file mode 100644
index 000000000000..9ac74c9d417e
--- /dev/null
+++ b/sci-electronics/librepcb/librepcb-1.2.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 2009-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake 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 test"
+RESTRICT="!test? ( test )"
+
+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() {
+	local -x QT_QPA_PLATFORM=offscreen
+	cd "${BUILD_DIR}"/tests/unittests || die
+	# https://github.com/LibrePCB/LibrePCB/issues/516
+	./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
+}


             reply	other threads:[~2025-01-08 17:03 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-08 17:03 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-01 18:25 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=1736355817.117c47c7454bd8bafad1c17bc8fe81dc20cfdf7f.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