commit:     e4b26afe8e26547c7696cc6969cf494801ea5935
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  1 11:58:06 2023 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Wed Feb  1 11:58:06 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=e4b26afe

sci-chemistry/ctffind: add 4.1.10, 4.1.13

Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>

 sci-chemistry/ctffind/ctffind-4.1.10.ebuild | 37 +++++++++++++++++++++++++++++
 sci-chemistry/ctffind/ctffind-4.1.13.ebuild | 37 +++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/sci-chemistry/ctffind/ctffind-4.1.10.ebuild 
b/sci-chemistry/ctffind/ctffind-4.1.10.ebuild
new file mode 100644
index 000000000..a69a36308
--- /dev/null
+++ b/sci-chemistry/ctffind/ctffind-4.1.10.ebuild
@@ -0,0 +1,37 @@
+# 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)"
+HOMEPAGE="https://grigoriefflab.umassmed.edu/";
+SRC_URI="https://grigoriefflab.umassmed.edu/system/tdf?path=ctffind-${PV}.tar.gz&file=1&type=node&id=26
 -> ${P}.tar.gz"
+
+LICENSE="Janelia-1.2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+       sci-libs/fftw:3.0
+       media-libs/libjpeg-turbo
+       media-libs/tiff
+       x11-libs/wxGTK:*
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+       ${DEPEND}
+       virtual/pkgconfig"
+
+src_prepare() {
+       default
+       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
+}

diff --git a/sci-chemistry/ctffind/ctffind-4.1.13.ebuild 
b/sci-chemistry/ctffind/ctffind-4.1.13.ebuild
new file mode 100644
index 000000000..a69a36308
--- /dev/null
+++ b/sci-chemistry/ctffind/ctffind-4.1.13.ebuild
@@ -0,0 +1,37 @@
+# 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)"
+HOMEPAGE="https://grigoriefflab.umassmed.edu/";
+SRC_URI="https://grigoriefflab.umassmed.edu/system/tdf?path=ctffind-${PV}.tar.gz&file=1&type=node&id=26
 -> ${P}.tar.gz"
+
+LICENSE="Janelia-1.2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+       sci-libs/fftw:3.0
+       media-libs/libjpeg-turbo
+       media-libs/tiff
+       x11-libs/wxGTK:*
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+       ${DEPEND}
+       virtual/pkgconfig"
+
+src_prepare() {
+       default
+       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
+}

Reply via email to