mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
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@parhuet.fr> Closes: https://github.com/gentoo/gentoo/pull/41049 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user