Add script for setting up the camera
This commit is contained in:
parent
e02fc6338c
commit
45293a6a5a
2 changed files with 12 additions and 0 deletions
|
@ -27,6 +27,7 @@ source "$softwareRoot/rclone/install.sh"
|
|||
|
||||
# Install surface-linux and Secure Boot
|
||||
source "$popOSRoot/linux-surface.sh"
|
||||
source "$popOSRoot/camera.sh"
|
||||
source "$popOSRoot/secure-boot.sh"
|
||||
|
||||
# Install Brave
|
||||
|
|
11
scripts/PopOS/camera.sh
Executable file
11
scripts/PopOS/camera.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
sudo apt install \
|
||||
build-essential meson ninja-build pkg-config libgnutls28-dev openssl \
|
||||
python3-pip python3-yaml python3-ply python3-jinja2 \
|
||||
qtbase5-dev libqt5core5a libqt5gui5 libqt5widgets5 qttools5-dev-tools \
|
||||
libtiff-dev libevent-dev libyaml-dev \
|
||||
gstreamer1.0-tools libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
|
||||
git clone https://git.libcamera.org/libcamera/libcamera.git
|
||||
cd libcamera
|
||||
meson build -Dpipelines=uvcvideo,vimc,ipu3 -Dipas=vimc,ipu3 -Dprefix=/usr -Dgstreamer=enabled
|
||||
ninja -C build
|
||||
sudo ninja -C build install
|
Loading…
Reference in a new issue