- New active_window_volume/mute_active_window actions using kdotool to resolve the focused window under KWin/Wayland. - New mute_group button action for muting multiple apps at once. - New "binary:<name>" needle syntax to disambiguate generic Electron apps that share a PipeWire application.name with an unrelated app; fixes a bug where two knobs/groups matching the same generic name would fight over a stream's volume via the periodic reapply loop. - Add kdotool to PKGBUILD depends, credit original author in README.
57 lines
1.4 KiB
Bash
57 lines
1.4 KiB
Bash
# Maintainer: Sean Doran <sdoran35@gmail.com>
|
|
# AUR updates are automated via GitHub Actions on version tag push
|
|
pkgname=turn-up-arch
|
|
pkgver=2.2.2
|
|
pkgrel=1
|
|
pkgdesc="USB serial knob/button mixer daemon for PipeWire/PulseAudio on Linux"
|
|
arch=('any')
|
|
url="https://github.com/sean351/turn-up-arch"
|
|
license=('MIT')
|
|
depends=(
|
|
'python'
|
|
'python-pyserial'
|
|
'python-pulsectl'
|
|
'python-fastapi'
|
|
'uvicorn'
|
|
'pipewire-pulse'
|
|
'playerctl'
|
|
'kdotool'
|
|
)
|
|
makedepends=(
|
|
'python-build'
|
|
'python-installer'
|
|
'python-wheel'
|
|
'python-hatchling'
|
|
)
|
|
optdepends=(
|
|
'pulseaudio: alternative to pipewire-pulse'
|
|
)
|
|
install=turnupd.install
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/sean351/turn-up-arch/archive/refs/tags/v$pkgver.tar.gz")
|
|
sha256sums=('SKIP')
|
|
|
|
build() {
|
|
cd "$pkgname-$pkgver"
|
|
python -m build --wheel --no-isolation
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname-$pkgver"
|
|
|
|
python -m installer --destdir="$pkgdir" dist/*.whl
|
|
|
|
# Systemd user services
|
|
install -Dm644 contrib/turnupd.service \
|
|
"$pkgdir/usr/lib/systemd/user/turnupd.service"
|
|
install -Dm644 contrib/turnup-ui.service \
|
|
"$pkgdir/usr/lib/systemd/user/turnup-ui.service"
|
|
|
|
# License
|
|
install -Dm644 LICENSE \
|
|
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
|
|
# Documentation
|
|
install -Dm644 README.md \
|
|
"$pkgdir/usr/share/doc/$pkgname/README.md"
|
|
}
|