mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-07 00:05:47 +03:00
sci-chemistry/molsketch: Bump to 0.8.3
patches are no longer required Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/43658 Closes: https://github.com/gentoo/gentoo/pull/43658 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
9094656eb8
commit
2779d23000
@@ -1 +1,2 @@
|
||||
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
|
||||
|
||||
38
sci-chemistry/molsketch/molsketch-0.8.3.ebuild
Normal file
38
sci-chemistry/molsketch/molsketch-0.8.3.ebuild
Normal file
@@ -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]"
|
||||
}
|
||||
Reference in New Issue
Block a user