1 |
commit: a5ece4c8e7df20cb9aef07dcbf51eb3818a2e616 |
2 |
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 27 12:28:25 2019 +0000 |
4 |
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 27 13:19:59 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5ece4c8 |
7 |
|
8 |
sci-physics/root: update live ebuild |
9 |
|
10 |
This update is mainly to sync build options with |
11 |
upstream changes. |
12 |
|
13 |
Package-Manager: Portage-2.3.67, Repoman-2.3.16 |
14 |
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org> |
15 |
|
16 |
sci-physics/root/root-9999.ebuild | 55 +++++++++------------------------------ |
17 |
1 file changed, 13 insertions(+), 42 deletions(-) |
18 |
|
19 |
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild |
20 |
index 77c8e057cd0..f2580225027 100644 |
21 |
--- a/sci-physics/root/root-9999.ebuild |
22 |
+++ b/sci-physics/root/root-9999.ebuild |
23 |
@@ -16,11 +16,10 @@ DESCRIPTION="C++ data analysis framework and interpreter from CERN" |
24 |
HOMEPAGE="https://root.cern" |
25 |
|
26 |
IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples |
27 |
- fits fftw fortran +gdml graphviz +gsl http jemalloc kerberos ldap |
28 |
- libcxx memstat +minuit mysql odbc +opengl oracle postgres prefix |
29 |
- pythia6 pythia8 +python qt5 R +roofit root7 shadow sqlite +ssl |
30 |
- table +tbb test +threads +tiff +tmva +unuran vc xinetd +xml xrootd |
31 |
- zeroconf" |
32 |
+ fits fftw fortran +gdml graphviz +gsl http libcxx +minuit mysql |
33 |
+ odbc +opengl oracle postgres prefix pythia6 pythia8 +python qt5 R |
34 |
+ +roofit root7 shadow sqlite +ssl +tbb test +tmva +unuran vc vmc |
35 |
+ +xml xrootd" |
36 |
|
37 |
if [[ ${PV} =~ "9999" ]] ; then |
38 |
inherit git-r3 |
39 |
@@ -42,7 +41,7 @@ LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA" |
40 |
REQUIRED_USE=" |
41 |
^^ ( c++11 c++14 c++17 ) |
42 |
cuda? ( tmva !c++17 ) |
43 |
- !X? ( !asimage !opengl !qt5 !tiff ) |
44 |
+ !X? ( !asimage !opengl !qt5 ) |
45 |
davix? ( ssl xml ) |
46 |
python? ( ${PYTHON_REQUIRED_USE} ) |
47 |
qt5? ( root7 ) |
48 |
@@ -80,8 +79,7 @@ CDEPEND=" |
49 |
dev-qt/qtwebengine:5[widgets] |
50 |
) |
51 |
) |
52 |
- asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff?] ) |
53 |
- zeroconf? ( net-dns/avahi[mdnsresponder-compat] ) |
54 |
+ asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff] ) |
55 |
cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 ) |
56 |
davix? ( net-libs/davix ) |
57 |
emacs? ( virtual/emacs ) |
58 |
@@ -90,9 +88,6 @@ CDEPEND=" |
59 |
graphviz? ( media-gfx/graphviz ) |
60 |
gsl? ( sci-libs/gsl:= ) |
61 |
http? ( dev-libs/fcgi:0= ) |
62 |
- jemalloc? ( dev-libs/jemalloc ) |
63 |
- kerberos? ( virtual/krb5 ) |
64 |
- ldap? ( net-nds/openldap:0= ) |
65 |
libcxx? ( sys-libs/libcxx ) |
66 |
unuran? ( sci-mathematics/unuran:0= ) |
67 |
minuit? ( !sci-libs/minuit ) |
68 |
@@ -117,8 +112,7 @@ CDEPEND=" |
69 |
DEPEND="${CDEPEND} |
70 |
virtual/pkgconfig" |
71 |
|
72 |
-RDEPEND="${CDEPEND} |
73 |
- xinetd? ( sys-apps/xinetd )" |
74 |
+RDEPEND="${CDEPEND}" |
75 |
|
76 |
PATCHES=( |
77 |
"${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch |
78 |
@@ -157,6 +151,7 @@ src_configure() { |
79 |
local mycmakeargs=( |
80 |
-DCMAKE_C_FLAGS="${CFLAGS}" |
81 |
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" |
82 |
+ -DCMAKE_CXX_STANDARD=$(usev c++11 || usev c++14 || usev c++17 | cut -c4-) |
83 |
-DPYTHON_EXECUTABLE="${PYTHON}" |
84 |
-DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")" |
85 |
-DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)" |
86 |
@@ -194,24 +189,15 @@ src_configure() { |
87 |
-Dbuiltin_xxhash=OFF |
88 |
-Dbuiltin_zlib=OFF |
89 |
-Dx11=$(usex X) |
90 |
- -Dxft=$(usex X) |
91 |
- -Dafdsmgrd=OFF |
92 |
- -Dafs=OFF # not implemented |
93 |
-Dalien=OFF |
94 |
+ -Darrow=OFF |
95 |
-Dasimage=$(usex asimage) |
96 |
- -Dastiff=$(usex tiff) |
97 |
- -Dbonjour=$(usex zeroconf) |
98 |
-Dlibcxx=$(usex libcxx) |
99 |
-Dccache=OFF # use ccache via portage |
100 |
- -Dcastor=OFF |
101 |
- -Dchirp=OFF |
102 |
+ -Dcefweb=OFF |
103 |
-Dclad=OFF |
104 |
- -Dcling=ON # cling=OFF is broken |
105 |
-Dcocoa=$(usex aqua) |
106 |
-Dcuda=$(usex cuda) |
107 |
- -Dcxx11=$(usex c++11) |
108 |
- -Dcxx14=$(usex c++14) |
109 |
- -Dcxx17=$(usex c++17) |
110 |
-Dcxxmodules=OFF # requires clang, unstable |
111 |
-Ddavix=$(usex davix) |
112 |
-Ddcache=OFF |
113 |
@@ -220,62 +206,47 @@ src_configure() { |
114 |
-Dfortran=$(usex fortran) |
115 |
-Dftgl=$(usex opengl) |
116 |
-Dgdml=$(usex gdml) |
117 |
- -Dgenvector=ON # genvector=OFF ignored |
118 |
- -Dgeocad=OFF |
119 |
-Dgfal=OFF |
120 |
-Dgl2ps=$(usex opengl) |
121 |
- -Dglite=OFF # not implemented |
122 |
- -Dglobus=OFF |
123 |
-Dgminimal=OFF |
124 |
-Dgsl_shared=$(usex gsl) |
125 |
-Dgviz=$(usex graphviz) |
126 |
- -Dhdfs=OFF |
127 |
-Dhttp=$(usex http) |
128 |
-Dimt=$(usex tbb) |
129 |
- -Djemalloc=$(usex jemalloc) |
130 |
- -Dkrb5=$(usex kerberos) |
131 |
- -Dldap=$(usex ldap) |
132 |
-Dmathmore=$(usex gsl) |
133 |
- -Dmemstat=$(usex memstat) |
134 |
+ -Dmemstat=OFF # deprecated |
135 |
-Dminimal=OFF |
136 |
-Dminuit2=$(usex minuit) |
137 |
-Dminuit=$(usex minuit) |
138 |
+ -Dmlp=$(usex tmva) |
139 |
-Dmonalisa=OFF |
140 |
-Dmysql=$(usex mysql) |
141 |
-Dodbc=$(usex odbc) |
142 |
-Dopengl=$(usex opengl) |
143 |
-Doracle=$(usex oracle) |
144 |
- -Dpch=ON # pch=OFF is broken |
145 |
-Dpgsql=$(usex postgres) |
146 |
-Dpythia6=$(usex pythia6) |
147 |
-Dpythia8=$(usex pythia8) |
148 |
-Dpython=$(usex python) |
149 |
-Dqt5web=$(usex qt5) |
150 |
- -Dqtgsi=OFF |
151 |
- -Dqt=OFF |
152 |
- -Drfio=OFF |
153 |
-Droofit=$(usex roofit) |
154 |
-Droot7=$(usex root7) |
155 |
-Drootbench=OFF |
156 |
-Droottest=OFF |
157 |
-Drpath=OFF |
158 |
- -Druby=OFF # deprecated and broken |
159 |
-Druntime_cxxmodules=OFF # does not work yet |
160 |
-Dr=$(usex R) |
161 |
- -Dsapdb=OFF # not implemented |
162 |
-Dshadowpw=$(usex shadow) |
163 |
-Dsqlite=$(usex sqlite) |
164 |
- -Dsrp=OFF # not implemented |
165 |
-Dssl=$(usex ssl) |
166 |
- -Dtable=$(usex table) |
167 |
-Dtcmalloc=OFF |
168 |
-Dtesting=$(usex test) |
169 |
- -Dthread=$(usex threads) |
170 |
-Dtmva=$(usex tmva) |
171 |
-Dtmva-cpu=$(usex tmva) |
172 |
-Dtmva-gpu=$(usex cuda) |
173 |
-Dunuran=$(usex unuran) |
174 |
-Dvc=$(usex vc) |
175 |
+ -Dvmc=$(usex vmc) |
176 |
-Dvdt=OFF |
177 |
-Dveccore=OFF |
178 |
-Dxml=$(usex xml) |