aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/cmdock/cmdock-0.1.4-r1.ebuild (renamed from sci-biology/cmdock/cmdock-0.1.4.ebuild)8
-rw-r--r--sci-biology/cmdock/files/cmdock-0.1.4-fix-detection.patch15
-rw-r--r--sci-biology/cmdock/metadata.xml2
3 files changed, 21 insertions, 4 deletions
diff --git a/sci-biology/cmdock/cmdock-0.1.4.ebuild b/sci-biology/cmdock/cmdock-0.1.4-r1.ebuild
index 70befcfcc..cf79531ec 100644
--- a/sci-biology/cmdock/cmdock-0.1.4.ebuild
+++ b/sci-biology/cmdock/cmdock-0.1.4-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
BOINC_APP_OPTIONAL="true"
@@ -14,7 +14,7 @@ DOCS_DIR="docs"
inherit python-any-r1 boinc-app docs flag-o-matic meson
DESCRIPTION="Program for docking ligands to proteins and nucleic acids"
-HOMEPAGE="https://gitlab.com/Jukic/cmdock https://www.rxdock.org"
+HOMEPAGE="https://gitlab.com/Jukic/cmdock"
SRC_URI="https://gitlab.com/Jukic/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz"
S="${WORKDIR}/${PN}-v${PV}"
@@ -35,6 +35,8 @@ BDEPEND="
doc? ( app-doc/doxygen )
"
+PATCHES=( "${FILESDIR}"/cmdock-0.1.4-fix-detection.patch )
+
DOCS=( INSTALL.md README.md )
BOINC_MASTER_URL="https://www.sidock.si/sidock/"
diff --git a/sci-biology/cmdock/files/cmdock-0.1.4-fix-detection.patch b/sci-biology/cmdock/files/cmdock-0.1.4-fix-detection.patch
new file mode 100644
index 000000000..fceae1e5c
--- /dev/null
+++ b/sci-biology/cmdock/files/cmdock-0.1.4-fix-detection.patch
@@ -0,0 +1,15 @@
+--- a/meson.build
++++ b/meson.build
+@@ -79,8 +79,10 @@
+
+ cpp_compiler = meson.get_compiler('cpp')
+
+-extended_encoders_available = (cpp_compiler.has_header('emmintrin.h') and
+- host_machine.cpu_family() == 'x86' and host_machine.cpu_family() == 'x86_64')
++extended_encoders_available = (
++ cpp_compiler.has_header('emmintrin.h') and
++ (host_machine.cpu_family() == 'x86' or host_machine.cpu_family() == 'x86_64')
++)
+
+ if not extended_encoders_available
+ add_project_arguments('-DBUNDLE_NO_SSE', language: 'cpp')
diff --git a/sci-biology/cmdock/metadata.xml b/sci-biology/cmdock/metadata.xml
index beddf8090..3f0fcb55e 100644
--- a/sci-biology/cmdock/metadata.xml
+++ b/sci-biology/cmdock/metadata.xml
@@ -4,7 +4,7 @@
<upstream>
<remote-id type="gitlab">Jukic/cmdock</remote-id>
<bugs-to>https://gitlab.com/Jukic/cmdock/-/issues</bugs-to>
- <doc>https://www.rxdock.org/documentation/devel/html</doc>
+ <doc>https://rxdock.gitlab.io/documentation/devel/html/</doc>
</upstream>
<maintainer type="person">
<email>cyber+gentoo@sysrq.in</email>