Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
EAPI=5 |
5 |
EAPI=5 |
6 |
|
6 |
|
7 |
inherit flag-o-matic cuda autotools-utils multilib versionator |
7 |
inherit flag-o-matic cuda autotools-multilib multilib versionator |
8 |
|
8 |
|
9 |
MY_PV=v$(get_version_component_range 1-2) |
9 |
MY_PV=v$(get_version_component_range 1-2) |
10 |
|
10 |
|
Lines 19-38
Link Here
|
19 |
|
19 |
|
20 |
# TODO opencl only works with AMD so no virtual |
20 |
# TODO opencl only works with AMD so no virtual |
21 |
|
21 |
|
22 |
RDEPEND="sys-libs/ncurses |
22 |
RDEPEND=">=sys-libs/ncurses-5.9-r3[${MULTILIB_USEDEP}] |
23 |
cairo? ( x11-libs/cairo[X?,svg?] ) |
23 |
cairo? ( >=x11-libs/cairo-1.12.14-r4[X?,svg?,${MULTILIB_USEDEP}] ) |
24 |
cuda? ( dev-util/nvidia-cuda-toolkit ) |
24 |
cuda? ( dev-util/nvidia-cuda-toolkit ) |
25 |
gl? ( media-video/nvidia-settings ) |
25 |
gl? ( media-video/nvidia-settings ) |
26 |
opencl? ( x11-drivers/ati-drivers ) |
26 |
opencl? ( x11-drivers/ati-drivers ) |
27 |
pci? ( |
27 |
pci? ( |
28 |
sys-apps/pciutils |
28 |
>=sys-apps/pciutils-3.3.0-r2[${MULTILIB_USEDEP}] |
29 |
x11-libs/libpciaccess |
29 |
>=x11-libs/libpciaccess-0.13.1-r1[${MULTILIB_USEDEP}] |
30 |
) |
30 |
) |
31 |
plugins? ( dev-libs/libltdl:0 ) |
31 |
plugins? ( dev-libs/libltdl:0[${MULTILIB_USEDEP}] ) |
32 |
numa? ( sys-process/numactl ) |
32 |
numa? ( >=sys-process/numactl-2.0.10-r1[${MULTILIB_USEDEP}] ) |
33 |
xml? ( dev-libs/libxml2 )" |
33 |
xml? ( >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}] )" |
34 |
DEPEND="${RDEPEND} |
34 |
DEPEND="${RDEPEND} |
35 |
virtual/pkgconfig" |
35 |
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" |
36 |
|
36 |
|
37 |
DOCS=( AUTHORS NEWS README VERSION ) |
37 |
DOCS=( AUTHORS NEWS README VERSION ) |
38 |
|
38 |
|
Lines 48-63
Link Here
|
48 |
autotools-utils_src_prepare |
48 |
autotools-utils_src_prepare |
49 |
} |
49 |
} |
50 |
|
50 |
|
51 |
src_configure() { |
51 |
multilib_src_configure() { |
52 |
export HWLOC_PKG_CONFIG=$(tc-getPKG_CONFIG) #393467 |
52 |
export HWLOC_PKG_CONFIG=$(tc-getPKG_CONFIG) #393467 |
53 |
local myeconfargs=( |
53 |
local myeconfargs=( |
54 |
--disable-silent-rules |
54 |
--disable-silent-rules |
55 |
--docdir="${EPREFIX}"/usr/share/doc/${PF} |
55 |
--docdir="${EPREFIX}"/usr/share/doc/${PF} |
56 |
$(use_enable cairo) |
56 |
$(use_enable cairo) |
57 |
$(use_enable cuda) |
57 |
$(multilib_native_use_enable cuda) |
58 |
$(use_enable debug) |
58 |
$(use_enable debug) |
59 |
$(use_enable gl) |
59 |
$(multilib_native_use_enable gl) |
60 |
$(use_enable opencl) |
60 |
$(multilib_native_use_enable opencl) |
61 |
$(use_enable pci) |
61 |
$(use_enable pci) |
62 |
$(use_enable plugins) |
62 |
$(use_enable plugins) |
63 |
$(use_enable numa libnuma) |
63 |
$(use_enable numa libnuma) |
Lines 66-72
Link Here
|
66 |
) |
66 |
) |
67 |
autotools-utils_src_configure |
67 |
autotools-utils_src_configure |
68 |
} |
68 |
} |
69 |
|
|
|
70 |
src_install() { |
71 |
autotools-utils_src_install |
72 |
} |