Build cosmic-comp debug

This commit is contained in:
Gerald Pinder
2024-11-25 21:15:43 -05:00
parent 9032798a19
commit 0bd28df4bb
7 changed files with 48 additions and 9 deletions

View File

@@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -euo pipefail
apt-get update && apt-get install -y git libudev-dev libseat-dev libxkbcommon-dev libinput-dev libgbm-dev
mkdir -p /src/
cd /src/
git clone https://github.com/pop-os/cosmic-comp.git
cd cosmic-comp
make vendor
make all DEBUG=1 VENDOR=1
mkdir -p /out/
mv target/debug/cosmic-comp /out/cosmic-comp