Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Craig Andrews <candrews@gentoo.org>
<longdescription lang="en">
Radeon Open Compute Platform Runtime
</longdescription>
+ <use>
+ <flag name="nonfree">Enables HSA image support using <pkg>dev-libs/hsa-ext-rocr</pkg></flag>
+ </use>
</pkgmetadata>
LICENSE="MIT"
SLOT="0/$(ver_cut 1-2)"
+IUSE="nonfree"
-RDEPEND="sys-process/numactl"
-DEPEND="${RDEPEND}
+COMMON_DEPEND="sys-process/numactl"
+RDEPEND="${COMMON_DEPEND}
+ nonfree? ( dev-libs/hsa-ext-rocr )"
+DEPEND="${COMMON_DEPEND}
>=dev-libs/roct-thunk-interface-${PV}"
src_prepare() {
LICENSE="MIT"
SLOT="0/$(ver_cut 1-2)"
+IUSE="nonfree"
-RDEPEND="sys-process/numactl"
-DEPEND="${RDEPEND}
- dev-libs/roct-thunk-interface"
+COMMON_DEPEND="sys-process/numactl"
+RDEPEND="${COMMON_DEPEND}
+ nonfree? ( dev-libs/hsa-ext-rocr )"
+DEPEND="${COMMON_DEPEND}
+ >=dev-libs/roct-thunk-interface-${PV}"
src_prepare() {
sed -e "s:get_version ( \"1.0.0\" ):get_version ( \"${PV}\" ):" -i CMakeLists.txt || die