anibeam
LOW
maintainer marcusbandit
0 votes
scanned 2026-10-26 03:43:44.749651
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: Marcus Rosado <marcusbanditten@gmail.com>
2
# The AUR's anibeam: the native Qt shell built from a release tag. Publish it with
3
# apps/linux/packaging/aur/publish.sh after the tag is on GitHub.
4
pkgname=anibeam
5
pkgver=2.2.0
6
pkgrel=1
7
pkgdesc="Browse, play and track a local anime library (Qt 6 and libmpv)"
8
arch=(x86_64 aarch64)
9
url="https://github.com/marcusbandit/AniBeam"
10
license=(GPL-3.0-or-later)
11
# anirss and qbittorrent-nox are the Downloads page's: AniBeam runs both itself, and uses a
12
# qBittorrent you already run instead when one answers.
13
depends=(qt6-base qt6-declarative qt6-svg mpvqt mpv gcc-libs glibc hicolor-icon-theme
14
'anirss>=0.5.0' qbittorrent-nox)
15
makedepends=(rust)
16
optdepends=(
17
'org.freedesktop.secrets: tracker sign-ins kept in the keyring rather than a file'
18
)
19
# makepkg's lto option puts -flto=auto into CXXFLAGS; cc-rs hands it to g++, and rustc's
20
# link step never asks for LTO, so the GCC LTO objects come back as undefined C++ bridge
21
# symbols. Rust's own LTO is a Cargo profile matter, not a makepkg one.
22
options=(!lto)
23
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
24
sha256sums=('34481fad2cbc657c0157c6e72533a50ac883ab6ec944516181eb1dddeb7c7a8f')
25
26
_src() { cd "$srcdir/AniBeam-$pkgver"; }
27
28
prepare() {
29
_src
30
export RUSTUP_TOOLCHAIN=stable
31
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
32
}
33
34
build() {
35
_src
36
export RUSTUP_TOOLCHAIN=stable
37
export CARGO_TARGET_DIR=target
38
# The version comes from git describe when there is a checkout. A tarball has none, so
39
# keep git from finding whatever repository the build directory sits in (an AUR clone)
40
# and let the binary say the Cargo version, which is the tag's.
41
export GIT_CEILING_DIRECTORIES="$srcdir"
42
cargo build --frozen --release -p anibeam
43
}
44
45
check() {
46
_src
47
export RUSTUP_TOOLCHAIN=stable
48
export CARGO_TARGET_DIR=target
49
export GIT_CEILING_DIRECTORIES="$srcdir"
50
cargo test --frozen --release -p anibeam
51
}
52
53
package() {
54
_src
55
local shell=apps/linux
56
install -Dm755 target/release/anibeam "$pkgdir/usr/bin/anibeam"
57
install -Dm644 "$shell/com.marcusrosado.AniBeam.desktop" \
58
"$pkgdir/usr/share/applications/com.marcusrosado.AniBeam.desktop"
59
install -Dm644 "$shell/assets/icon.png" \
60
"$pkgdir/usr/share/icons/hicolor/512x512/apps/com.marcusrosado.AniBeam.png"
61
install -Dm644 "$shell/mpv.conf" "$pkgdir/usr/share/anibeam/mpv.conf"
62
cp -r "$shell/themes" "$pkgdir/usr/share/anibeam/themes"
63
find "$pkgdir/usr/share/anibeam/themes" -type d -exec chmod 755 {} +
64
find "$pkgdir/usr/share/anibeam/themes" -type f -exec chmod 644 {} +
65
}
66
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-26 03:43:44 | Low | 1 |