commit: 620dd85c75eda352f306496b3049841479ea3800
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon May 3 10:45:22 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon May 3 10:45:22 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=620dd85c
sci-chemistry/ctffind: fix use of wxwidgets eclass
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
sci-chemistry/ctffind/ctffind-4.1.14.ebuild | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/sci-chemistry/ctffind/ctffind-4.1.14.ebuild
b/sci-chemistry/ctffind/ctffind-4.1.14.ebuild
index d48db4012..ae4ced4e5 100644
--- a/sci-chemistry/ctffind/ctffind-4.1.14.ebuild
+++ b/sci-chemistry/ctffind/ctffind-4.1.14.ebuild
@@ -1,8 +1,9 @@
-# Copyright 2019-2020 Gentoo Authors
+# Copyright 2019-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+WX_GTK_VER="3.0-gtk3"
inherit wxwidgets
DESCRIPTION="CTF estimation (ctffind, ctftilt)"
@@ -29,3 +30,8 @@ src_prepare() {
sed /pdb/d -i src/core/core_headers.h || die "removing pdb.h failed"
sed /water/d -i src/core/core_headers.h || die "removing water.h failed"
}
+
+src_configure() {
+ setup-wxwidgets
+ default
+}