From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C3161158041 for ; Wed, 28 Feb 2024 11:03:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D46CCE2B6C; Wed, 28 Feb 2024 11:03:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A797FE2B6C for ; Wed, 28 Feb 2024 11:03:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BC19034164C for ; Wed, 28 Feb 2024 11:03:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D7F4B14EE for ; Wed, 28 Feb 2024 11:03:40 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1709118012.bff1eea4f29713b27c65d7004e64ab311e70f69c.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/kicad/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-electronics/kicad/kicad-8.0.0.ebuild sci-electronics/kicad/kicad-9999.ebuild X-VCS-Directories: sci-electronics/kicad/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: bff1eea4f29713b27c65d7004e64ab311e70f69c X-VCS-Branch: master Date: Wed, 28 Feb 2024 11:03:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 44eff497-091d-4c11-97c4-e8f636523d8c X-Archives-Hash: f4c3410a3edfbeb93eebdee8425b3f7e commit: bff1eea4f29713b27c65d7004e64ab311e70f69c Author: Huang Rui gmail com> AuthorDate: Wed Feb 28 08:32:49 2024 +0000 Commit: Yixun Lan gentoo org> CommitDate: Wed Feb 28 11:00:12 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff1eea4 sci-electronics/kicad: Add telemetry USE flag and fix QA settings - Introduce 'telemetry' USE flag in IUSE - Configure build to use telemetry based on USE flag - Update QA tests configuration with KICAD_SPICE_QA Thanks to @dlan17 and @zpuskas for their improvements to the ebuilds Closes: https://github.com/gentoo/gentoo/pull/35548 Signed-off-by: Huang Rui gmail.com> Signed-off-by: Yixun Lan gentoo.org> sci-electronics/kicad/kicad-8.0.0.ebuild | 5 ++++- sci-electronics/kicad/kicad-9999.ebuild | 10 ++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/sci-electronics/kicad/kicad-8.0.0.ebuild b/sci-electronics/kicad/kicad-8.0.0.ebuild index 29cf2fd62499..779a6ba220c5 100644 --- a/sci-electronics/kicad/kicad-8.0.0.ebuild +++ b/sci-electronics/kicad/kicad-8.0.0.ebuild @@ -28,7 +28,7 @@ fi # BSD for bundled pybind LICENSE="GPL-2+ GPL-3+ Boost-1.0 BSD" SLOT="0" -IUSE="doc examples nls openmp test" +IUSE="doc examples nls openmp telemetry test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" @@ -115,6 +115,9 @@ src_configure() { -DOCC_INCLUDE_DIR="${CASROOT}"/include/opencascade -DOCC_LIBRARY_DIR="${CASROOT}"/$(get_libdir)/opencascade + -DKICAD_USE_SENTRY="$(usex telemetry)" + + -DKICAD_SPICE_QA="$(usex test)" -DKICAD_BUILD_QA_TESTS="$(usex test)" ) diff --git a/sci-electronics/kicad/kicad-9999.ebuild b/sci-electronics/kicad/kicad-9999.ebuild index e2e4708508d6..779a6ba220c5 100644 --- a/sci-electronics/kicad/kicad-9999.ebuild +++ b/sci-electronics/kicad/kicad-9999.ebuild @@ -28,7 +28,7 @@ fi # BSD for bundled pybind LICENSE="GPL-2+ GPL-3+ Boost-1.0 BSD" SLOT="0" -IUSE="doc examples nls openmp test" +IUSE="doc examples nls openmp telemetry test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" @@ -41,7 +41,7 @@ RESTRICT="!test? ( test )" COMMON_DEPEND=" dev-db/unixODBC dev-libs/boost:=[context,nls] - dev-libs/libgit2 + dev-libs/libgit2:= media-libs/freeglut media-libs/glew:0= >=media-libs/glm-0.9.9.1 @@ -76,10 +76,6 @@ fi CHECKREQS_DISK_BUILD="1500M" -PATCHES=( - "${FILESDIR}"/${PN}-7.0.0-werror.patch -) - pkg_setup() { [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp @@ -119,6 +115,8 @@ src_configure() { -DOCC_INCLUDE_DIR="${CASROOT}"/include/opencascade -DOCC_LIBRARY_DIR="${CASROOT}"/$(get_libdir)/opencascade + -DKICAD_USE_SENTRY="$(usex telemetry)" + -DKICAD_SPICE_QA="$(usex test)" -DKICAD_BUILD_QA_TESTS="$(usex test)" )