Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/ctffind/
Date: Mon, 03 May 2021 10:45:34
Message-Id: 1620038722.620dd85c75eda352f306496b3049841479ea3800.andrewammerlaan@gentoo
1 commit: 620dd85c75eda352f306496b3049841479ea3800
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Mon May 3 10:45:22 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Mon May 3 10:45:22 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=620dd85c
7
8 sci-chemistry/ctffind: fix use of wxwidgets eclass
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12
13 sci-chemistry/ctffind/ctffind-4.1.14.ebuild | 8 +++++++-
14 1 file changed, 7 insertions(+), 1 deletion(-)
15
16 diff --git a/sci-chemistry/ctffind/ctffind-4.1.14.ebuild b/sci-chemistry/ctffind/ctffind-4.1.14.ebuild
17 index d48db4012..ae4ced4e5 100644
18 --- a/sci-chemistry/ctffind/ctffind-4.1.14.ebuild
19 +++ b/sci-chemistry/ctffind/ctffind-4.1.14.ebuild
20 @@ -1,8 +1,9 @@
21 -# Copyright 2019-2020 Gentoo Authors
22 +# Copyright 2019-2021 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=7
26
27 +WX_GTK_VER="3.0-gtk3"
28 inherit wxwidgets
29
30 DESCRIPTION="CTF estimation (ctffind, ctftilt)"
31 @@ -29,3 +30,8 @@ src_prepare() {
32 sed /pdb/d -i src/core/core_headers.h || die "removing pdb.h failed"
33 sed /water/d -i src/core/core_headers.h || die "removing water.h failed"
34 }
35 +
36 +src_configure() {
37 + setup-wxwidgets
38 + default
39 +}