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 D24EB15808B for ; Mon, 30 Sep 2024 09:19:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 276B7E29B8; Mon, 30 Sep 2024 09:19:37 +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 0B4A2E29B8 for ; Mon, 30 Sep 2024 09:19:37 +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 1ABA234318D for ; Mon, 30 Sep 2024 09:19:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A5DB11F2E for ; Mon, 30 Sep 2024 09:19:34 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1727687841.2bffa516e1cd76320e55beea595d58c0b81c1106.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/calcmysky/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-astronomy/calcmysky/Manifest sci-astronomy/calcmysky/calcmysky-0.3.3.ebuild X-VCS-Directories: sci-astronomy/calcmysky/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 2bffa516e1cd76320e55beea595d58c0b81c1106 X-VCS-Branch: master Date: Mon, 30 Sep 2024 09:19:34 +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: 43c5d171-1bad-427f-af49-cb3361b47089 X-Archives-Hash: e8b789af0c31f07134a411cc41027c1c commit: 2bffa516e1cd76320e55beea595d58c0b81c1106 Author: Alexey Sokolov asokolov org> AuthorDate: Mon Sep 9 23:53:22 2024 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Mon Sep 30 09:17:21 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bffa516 sci-astronomy/calcmysky: add 0.3.3 Signed-off-by: Alexey Sokolov asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/38543 Signed-off-by: Andrew Ammerlaan gentoo.org> sci-astronomy/calcmysky/Manifest | 1 + sci-astronomy/calcmysky/calcmysky-0.3.3.ebuild | 65 ++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/sci-astronomy/calcmysky/Manifest b/sci-astronomy/calcmysky/Manifest index 5acc7585e97c..f2cdee4701f1 100644 --- a/sci-astronomy/calcmysky/Manifest +++ b/sci-astronomy/calcmysky/Manifest @@ -1 +1,2 @@ DIST calcmysky-0.3.2.tar.gz 2166906 BLAKE2B c306b780b76ace936c373c4c554ed25fdfc3a507ebe34950634527c32deb59b99feb4d55e1b82150dd0611caf8835a1d178ec2a044a2ddf7b2ade604d6edb67a SHA512 a7f69b25c54be86ce179a118ca8a6d606e2c0fe7dc238b46620237e311dc5198a2aeb70e4885cc6553a26f7c38b78b5a338115a4606161fa249a806e891f88b6 +DIST calcmysky-0.3.3.tar.gz 2167016 BLAKE2B 93c1990a96ce4eb7c033ba3763aac2f347c5575c860522d99d7a0ab813d7bffbd678df32cbf3a249e8043e53560d355cb8656d9fce54df07aa9eb82cdfbdb0f7 SHA512 186281ad2aafac7006117cfb65d91c8053ab3caa9d4f67e5463471538bae40fd8fcc954c3fe9b9d2ca7bba4e6a1fdf8de33980469930cc23b1c21ee4b333917e diff --git a/sci-astronomy/calcmysky/calcmysky-0.3.3.ebuild b/sci-astronomy/calcmysky/calcmysky-0.3.3.ebuild new file mode 100644 index 000000000000..bd1d665e6e80 --- /dev/null +++ b/sci-astronomy/calcmysky/calcmysky-0.3.3.ebuild @@ -0,0 +1,65 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multibuild cmake + +DESCRIPTION="Simulator of light scattering by planetary atmospheres" +HOMEPAGE="https://github.com/10110111/CalcMySky" +SRC_URI=" + https://github.com/10110111/CalcMySky/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz +" + +LICENSE="GPL-3" +# subslot is soversion +SLOT="0/15" +KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~x86" + +IUSE="qt5 qt6" +REQUIRED_USE="|| ( qt5 qt6 )" + +DEPEND=" + dev-cpp/eigen:3 + media-libs/glm + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5[-gles2-only] + dev-qt/qtopengl:5[-gles2-only] + dev-qt/qtwidgets:5[-gles2-only] + ) + qt6? ( + dev-qt/qtbase:6[gui,opengl,widgets,-gles2-only] + ) +" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/CalcMySky-${PV}" + +pkg_setup() { + MULTIBUILD_VARIANTS=( $(usev qt5) $(usev qt6) ) +} + +src_configure() { + my_src_configure() { + local mycmakeargs=( + -DQT_VERSION="${MULTIBUILD_VARIANT/qt/}" + ) + + cmake_src_configure + } + + multibuild_foreach_variant my_src_configure +} + +src_compile() { + multibuild_foreach_variant cmake_src_compile +} + +src_test() { + multibuild_foreach_variant cmake_build check +} + +src_install() { + multibuild_foreach_variant cmake_src_install +}