blob: e4694ea64f6fa394f2a7897d6e8cf5bfed57e94d [file] [log] [blame]
# Copyright 2016 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cros-constants
DESCRIPTION="Install codec configuration for ARC++"
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="*"
IUSE="android-container-pi"
S="${WORKDIR}"
RDEPEND="!chromeos-base/arc-codec-software"
src_install() {
insinto "${ARC_VENDOR_DIR}/etc/"
if use android-container-pi; then
ARC_CODEC_DIR="${FILESDIR}/pic"
else
ARC_CODEC_DIR="${FILESDIR}/nyc"
fi
doins "${ARC_CODEC_DIR}"/*
}