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>
This commit is contained in:
Andrew Ammerlaan
2022-02-24 16:12:15 +01:00
parent 1f5bb14da7
commit 83a73d4ebc
2 changed files with 38 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}