commit: 8df6b5ae0a6d2a64be2cc582f122fe440b425087 Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr> AuthorDate: Mon Oct 13 13:48:11 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Oct 18 13:18:01 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8df6b5ae
sci-chemistry/molsketch: Bump to 0.8.4 Bugfix release Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/44162 Signed-off-by: Sam James <sam <AT> gentoo.org> sci-chemistry/molsketch/Manifest | 1 + sci-chemistry/molsketch/molsketch-0.8.4.ebuild | 38 ++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/sci-chemistry/molsketch/Manifest b/sci-chemistry/molsketch/Manifest index 89c221c0db43..77af86cf2e4a 100644 --- a/sci-chemistry/molsketch/Manifest +++ b/sci-chemistry/molsketch/Manifest @@ -1,2 +1,3 @@ DIST Molsketch-0.8.1-src.tar.gz 1852967 BLAKE2B 127ab637934a30a8682b4e15c5d07d8135f581e9311d485403e8d504d2b81cf2057e965be2eb2547d8caa0d9137122d053a7dd8e62272baa229bf26c20ee744c SHA512 c92f99276ff56f46a04f59218124ec3db911a8a8615632fe7642c1ab139cf083540da77b3a1c48176af0896bdd6ccadfd4ca5571e095f76fd96cf504ee3245fb DIST Molsketch-0.8.3-src.tar.gz 1855805 BLAKE2B 6f221c170d8f6c9af6ab5b9db479c9a1052047331455b13c7aaf00b851793ed0db9b6de66954734858a56c5a6bf0009582aa084c612161925315352c2e5401ab SHA512 336266f59ca119972bb3820b366abe57a524016658e715524d48570e2077dc4a211711e4de2df24b3f760a4e4826fff8966af53d2b4aad91f2755471c45cc728 +DIST Molsketch-0.8.4-src.tar.gz 1855977 BLAKE2B 4cf2e7ae26da1b15a5feb7843a853557d0e8b1594ea080767a234ba2cc238f837e46651ba4eb5698330c5c56fc39695c5596278033d4287772dd22b6b26ee501 SHA512 14f544c8fc30ee9b11ff056c248890ca33bbc02a19d93142ae0106539cbba73eae04ba3c6506df8a3e6d997ef4a1f75c7a3490467a2023cd32c20e186e8a0188 diff --git a/sci-chemistry/molsketch/molsketch-0.8.4.ebuild b/sci-chemistry/molsketch/molsketch-0.8.4.ebuild new file mode 100644 index 000000000000..305ab25e38f4 --- /dev/null +++ b/sci-chemistry/molsketch/molsketch-0.8.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake optfeature 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]" + +src_configure() { + local mycmakeargs=( + -DMSK_OBABELIFACE="$(usex openbabel)" + -DMSK_QT6=ON + ) + cmake_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + + use openbabel && optfeature "wikiquery support through openbabel inchi interface" "sci-chemistry/openbabel[inchi]" +}
