@@ -6,7 +6,7 @@ EAPI=7
CROS_WORKON_PROJECT="chromiumos/third_party/libcamera"
CROS_WORKON_INCREMENTAL_BUILD="1"
-inherit cros-workon meson
+inherit cros-camera cros-workon meson
DESCRIPTION="Camera support library for Linux"
HOMEPAGE="https://www.libcamera.org"
@@ -67,7 +67,7 @@ src_compile() {
src_install() {
meson_src_install
- dosym ../libcamera.so "/usr/$(get_libdir)/camera_hal/libcamera.so"
+ cros-camera_dohal "${D}/usr/$(get_libdir)/libcamera-hal.so" libcamera-hal.so
dostrip -x "/usr/$(get_libdir)/libcamera/"
}