public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/calcmysky/
Date: Thu, 30 Mar 2023 09:05:11 +0000 (UTC)	[thread overview]
Message-ID: <1680166993.8c4364f44958e7e4edbc3fb36511567199dd3c1e.flow@gentoo> (raw)

commit:     8c4364f44958e7e4edbc3fb36511567199dd3c1e
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Tue Mar 28 21:43:04 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Mar 30 09:03:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c4364f4

sci-astronomy/calcmysky: add 0.3.0

Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 sci-astronomy/calcmysky/Manifest               |  1 +
 sci-astronomy/calcmysky/calcmysky-0.3.0.ebuild | 65 ++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/sci-astronomy/calcmysky/Manifest b/sci-astronomy/calcmysky/Manifest
index 90a19e9a9852..17e08322ce3f 100644
--- a/sci-astronomy/calcmysky/Manifest
+++ b/sci-astronomy/calcmysky/Manifest
@@ -1 +1,2 @@
 DIST calcmysky-0.2.1.tar.gz 2161314 BLAKE2B b0aa1abc75f59c9c16429749bb8669e49e17e3dc7716bb78f472a9181c7d77a2c82c2f3800529f620604f233f88855908b0b55d824bf259d0912e157b9537faf SHA512 3915b965ee656b259ce7f158dfdd3c9c11a6c3ff907307899ae55e88ad6c1ccfbec8e0a1f784f5232fb0cb2c8300422fa25b8b1d4d11639d3ebb8c76d67059e5
+DIST calcmysky-0.3.0.tar.gz 2164140 BLAKE2B 18d904ad0ed2ec81d705005fa3fea4e66d7250ff2c46bd563e14c783768760d6cc55ea3376682298d5290516ea3b9bf170da8546da5eafc2d2603e597220d9d4 SHA512 529e9cd3d1e71e5ba3e910e9af44e5ddf1af105b499948325401faa9e0cf7911d8ef003570f5bb5395ff6954c37ae6fd7242eb1300f78636232d745012d495ef

diff --git a/sci-astronomy/calcmysky/calcmysky-0.3.0.ebuild b/sci-astronomy/calcmysky/calcmysky-0.3.0.ebuild
new file mode 100644
index 000000000000..addd6360ca5c
--- /dev/null
+++ b/sci-astronomy/calcmysky/calcmysky-0.3.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 2022-2023 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
+}


             reply	other threads:[~2023-03-30  9:05 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-30  9:05 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-30  9:19 [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/calcmysky/ Andrew Ammerlaan
2024-09-30  9:19 Andrew Ammerlaan
2024-04-30  6:42 Sam James
2024-04-19  6:39 Ionen Wolkens
2024-03-25 15:00 Sam James
2024-03-25 11:22 Sam James
2023-12-13  8:06 Florian Schmaus
2023-11-30  3:07 Sam James
2023-08-29  7:57 Joonas Niilola
2023-07-26  7:42 Joonas Niilola
2023-07-26  7:42 Joonas Niilola
2023-05-06  9:28 Arthur Zamarin
2023-05-06  9:28 Arthur Zamarin
2023-04-29 21:21 Sam James
2023-04-29 20:20 Sam James
2023-01-29 17:08 Joonas Niilola
2023-01-14  8:55 Joonas Niilola
2022-12-18 21:07 Arthur Zamarin
2022-12-18 20:22 Arthur Zamarin
2022-12-18 19:50 Arthur Zamarin
2022-11-18 12:47 Arthur Zamarin
2022-11-18 12:46 Arthur Zamarin
2022-11-15  7:16 Yixun Lan
2022-11-05  1:38 Jason Zaman

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=1680166993.8c4364f44958e7e4edbc3fb36511567199dd3c1e.flow@gentoo \
    --to=flow@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