Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/
Date: Mon, 01 Aug 2022 08:35:11
Message-Id: 1659342878.237775050e361deea34a09d476f5e12c3b3e4df0.flow@gentoo
1 commit: 237775050e361deea34a09d476f5e12c3b3e4df0
2 Author: Sven Eden <sven.eden <AT> prydeworx <DOT> com>
3 AuthorDate: Wed Jul 27 11:40:07 2022 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 1 08:34:38 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23777505
7
8 sci-misc/boinc: Apply the 7.20.2 updates to the live ebuild
9
10 Signed-off-by: Sven Eden <sven.eden <AT> prydeworx.com>
11 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
12
13 sci-misc/boinc/boinc-9999.ebuild | 38 ++++++++++++++++++++++++--------------
14 1 file changed, 24 insertions(+), 14 deletions(-)
15
16 diff --git a/sci-misc/boinc/boinc-9999.ebuild b/sci-misc/boinc/boinc-9999.ebuild
17 index 7f348a89ae3c..b6be3bb05451 100644
18 --- a/sci-misc/boinc/boinc-9999.ebuild
19 +++ b/sci-misc/boinc/boinc-9999.ebuild
20 @@ -25,18 +25,36 @@ fi
21
22 LICENSE="LGPL-3"
23 SLOT="0"
24 -IUSE="X cuda curl_ssl_gnutls +curl_ssl_openssl"
25
26 -REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_openssl ) "
27 +IUSE_VIDEO_CARDS="
28 + video_cards_amdgpu
29 + video_cards_intel
30 + video_cards_nvidia
31 + video_cards_radeonsi
32 +"
33 +
34 +IUSE="${IUSE_VIDEO_CARDS} X cuda curl_ssl_gnutls +curl_ssl_openssl opencl"
35 +
36 +REQUIRED_USE="
37 + ^^ ( curl_ssl_gnutls curl_ssl_openssl )
38 + cuda? ( opencl video_cards_nvidia )
39 + opencl? ( || ( ${IUSE_VIDEO_CARDS} ) )
40 +"
41
42 # libcurl must not be using an ssl backend boinc does not support.
43 # If the libcurl ssl backend changes, boinc should be recompiled.
44 DEPEND="
45 acct-user/boinc
46 - >=app-misc/ca-certificates-20080809
47 + app-misc/ca-certificates
48 cuda? (
49 - >=dev-util/nvidia-cuda-toolkit-2.1
50 - >=x11-drivers/nvidia-drivers-180.22
51 + dev-util/nvidia-cuda-toolkit
52 + x11-drivers/nvidia-drivers
53 + )
54 + opencl? (
55 + video_cards_amdgpu? ( amd64? ( dev-libs/rocm-opencl-runtime ) )
56 + video_cards_intel? ( amd64? ( dev-libs/intel-compute-runtime ) )
57 + video_cards_nvidia? ( x11-drivers/nvidia-drivers media-gfx/nvidia-cg-toolkit )
58 + video_cards_radeonsi? ( media-libs/mesa[opencl] )
59 )
60 dev-libs/openssl:=
61 net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
62 @@ -47,7 +65,7 @@ DEPEND="
63 media-libs/freeglut
64 media-libs/libjpeg-turbo:=
65 x11-libs/gtk+:3
66 - >=x11-libs/libnotify-0.7
67 + x11-libs/libnotify
68 x11-libs/libX11
69 x11-libs/libXScrnSaver
70 x11-libs/libxcb:=
71 @@ -181,14 +199,6 @@ pkg_postinst() {
72 elog "Run as root:"
73 elog "gpasswd -a boinc video"
74 elog
75 - # Add information about BOINC supporting OpenCL
76 - elog "BOINC supports OpenCL. To use it you have to eselect"
77 - if use cuda; then
78 - elog "nvidia as the OpenCL implementation, as you are using CUDA."
79 - else
80 - elog "the correct OpenCL implementation for your graphic card."
81 - fi
82 - elog
83 }
84
85 pkg_postrm() {