media-libs/arc-mesa: Add support for multilib

Use multilib-minimal eclass instead of multilib, add necessary ABI flags
to dependencies, change src_configure() and src_install() into their
multilib equivalents, set up arc-build in the global src_configure(),
stop overriding library path, set ECONF_SOURCE path explicitly to source
path and use $(get_libdir) in src_install() to dynamically determine the
correct destination for current ABI.

BUG=b:36540057
TEST=emerge-reef arc-mesa

Change-Id: Ic1f64b8f1ce0ff1926f70a24f04cef17ddf13d00
Reviewed-on: https://chromium-review.googlesource.com/488748
Commit-Ready: Tomasz Figa <tfiga@chromium.org>
Tested-by: Tomasz Figa <tfiga@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
1 file changed