-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
48 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
.PHONY: all build check test lint deps clean | ||
|
||
all: deps build | ||
|
||
# Install system dependencies | ||
deps: | ||
sudo apt-get update | ||
sudo apt-get install -y \ | ||
libgstreamer1.0-dev \ | ||
libgstreamer-plugins-base1.0-dev \ | ||
libgstreamer-plugins-bad1.0-dev \ | ||
gstreamer1.0-plugins-base \ | ||
gstreamer1.0-plugins-good \ | ||
gstreamer1.0-plugins-bad \ | ||
gstreamer1.0-plugins-ugly \ | ||
gstreamer1.0-libav \ | ||
gstreamer1.0-tools \ | ||
gstreamer1.0-x \ | ||
gstreamer1.0-alsa \ | ||
gstreamer1.0-gl \ | ||
libglib2.0-dev \ | ||
pkg-config | ||
|
||
# Build the project | ||
build: | ||
cargo build | ||
|
||
# Run cargo check | ||
check: | ||
cargo check | ||
|
||
# Run tests | ||
test: | ||
cargo test | ||
|
||
# Run linting | ||
lint: | ||
cargo clippy | ||
|
||
# Clean build artifacts | ||
clean: | ||
cargo clean |