Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/gnome-chemistry-utils/
Date: Thu, 08 Jul 2021 12:51:50
Message-Id: 1625748701.a20885e18041f72998e170f9f89faef764516c8c.pacho@gentoo
1 commit: a20885e18041f72998e170f9f89faef764516c8c
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 8 12:46:56 2021 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 8 12:51:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a20885e1
7
8 sci-chemistry/gnome-chemistry-utils: Version bump
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 sci-chemistry/gnome-chemistry-utils/Manifest | 1 +
14 .../gnome-chemistry-utils-0.14.17_p6.ebuild | 71 ++++++++++++++++++++++
15 2 files changed, 72 insertions(+)
16
17 diff --git a/sci-chemistry/gnome-chemistry-utils/Manifest b/sci-chemistry/gnome-chemistry-utils/Manifest
18 index 16dad10fb3d..78dc5b8b10e 100644
19 --- a/sci-chemistry/gnome-chemistry-utils/Manifest
20 +++ b/sci-chemistry/gnome-chemistry-utils/Manifest
21 @@ -1,2 +1,3 @@
22 DIST gnome-chemistry-utils-0.14.17.tar.xz 5911248 BLAKE2B 5d3bb4afbe3d3f620912e810717f08674d56a11c384b1fb239788cfbbb625797e8c52de2b6d940ae7f3d83847533afedd6ed961b1fa0ea1cec62dda88de1a6df SHA512 01bb964e1484e028c5965f1de74798422b448823047fcadf668dc76e98b3e214939a2f031d0182c717c4376f490e5969a4604ee66d1763e6b480032d7ae97468
23 DIST gnome-chemistry-utils_0.14.17-5.debian.tar.xz 67836 BLAKE2B af9365a25740d11f798daaf38880e040c6d66b5ba0b27f52da9bc4f1391568f572eeefa6360089382a966c630b9e362276a535553faa0c0d1a498619fb500543 SHA512 15bb81b1a03c778807dd16d98bc8608fb4d0488ea33d277a048487b3b440abd0ba64edb907a57650e9b0be9dc1a6826a9baaf4a74fc140836f38baf790a767ec
24 +DIST gnome-chemistry-utils_0.14.17-6.debian.tar.xz 68528 BLAKE2B 2e4d318a5b91ca7963829c40c5d732a0ffa7fd9f4a32a6727f4926d2d4ec57989f50bd6839da49b4fa71dc533830bd0926205e952f08d04c08320e76ab51914c SHA512 8c6fad95c5d5e0895666fb9fb880364a9e3ab89761893b812c2cf835265acb40abe6b40def0960e1b38a0eea441310a3c1af608a2bcea37d5558533c9151e309
25
26 diff --git a/sci-chemistry/gnome-chemistry-utils/gnome-chemistry-utils-0.14.17_p6.ebuild b/sci-chemistry/gnome-chemistry-utils/gnome-chemistry-utils-0.14.17_p6.ebuild
27 new file mode 100644
28 index 00000000000..39ccfb1ca63
29 --- /dev/null
30 +++ b/sci-chemistry/gnome-chemistry-utils/gnome-chemistry-utils-0.14.17_p6.ebuild
31 @@ -0,0 +1,71 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +inherit autotools xdg
37 +
38 +DESCRIPTION="Programs and library containing GTK widgets and C++ classes related to chemistry"
39 +HOMEPAGE="http://gchemutils.nongnu.org/"
40 +SRC_URI="
41 + http://download.savannah.gnu.org/releases/gchemutils/$(ver_cut 1-2)/${P/_p*}.tar.xz
42 + mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-${PV/*_p}.debian.tar.xz
43 +"
44 +
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +LICENSE="GPL-3"
48 +IUSE="gnumeric"
49 +
50 +RDEPEND="
51 + >=dev-libs/glib-2.36.0:2
52 + >=dev-libs/libxml2-2.4.16:2
53 + >=gnome-extra/libgsf-1.14.9
54 + >=sci-chemistry/bodr-5
55 + >=sci-chemistry/chemical-mime-data-0.1.94
56 + >=sci-chemistry/openbabel-2.3.0:0
57 + >=x11-libs/cairo-1.6.0
58 + >=x11-libs/gdk-pixbuf-2.22.0
59 + >=x11-libs/goffice-0.10.12
60 + x11-libs/gtk+:3
61 + >=x11-libs/libX11-1.0.0
62 + virtual/glu
63 + gnumeric? ( >=app-office/gnumeric-1.12.42:= )
64 +"
65 +DEPEND="${RDEPEND}"
66 +BDEPEND="
67 + app-doc/doxygen
68 + app-text/yelp-tools
69 + virtual/pkgconfig
70 +"
71 +
72 +S="${WORKDIR}/${P/_p*}"
73 +
74 +src_prepare() {
75 + xdg_src_prepare
76 +
77 + # We don't have openbabel3 yet
78 + sed -i -e '/openbabel-v3/d' "${WORKDIR}"/debian/patches/series || die
79 + # Debian patches
80 + for p in $(<"${WORKDIR}"/debian/patches/series) ; do
81 + eapply -p1 "${WORKDIR}/debian/patches/${p}"
82 + done
83 +
84 + eautoreconf
85 +}
86 +
87 +src_configure() {
88 + # lasem is not in the tree
89 + econf \
90 + --without-lasem \
91 + --disable-mozilla-plugin \
92 + --disable-update-databases
93 +}
94 +
95 +src_install() {
96 + default
97 +
98 + mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die
99 + rm -rf "${ED}"/usr/share/mimelnk/ || die
100 +
101 + find "${D}" -name '*.la' -type f -delete || die
102 +}