Skip to content

Commit f2ffad3

Browse files
committed
Add pipewire privacy driver
See greshake#1973
1 parent c790055 commit f2ffad3

File tree

10 files changed

+558
-16
lines changed

10 files changed

+558
-16
lines changed

.github/workflows/docs.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@ jobs:
1212
default:
1313

1414
runs-on: ubuntu-latest
15-
15+
container:
16+
image: archlinux
1617
steps:
18+
- name: Get required packages
19+
run: pacman --noconfirm --noprogressbar -Syu base-devel clang git libpipewire libpulse lm_sensors notmuch openssl rsync
20+
- uses: dtolnay/rust-toolchain@stable
1721
- name: Version information
1822
run: rustc --version; cargo --version
19-
- name: Get required packages
20-
run: sudo apt-get update && sudo apt-get install libsensors-dev libssl-dev libpulse-dev libnotmuch-dev
2123
- uses: actions/checkout@v4
22-
- uses: dtolnay/rust-toolchain@stable
2324
- name: Generate docs
2425
run: cargo doc --all-features --no-deps
2526
- name: Create index.html

.github/workflows/pre-commit.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on: [push, pull_request]
55
jobs:
66
pre-commit:
77
runs-on: ubuntu-latest
8+
container:
9+
image: archlinux
810
strategy:
911
fail-fast: false
1012
matrix:
@@ -23,9 +25,14 @@ jobs:
2325
verify_icon_files
2426
]
2527
steps:
26-
- name: Get required packages
27-
run: sudo apt-get update && sudo apt-get install libsensors-dev libssl-dev libpulse-dev libnotmuch-dev
28+
- name: Get required packages and config git
29+
run: |
30+
pacman --noconfirm --noprogressbar -Syu base-devel clang git libpipewire libpulse lm_sensors notmuch openssl rsync
31+
git config --global --add safe.directory "$GITHUB_WORKSPACE"
2832
- uses: actions/checkout@v4
33+
- uses: dtolnay/rust-toolchain@stable
34+
with:
35+
components: clippy, rustfmt
2936
- uses: actions/setup-python@v5
3037
with:
3138
python-version: '3.10'

Cargo.lock

+201
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ resolver = "2"
1818
[features]
1919
default = ["pulseaudio"]
2020
pulseaudio = ["libpulse-binding"]
21+
pipewire = ["dep:pipewire"]
22+
notmuch = ["dep:notmuch"]
2123
maildir = ["dep:maildir", "glob"]
2224
icu_calendar = ["dep:icu_datetime", "dep:icu_calendar", "dep:icu_locid"]
2325
debug_borders = [] # Make widgets' borders visible
@@ -54,6 +56,7 @@ nix = { version = "0.27", features = ["fs", "process"] }
5456
nom = "7.1.2"
5557
notmuch = { version = "0.8", optional = true }
5658
once_cell = "1"
59+
pipewire = { version = "0.8", default-features = false, optional = true }
5760
regex = "1.5"
5861
reqwest = { version = "0.11", features = ["json"] }
5962
sensors = "0.2.2"

cspell.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ words:
4141
- dbus
4242
- ddcci
4343
- ddcutil
44+
- devel
4445
- dmenu
4546
- docsrs
4647
- dtolnay
@@ -95,9 +96,11 @@ words:
9596
- NLMSG
9697
- nlmsghdr
9798
- nmtui
99+
- noconfirm
98100
- NOFLAGS
99101
- noheader
100102
- NOPASSWD
103+
- noprogressbar
101104
- notif
102105
- Noto
103106
- NZXT

0 commit comments

Comments
 (0)