diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-02-24 16:12:15 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-02-24 16:12:22 +0100 |
commit | 83a73d4ebca119b5aa122d856f677aaec9390d06 (patch) | |
tree | 64e502207581cc4d36f6a6a0a608f9f87e9fe16b /sci-chemistry/molsketch | |
parent | sys-apps/gentoo-functions: stable 0.15 for hppa, bug #833648 (diff) | |
download | gentoo-83a73d4ebca119b5aa122d856f677aaec9390d06.tar.gz gentoo-83a73d4ebca119b5aa122d856f677aaec9390d06.tar.bz2 gentoo-83a73d4ebca119b5aa122d856f677aaec9390d06.zip |
sci-chemistry/molsketch: add version 0.7.2
Closes: https://bugs.gentoo.org/652580
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sci-chemistry/molsketch')
-rw-r--r-- | sci-chemistry/molsketch/Manifest | 1 | ||||
-rw-r--r-- | sci-chemistry/molsketch/molsketch-0.7.2.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/sci-chemistry/molsketch/Manifest b/sci-chemistry/molsketch/Manifest index 0393717709d3..adf2a2ef3279 100644 --- a/sci-chemistry/molsketch/Manifest +++ b/sci-chemistry/molsketch/Manifest @@ -1 +1,2 @@ DIST Molsketch-0.4.1-src.tar.gz 1499842 BLAKE2B 22584f012e838037f9e23c16da6c63984604002884d279b2b6012d80eb08af9ee18b4d364fa29327572854fccad34840f97413b29b487cfbeb6496a2a8003d17 SHA512 263b088c2b8d01c1f13802b18aea6f6784580fe1a806de45b0e1ecd9f29024350e01a611bdeed1891938acc733a42746203d345d3be13ebaf4c309413e86bf26 +DIST Molsketch-0.7.2-src.tar.gz 1907992 BLAKE2B 6bd099d963f352e66f73741273e9dee17f2fb299aec32b053ca39aa731a27f6a73093f98a4dbde2b6a97b85015016d1136fa4ead5f564006991b83072009ee6a SHA512 5e06f177ed4e7e8457215e07b623b1d92fa111f696fd7a106b0a6e8c56cc9c7d953fc33e0c0955c19766599d41a82519db95e12c0c49d3e4d3392311af3cc034 diff --git a/sci-chemistry/molsketch/molsketch-0.7.2.ebuild b/sci-chemistry/molsketch/molsketch-0.7.2.ebuild new file mode 100644 index 000000000000..e84950829ab1 --- /dev/null +++ b/sci-chemistry/molsketch/molsketch-0.7.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +DESCRIPTION="A drawing tool for 2D molecular structures" +HOMEPAGE="http://molsketch.sourceforge.net/" +SRC_URI="mirror://sourceforge/project/${PN}/Molsketch/${P^}-src.tar.gz" +S="${WORKDIR}/${P^}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +DEPEND=" + >=sci-chemistry/openbabel-3 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-0.3.0-_DEFAULT_SOURCE.patch +) + +src_configure() { + local mycmakeargs=( + # fix the doc dir, this is relative to the install dir (i.e. /usr/) + -DMSK_INSTALL_DOCS="/share/doc/${PF}" + ) + cmake_src_configure +} |