mpris-bridge
LOW
maintainer Totti786
0 votes
scanned 2026-10-30 15:56:05.154623
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: totti786
2
pkgname=mpris-bridge
3
pkgver=1.0.0
4
pkgrel=1
5
pkgdesc="Publishes Firefox media tabs as MPRIS players (native-messaging helper for the MPRIS Bridge extension)"
6
arch=('x86_64' 'aarch64')
7
url="https://github.com/totti786/mpris-bridge"
8
license=('MIT')
9
depends=('glibc' 'gcc-libs')
10
makedepends=('cargo')
11
options=('!debug')
12
optdepends=('firefox: the browser the extension runs in')
13
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
14
sha256sums=('7fe71726ac98aad71db08d58af2ad4a6bdb60e2523aae10a92a154178ede52a5')
15
16
build() {
17
cd "$pkgname-$pkgver/host"
18
cargo build --release --locked
19
}
20
21
package() {
22
cd "$pkgname-$pkgver"
23
install -Dm755 host/target/release/mpris-bridge-host "$pkgdir/usr/lib/$pkgname/mpris-bridge-host"
24
install -d "$pkgdir/usr/lib/mozilla/native-messaging-hosts"
25
cat > "$pkgdir/usr/lib/mozilla/native-messaging-hosts/mpris_bridge.json" <<JSON
26
{
27
"name": "mpris_bridge",
28
"description": "MPRIS Bridge helper: publishes browser media tabs as MPRIS players",
29
"path": "/usr/lib/$pkgname/mpris-bridge-host",
30
"type": "stdio",
31
"allowed_extensions": ["mpris-bridge@totti786.github.io"]
32
}
33
JSON
34
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
35
}
36
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-30 15:56:05 | Low | 1 |