atvv

LOW
maintainer yangtsesu 0 votes scanned 2026-10-31 15:58:34.921556
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: Yangtse Su <yangtsesu at gmail dot com>
2# SPDX-FileCopyrightText: 2026 Yangtse Su <yangtsesu@gmail.com>
3# SPDX-License-Identifier: 0BSD
4#
5# Split release package: the daemon/CLI/MCP and the GTK app share one Cargo
6# build, so the dependency graph is compiled once. The source is the archive
7# attached to the GitHub release; the project repository carries no PKGBUILD.
8#
9# Every bump:
10# makepkg --printsrcinfo | diff - .SRCINFO
11# makepkg -f && namcap atvv-*.pkg.tar.zst
12
13pkgbase=atvv
14pkgname=('atvv' 'atvv-gui')
15pkgver=0.1.0
16pkgrel=1
17arch=('x86_64' 'aarch64')
18url='https://github.com/YangtseSu/atvv-linux'
19license=('GPL-3.0-or-later')
20makedepends=('clang' 'pkgconf' 'rust' 'gtk4' 'libadwaita' 'bluez')
21options=('!debug')
22source=("atvv-linux-$pkgver.tar::https://github.com/YangtseSu/atvv-linux/releases/download/v$pkgver/atvv-linux-$pkgver.tar")
23sha256sums=('98ee8ebd4daec368db8687c2e81c35c6ae252fd5c65b3f0c06a46e9e20c39d17')
24_source="atvv-linux-$pkgver"
25
26prepare() {
27 cd "$_source"
28 cargo fetch --locked
29}
30
31build() {
32 cd "$_source"
33 # One invocation compiles the shared graph once and produces every binary.
34 cargo build --release --offline --locked \
35 -p atvv-daemon -p atvv-cli -p atvv-mcp -p atvv-gui --bins
36}
37
38# No check(): CI runs the workspace tests on the tag. A release test harness
39# here would compile every library a second time.
40
41package_atvv() {
42 pkgdesc='Bluetooth voice remote userspace stack'
43 depends=('pipewire' 'bluez' 'dbus')
44 conflicts=('atvv-git')
45 cd "$_source"
46
47 install -Dm755 target/release/atvvd "$pkgdir/usr/bin/atvvd"
48 install -Dm755 target/release/atvvctl "$pkgdir/usr/bin/atvvctl"
49 install -Dm755 target/release/atvv-mcp "$pkgdir/usr/bin/atvv-mcp"
50
51 install -Dm644 packaging/systemd/atvvd.service \
52 "$pkgdir/usr/lib/systemd/user/atvvd.service"
53 install -Dm644 packaging/udev/70-atvv-linux.rules \
54 "$pkgdir/usr/lib/udev/rules.d/70-atvv-linux.rules"
55 install -Dm644 packaging/modules-load.d/atvv-linux.conf \
56 "$pkgdir/usr/lib/modules-load.d/atvv-linux.conf"
57
58 install -d "$pkgdir/usr/share/man/man1"
59 ./target/release/atvvctl manpages "$pkgdir/usr/share/man/man1"
60 install -m644 packaging/man/atvv-mcp.1 "$pkgdir/usr/share/man/man1/atvv-mcp.1"
61
62 install -d "$pkgdir/usr/share/bash-completion/completions"
63 ./target/release/atvvctl completions bash \
64 >"$pkgdir/usr/share/bash-completion/completions/atvvctl"
65 install -d "$pkgdir/usr/share/zsh/site-functions"
66 ./target/release/atvvctl completions zsh \
67 >"$pkgdir/usr/share/zsh/site-functions/_atvvctl"
68 install -d "$pkgdir/usr/share/fish/vendor_completions.d"
69 ./target/release/atvvctl completions fish \
70 >"$pkgdir/usr/share/fish/vendor_completions.d/atvvctl.fish"
71
72 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
73 install -Dm644 README.zh-CN.md "$pkgdir/usr/share/doc/$pkgname/README.zh-CN.md"
74 install -Dm644 docs/device-support.md \
75 "$pkgdir/usr/share/doc/$pkgname/docs/device-support.md"
76 install -Dm644 docs/device-support.zh-CN.md \
77 "$pkgdir/usr/share/doc/$pkgname/docs/device-support.zh-CN.md"
78 install -Dm644 docs/configuration.md \
79 "$pkgdir/usr/share/doc/$pkgname/docs/configuration.md"
80 install -Dm644 docs/configuration.zh-CN.md \
81 "$pkgdir/usr/share/doc/$pkgname/docs/configuration.zh-CN.md"
82
83 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
84 install -Dm644 THIRD-PARTY-NOTICES.md \
85 "$pkgdir/usr/share/licenses/$pkgname/THIRD-PARTY-NOTICES.md"
86}
87
88package_atvv-gui() {
89 pkgdesc='GTK4/libadwaita configuration app for ATVV remotes'
90 depends=('gtk4' 'libadwaita' 'librsvg' "atvv=$pkgver")
91 conflicts=('atvv-gui-git')
92 cd "$_source"
93
94 install -Dm755 target/release/atvv-config "$pkgdir/usr/bin/atvv-config"
95 install -Dm644 packaging/gui/org.atvv.Config.desktop \
96 "$pkgdir/usr/share/applications/org.atvv.Config.desktop"
97 install -Dm644 packaging/gui/org.atvv.Config.metainfo.xml \
98 "$pkgdir/usr/share/metainfo/org.atvv.Config.metainfo.xml"
99 install -Dm644 packaging/gui/org.atvv.Config.svg \
100 "$pkgdir/usr/share/icons/hicolor/scalable/apps/org.atvv.Config.svg"
101
102 install -Dm644 docs/gui.md "$pkgdir/usr/share/doc/$pkgname/gui.md"
103 install -Dm644 docs/gui.zh-CN.md "$pkgdir/usr/share/doc/$pkgname/gui.zh-CN.md"
104 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
105 install -Dm644 THIRD-PARTY-NOTICES.md \
106 "$pkgdir/usr/share/licenses/$pkgname/THIRD-PARTY-NOTICES.md"
107}
108

Scan history

Scanned at (UTC)SeverityRules
2026-10-31 15:58:34 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion