Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/molsketch/
Date: Thu, 24 Feb 2022 15:12:30
Message-Id: 1645715542.83a73d4ebca119b5aa122d856f677aaec9390d06.andrewammerlaan@gentoo
1 commit: 83a73d4ebca119b5aa122d856f677aaec9390d06
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 24 15:12:15 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 24 15:12:22 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83a73d4e
7
8 sci-chemistry/molsketch: add version 0.7.2
9
10 Closes: https://bugs.gentoo.org/652580
11 Package-Manager: Portage-3.0.30, Repoman-3.0.3
12 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
13
14 sci-chemistry/molsketch/Manifest | 1 +
15 sci-chemistry/molsketch/molsketch-0.7.2.ebuild | 37 ++++++++++++++++++++++++++
16 2 files changed, 38 insertions(+)
17
18 diff --git a/sci-chemistry/molsketch/Manifest b/sci-chemistry/molsketch/Manifest
19 index 0393717709d3..adf2a2ef3279 100644
20 --- a/sci-chemistry/molsketch/Manifest
21 +++ b/sci-chemistry/molsketch/Manifest
22 @@ -1 +1,2 @@
23 DIST Molsketch-0.4.1-src.tar.gz 1499842 BLAKE2B 22584f012e838037f9e23c16da6c63984604002884d279b2b6012d80eb08af9ee18b4d364fa29327572854fccad34840f97413b29b487cfbeb6496a2a8003d17 SHA512 263b088c2b8d01c1f13802b18aea6f6784580fe1a806de45b0e1ecd9f29024350e01a611bdeed1891938acc733a42746203d345d3be13ebaf4c309413e86bf26
24 +DIST Molsketch-0.7.2-src.tar.gz 1907992 BLAKE2B 6bd099d963f352e66f73741273e9dee17f2fb299aec32b053ca39aa731a27f6a73093f98a4dbde2b6a97b85015016d1136fa4ead5f564006991b83072009ee6a SHA512 5e06f177ed4e7e8457215e07b623b1d92fa111f696fd7a106b0a6e8c56cc9c7d953fc33e0c0955c19766599d41a82519db95e12c0c49d3e4d3392311af3cc034
25
26 diff --git a/sci-chemistry/molsketch/molsketch-0.7.2.ebuild b/sci-chemistry/molsketch/molsketch-0.7.2.ebuild
27 new file mode 100644
28 index 000000000000..e84950829ab1
29 --- /dev/null
30 +++ b/sci-chemistry/molsketch/molsketch-0.7.2.ebuild
31 @@ -0,0 +1,37 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit cmake xdg
38 +
39 +DESCRIPTION="A drawing tool for 2D molecular structures"
40 +HOMEPAGE="http://molsketch.sourceforge.net/"
41 +SRC_URI="mirror://sourceforge/project/${PN}/Molsketch/${P^}-src.tar.gz"
42 +S="${WORKDIR}/${P^}"
43 +
44 +LICENSE="GPL-2"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
47 +
48 +DEPEND="
49 + >=sci-chemistry/openbabel-3
50 + dev-qt/qtcore:5
51 + dev-qt/qtgui:5
52 + dev-qt/qtprintsupport:5
53 + dev-qt/qtsvg:5
54 + dev-qt/qtwidgets:5
55 +"
56 +RDEPEND="${DEPEND}"
57 +
58 +PATCHES=(
59 + "${FILESDIR}"/${PN}-0.3.0-_DEFAULT_SOURCE.patch
60 +)
61 +
62 +src_configure() {
63 + local mycmakeargs=(
64 + # fix the doc dir, this is relative to the install dir (i.e. /usr/)
65 + -DMSK_INSTALL_DOCS="/share/doc/${PF}"
66 + )
67 + cmake_src_configure
68 +}