blob: 36eae982f452b75a40e4084f1b4e9769be7909f2 [file] [log] [blame]
# Copyright 2017 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=5
CROS_WORKON_COMMIT="33cf4d2ed71bccbc0fa9869804c43c99f3cf9af1"
CROS_WORKON_TREE=("e7dba8c91c1f3257c34d4a7ffff0ea2537aeb6bb" "d58be6324ba2a1d0452d23bafb39c869c5ed2cd6" "b99d8a0b7d7f0e2f844af457f29d449cdd953d43" "699346a4dba3ead73e9d5546b99f26d350e61ae4" "584f7cc8998d8fa6c9b041054ce4a352016f477a" "84441b28a7584715021e2faf292e0cf5864ea8bf" "b1c6245dddc7b5e10da108b13f7c3883aa0b6c2c" "7e189936f29d145c4191ea147e48256c92fac75d")
CROS_WORKON_PROJECT="chromiumos/platform2"
CROS_WORKON_LOCALNAME="../platform2"
CROS_WORKON_SUBTREE=".gn camera/build camera/common camera/hal/intel/ipu3 camera/include camera/mojo common-mk metrics"
CROS_WORKON_OUTOFTREE_BUILD="1"
CROS_WORKON_INCREMENTAL_BUILD="1"
PLATFORM_SUBDIR="camera/hal/intel/ipu3"
inherit cros-camera cros-workon platform
DESCRIPTION="Intel IPU3 (Image Processing Unit) Chrome OS camera HAL"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="-* amd64"
RDEPEND="
dev-libs/expat
media-libs/cros-camera-libcab
media-libs/cros-camera-libcamera_client
media-libs/cros-camera-libcamera_common
media-libs/cros-camera-libcamera_exif
media-libs/cros-camera-libcamera_metadata
media-libs/cros-camera-libcamera_v4l2_device
media-libs/cros-camera-libcbm
media-libs/intel-3a-libs-bin
media-libs/intel-pvl-libs-bin
media-libs/libsync"
DEPEND="${RDEPEND}
chromeos-base/metrics
media-libs/cros-camera-android-headers
media-libs/libyuv
sys-kernel/linux-headers
virtual/jpeg:0
virtual/pkgconfig"
src_install() {
dolib.so "${OUT}/lib/libcam_algo.so"
cros-camera_dohal "${OUT}/lib/libcamera_hal.so" intel-ipu3.so
}