summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <sven.eden@prydeworx.com>2022-07-27 13:40:07 +0200
committerFlorian Schmaus <flow@gentoo.org>2022-08-01 10:34:38 +0200
commit237775050e361deea34a09d476f5e12c3b3e4df0 (patch)
tree7c50aa7c6e158ac7e107ba8178c0cba64bf243a7 /sci-misc
parentsci-misc/boinc: drop 7.18.1-r2 (diff)
downloadgentoo-237775050e361deea34a09d476f5e12c3b3e4df0.tar.gz
gentoo-237775050e361deea34a09d476f5e12c3b3e4df0.tar.bz2
gentoo-237775050e361deea34a09d476f5e12c3b3e4df0.zip
sci-misc/boinc: Apply the 7.20.2 updates to the live ebuild
Signed-off-by: Sven Eden <sven.eden@prydeworx.com> Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/boinc/boinc-9999.ebuild38
1 files changed, 24 insertions, 14 deletions
diff --git a/sci-misc/boinc/boinc-9999.ebuild b/sci-misc/boinc/boinc-9999.ebuild
index 7f348a89ae3c..b6be3bb05451 100644
--- a/sci-misc/boinc/boinc-9999.ebuild
+++ b/sci-misc/boinc/boinc-9999.ebuild
@@ -25,18 +25,36 @@ fi
LICENSE="LGPL-3"
SLOT="0"
-IUSE="X cuda curl_ssl_gnutls +curl_ssl_openssl"
-REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_openssl ) "
+IUSE_VIDEO_CARDS="
+ video_cards_amdgpu
+ video_cards_intel
+ video_cards_nvidia
+ video_cards_radeonsi
+"
+
+IUSE="${IUSE_VIDEO_CARDS} X cuda curl_ssl_gnutls +curl_ssl_openssl opencl"
+
+REQUIRED_USE="
+ ^^ ( curl_ssl_gnutls curl_ssl_openssl )
+ cuda? ( opencl video_cards_nvidia )
+ opencl? ( || ( ${IUSE_VIDEO_CARDS} ) )
+"
# libcurl must not be using an ssl backend boinc does not support.
# If the libcurl ssl backend changes, boinc should be recompiled.
DEPEND="
acct-user/boinc
- >=app-misc/ca-certificates-20080809
+ app-misc/ca-certificates
cuda? (
- >=dev-util/nvidia-cuda-toolkit-2.1
- >=x11-drivers/nvidia-drivers-180.22
+ dev-util/nvidia-cuda-toolkit
+ x11-drivers/nvidia-drivers
+ )
+ opencl? (
+ video_cards_amdgpu? ( amd64? ( dev-libs/rocm-opencl-runtime ) )
+ video_cards_intel? ( amd64? ( dev-libs/intel-compute-runtime ) )
+ video_cards_nvidia? ( x11-drivers/nvidia-drivers media-gfx/nvidia-cg-toolkit )
+ video_cards_radeonsi? ( media-libs/mesa[opencl] )
)
dev-libs/openssl:=
net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
@@ -47,7 +65,7 @@ DEPEND="
media-libs/freeglut
media-libs/libjpeg-turbo:=
x11-libs/gtk+:3
- >=x11-libs/libnotify-0.7
+ x11-libs/libnotify
x11-libs/libX11
x11-libs/libXScrnSaver
x11-libs/libxcb:=
@@ -181,14 +199,6 @@ pkg_postinst() {
elog "Run as root:"
elog "gpasswd -a boinc video"
elog
- # Add information about BOINC supporting OpenCL
- elog "BOINC supports OpenCL. To use it you have to eselect"
- if use cuda; then
- elog "nvidia as the OpenCL implementation, as you are using CUDA."
- else
- elog "the correct OpenCL implementation for your graphic card."
- fi
- elog
}
pkg_postrm() {