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 7A3ED158041 for ; Thu, 7 Mar 2024 08:42:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB38FE29C9; Thu, 7 Mar 2024 08:42:09 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8D50FE29C9 for ; Thu, 7 Mar 2024 08:42:09 +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 7C97B343026 for ; Thu, 7 Mar 2024 08:42:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D0B4EB3D for ; Thu, 7 Mar 2024 08:42:06 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1709800764.fcc5686c0934bb43405ec6be95cbe37c0ed51e55.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/libbgcode/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/libbgcode/libbgcode-0.0.20240220-r1.ebuild X-VCS-Directories: media-gfx/libbgcode/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: fcc5686c0934bb43405ec6be95cbe37c0ed51e55 X-VCS-Branch: master Date: Thu, 7 Mar 2024 08:42:06 +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: 1d908326-50be-4713-9082-96d097af602c X-Archives-Hash: 6a6228c4812b6c9b8490c1d2ba528773 commit: fcc5686c0934bb43405ec6be95cbe37c0ed51e55 Author: Chris Mayo gmail com> AuthorDate: Tue Mar 5 19:23:15 2024 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Thu Mar 7 08:39:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcc5686c media-gfx/libbgcode: fix dependencies Closes: https://bugs.gentoo.org/924385 Signed-off-by: Chris Mayo gmail.com> Signed-off-by: Miroslav Šulc gentoo.org> .../libbgcode/libbgcode-0.0.20240220-r1.ebuild | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/media-gfx/libbgcode/libbgcode-0.0.20240220-r1.ebuild b/media-gfx/libbgcode/libbgcode-0.0.20240220-r1.ebuild new file mode 100644 index 000000000000..d317371d29ee --- /dev/null +++ b/media-gfx/libbgcode/libbgcode-0.0.20240220-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +LIBBGCODE_COMMIT=33a1eebfb8e65f333c057c13734f3a838e31d433 + +DESCRIPTION="Prusa Block & Binary G-code reader / writer / converter" +HOMEPAGE="https://github.com/prusa3d/libbgcode" +SRC_URI="https://github.com/prusa3d/libbgcode/archive/${LIBBGCODE_COMMIT}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/${PN}-${LIBBGCODE_COMMIT}" +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/heatshrink-0.4.1 + >=sys-libs/zlib-1.0 +" +DEPEND="${RDEPEND} + dev-libs/boost + test? ( =dev-cpp/catch-2*:0 ) +" + +src_configure() { + local mycmakeargs=( + -DLibBGCode_BUILD_TESTS=$(usex test) + ) + cmake_src_configure +}