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-chemistry/molsketch/
Date: Mon, 17 Mar 2025 15:39:30 +0000 (UTC)	[thread overview]
Message-ID: <1742225423.e871cdc70f3faab0d84cc7ccc192a4bb2516c620.asturm@gentoo> (raw)

commit:     e871cdc70f3faab0d84cc7ccc192a4bb2516c620
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Sun Mar  9 07:19:22 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 17 15:30:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e871cdc7

sci-chemistry/molsketch: add 0.8.1 qt6

update HOMEPAGE

no longer doc files by upstream

add optionnal openbabel support
inchi support through openbabel interface is optional and checked only
at runtime

Closes: https://bugs.gentoo.org/913683
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Closes: https://github.com/gentoo/gentoo/pull/41049
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-chemistry/molsketch/Manifest               |  1 +
 sci-chemistry/molsketch/metadata.xml           |  3 +++
 sci-chemistry/molsketch/molsketch-0.8.1.ebuild | 36 ++++++++++++++++++++++++++
 3 files changed, 40 insertions(+)

diff --git a/sci-chemistry/molsketch/Manifest b/sci-chemistry/molsketch/Manifest
index 3dd6281fb472..dfde0c0e8902 100644
--- a/sci-chemistry/molsketch/Manifest
+++ b/sci-chemistry/molsketch/Manifest
@@ -1 +1,2 @@
 DIST Molsketch-0.7.2-src.tar.gz 1907992 BLAKE2B 6bd099d963f352e66f73741273e9dee17f2fb299aec32b053ca39aa731a27f6a73093f98a4dbde2b6a97b85015016d1136fa4ead5f564006991b83072009ee6a SHA512 5e06f177ed4e7e8457215e07b623b1d92fa111f696fd7a106b0a6e8c56cc9c7d953fc33e0c0955c19766599d41a82519db95e12c0c49d3e4d3392311af3cc034
+DIST Molsketch-0.8.1-src.tar.gz 1852967 BLAKE2B 127ab637934a30a8682b4e15c5d07d8135f581e9311d485403e8d504d2b81cf2057e965be2eb2547d8caa0d9137122d053a7dd8e62272baa229bf26c20ee744c SHA512 c92f99276ff56f46a04f59218124ec3db911a8a8615632fe7642c1ab139cf083540da77b3a1c48176af0896bdd6ccadfd4ca5571e095f76fd96cf504ee3245fb

diff --git a/sci-chemistry/molsketch/metadata.xml b/sci-chemistry/molsketch/metadata.xml
index 3a34d01608a0..88fb2f8b4485 100644
--- a/sci-chemistry/molsketch/metadata.xml
+++ b/sci-chemistry/molsketch/metadata.xml
@@ -10,6 +10,9 @@
 		molecules quick and easily. Of course you're creation can be exported
 		afterwards in high quality in a number of vector and bitmap formats.
 	</longdescription>
+	<use>
+		<flag name="openbabel">Interface for <pkg>sci-chemistry/openbabel</pkg> to support many file formats. With inchi support at runtime, the wikiquery plugin is enabled.</flag>
+	</use>
 	<upstream>
 		<remote-id type="sourceforge">molsketch</remote-id><!-- old -->
 		<remote-id type="github">hvennekate/Molsketch</remote-id>

diff --git a/sci-chemistry/molsketch/molsketch-0.8.1.ebuild b/sci-chemistry/molsketch/molsketch-0.8.1.ebuild
new file mode 100644
index 000000000000..46531a609380
--- /dev/null
+++ b/sci-chemistry/molsketch/molsketch-0.8.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg
+
+DESCRIPTION="Drawing tool for 2D molecular structures"
+HOMEPAGE="https://molsketch.sourceforge.io/ https://github.com/hvennekate/Molsketch/"
+SRC_URI="https://downloads.sourceforge.net/project/${PN}/Molsketch/${P^}-src.tar.gz"
+S="${WORKDIR}/${P^}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="openbabel"
+
+DEPEND="
+	dev-qt/qtbase:6[gui,network,widgets]
+	dev-qt/qtsvg:6
+	openbabel? ( >=sci-chemistry/openbabel-3:= )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="dev-qt/qttools:6[linguist]"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-0.3.0-_DEFAULT_SOURCE.patch
+)
+
+src_configure() {
+	local mycmakeargs=(
+		-DMSK_OBABELIFACE="$(usex openbabel)"
+		-DMSK_QT6=ON
+	)
+	cmake_src_configure
+}


             reply	other threads:[~2025-03-17 15:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-17 15:39 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-17 15:39 [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/molsketch/ Andreas Sturmlechner
2025-03-17 15:39 Andreas Sturmlechner
2025-03-17 15:39 Andreas Sturmlechner
2022-07-21 12:22 Andrew Ammerlaan
2022-06-09  7:02 Pacho Ramos
2022-02-24 19:43 Andrew Ammerlaan
2022-02-24 15:12 Andrew Ammerlaan
2020-05-20 23:06 Andreas Sturmlechner
2017-06-03 19:36 Justin Lecher

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=1742225423.e871cdc70f3faab0d84cc7ccc192a4bb2516c620.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