waycast-bin
LOW
maintainer alchemy
0 votes
scanned 2026-09-11 13:22:32.935812
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: Filippo Veneri <filippo.veneri@gmail.com>
2
3
# Waycast began as a fork of swaybeam (https://github.com/forkline/swaybeam)
4
# and has since been renamed. Upstream publishes `swaybeam` and `swaybeam-bin`
5
# to the AUR, and an earlier iteration of this package was called
6
# `swaybeam-hyprland-bin`; all three are listed as conflicts because they
7
# install the same binary path.
8
#
9
# Installs the archives built by the project's Release workflow rather than
10
# compiling, so no Rust toolchain is needed. Those archives are dynamically
11
# linked against GStreamer, PipeWire and glib and are built on Ubuntu 24.04,
12
# so they need glibc 2.39 or newer -- fine on Arch, and the reason the
13
# depends list below is not merely `glibc`.
14
#
15
# Refreshing for a new release: bump pkgver, then `updpkgsums` to pull the
16
# real checksums. They are SKIP here only because the assets for this version
17
# are not published yet; a -bin package should carry real sums.
18
19
pkgname=waycast-bin
20
pkgver=0.5.0
21
pkgrel=1
22
pkgdesc="Miracast source for wlroots compositors, with Hyprland extend-desktop support (prebuilt)"
23
arch=('x86_64' 'aarch64')
24
url="https://github.com/alchemy/waycast"
25
license=('MIT')
26
27
# Linked at build time: confirmed with ldd against a release build, not
28
# guessed. gst-plugins-base-libs also supplies videoscale.
29
depends=(
30
'glib2'
31
'gstreamer'
32
'gst-plugins-base-libs'
33
34
# Loaded at runtime by the streaming pipeline. Each was resolved by asking
35
# gst-inspect which .so provides the element and pacman which package owns
36
# it, so this list matches the pipeline waycast actually builds:
37
# pipewiresrc -> gst-plugin-pipewire (screen capture)
38
# imagefreeze -> gst-plugins-good (keeps an idle output flowing)
39
# pulsesrc -> gst-plugins-good (audio)
40
# rtpmp2tpay -> gst-plugins-good (RTP payloader)
41
# mpegtsmux -> gst-plugins-bad-libs (transport stream)
42
# faac -> gst-plugins-bad (AAC audio)
43
# x264enc -> gst-plugins-ugly (software H.264)
44
'gst-plugin-pipewire'
45
'gst-plugins-good'
46
'gst-plugins-bad'
47
'gst-plugins-bad-libs'
48
'gst-plugins-ugly'
49
50
# Session and transport.
51
'pipewire'
52
'wireplumber'
53
'networkmanager'
54
'wpa_supplicant'
55
'xdg-desktop-portal'
56
)
57
58
optdepends=(
59
'xdg-desktop-portal-hyprland: screen capture on Hyprland'
60
'xdg-desktop-portal-wlr: screen capture on Sway, River, Labwc'
61
'hyprland: extend-desktop mode via a headless output'
62
'gst-plugin-va: hardware H.264 encoding on Intel and AMD (VA-API)'
63
'intel-media-driver: VA-API driver for Intel Broadwell and newer'
64
'mesa: VA-API driver for AMD (provides libva-mesa-driver)'
65
'dnsmasq: DHCP for the sink when waycast becomes the Wi-Fi Direct group owner'
66
)
67
68
conflicts=('swaybeam' 'swaybeam-bin' 'swaybeam-hyprland-bin' 'swaybeam-hyprland-git')
69
70
# The Release workflow labels archives amd64/arm64, the usual naming for a
71
# generic Linux download; Arch calls the same machines x86_64/aarch64. Using
72
# per-architecture source arrays keeps that translation declarative instead of
73
# unpicking $CARCH in a build function.
74
_release="${url}/releases/download/v${pkgver}"
75
source_x86_64=("waycast-v${pkgver}-linux-amd64.tar.gz::${_release}/waycast-v${pkgver}-linux-amd64.tar.gz")
76
source_aarch64=("waycast-v${pkgver}-linux-arm64.tar.gz::${_release}/waycast-v${pkgver}-linux-arm64.tar.gz")
77
sha256sums_x86_64=('bc17b28ec9479dcb261ce5b7381fcc9ccf1283ec7bcdb65b38bb91b54dd9f320')
78
sha256sums_aarch64=('9175d8d0fbec26b9362bfdb9b4ca182bea115d235e358fd715e4393aed603c40')
79
80
package() {
81
local _slug
82
case "$CARCH" in
83
x86_64) _slug=amd64 ;;
84
aarch64) _slug=arm64 ;;
85
*) echo "unsupported architecture: $CARCH" >&2; return 1 ;;
86
esac
87
88
cd "waycast-v${pkgver}-linux-${_slug}"
89
install -Dm0755 waycast "${pkgdir}/usr/bin/waycast"
90
install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
91
install -Dm0644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
92
}
93
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-11 13:22:32 | Low | 1 |