mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 07:22:38 +01:00
media-libs/ipu7-camera-hal: add udev rules
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
# Remove the 'uaccess' tag from ipu7 video4linux devices to avoid the application like Cheese seeing them.
|
||||||
|
SUBSYSTEM=="video4linux", ENV{ID_V4L_PRODUCT}=="ipu7", TAG-="uaccess"
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
inherit cmake
|
inherit cmake udev
|
||||||
|
|
||||||
COMMIT_ID="affeb2200bfa61f98ef4be08ff046767d40fcedf"
|
COMMIT_ID="affeb2200bfa61f98ef4be08ff046767d40fcedf"
|
||||||
|
|
||||||
@@ -40,8 +40,21 @@ src_configure() {
|
|||||||
-DBUILD_CAMHAL_ADAPTOR=ON
|
-DBUILD_CAMHAL_ADAPTOR=ON
|
||||||
-DBUILD_CAMHAL_PLUGIN=ON
|
-DBUILD_CAMHAL_PLUGIN=ON
|
||||||
-DIPU_VERSIONS="ipu7x;ipu75xa"
|
-DIPU_VERSIONS="ipu7x;ipu75xa"
|
||||||
|
-DUSE_PG_LITE_PIPE=ON
|
||||||
-DUSE_STATIC_GRAPH=ON
|
-DUSE_STATIC_GRAPH=ON
|
||||||
-DUSE_STATIC_GRAPH_AUTOGEN=ON
|
-DUSE_STATIC_GRAPH_AUTOGEN=ON
|
||||||
)
|
)
|
||||||
cmake_src_configure
|
cmake_src_configure
|
||||||
}
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
udev_dorules "${FILESDIR}"/72-intel-mipi-ipu7-camera.rules
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
udev_reload
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
udev_reload
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user