Skip to content

Commit

Permalink
Use "mpp" from apt instead of building from source
Browse files Browse the repository at this point in the history
  • Loading branch information
seriyps committed Oct 19, 2024
1 parent 0cfecc0 commit 3a7e7f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,8 @@ jobs:
cat > build.sh << EOL
#!/bin/bash
apt-get update
apt-get install -y cmake g++ git pkg-config libcairo-dev libdrm-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
apt-get install -y cmake g++ git pkg-config librockchip-mpp-dev libcairo-dev libdrm-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
cd /home
git clone https://github.com/rockchip-linux/mpp --depth 1
cd mpp
cmake -B build
cmake --build build --target install -j4
cd ..
cmake -B build
cmake --build build -j4
EOL
Expand Down
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,10 @@ Build on the Rockchip linux system directly.

## Install dependencies

- rockchip_mpp
- drm, cairo, mpp

```
git clone https://github.com/rockchip-linux/mpp.git
cmake -B build
sudo cmake --build build --target install
```

- drm, cairo

```
sudo apt install libdrm-dev libcairo-dev
sudo apt install libdrm-dev libcairo-dev librockchip-mpp-dev
```

- gstreamer
Expand Down

0 comments on commit 3a7e7f3

Please sign in to comment.