wayrdp
LOW
maintainer dfalcao
1 votes
scanned 2026-09-06 21:12:32.019604
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: Danilo Falcão <danilo@falcao.org>
2
3
pkgname=wayrdp
4
pkgver=0.1.0
5
pkgrel=1
6
pkgdesc='Native RDP server for wlroots-based Wayland compositors'
7
arch=('x86_64')
8
url='https://github.com/danilofalcao/wayrdp'
9
license=('MIT' 'HPND-sell-variant')
10
depends=(
11
'freerdp'
12
'glibc'
13
'libpipewire'
14
'libxkbcommon'
15
# Called as a command to generate TLS certificates.
16
'openssl'
17
'wayland'
18
)
19
makedepends=('wayland-protocols' 'wlr-protocols')
20
optdepends=('pipewire: desktop audio and remote microphone support')
21
22
# Keep makepkg's extraction and cleanup away from the upstream checkout's src/.
23
# A packaging-only checkout and an independent user BUILDDIR keep their defaults.
24
if [[ -f src/main.c &&
25
( $BUILDDIR -ef . || $BUILDDIR/$pkgname -ef . ) ]]; then
26
BUILDDIR="$PWD/build/makepkg"
27
fi
28
29
# Initial version, pinned to a published snapshot until upstream has release tags.
30
_commit=1adcc4336013fc5d64fda5ca229c028b04b2b401
31
source=(
32
"$pkgname-$_commit.tar.gz::$url/archive/$_commit.tar.gz"
33
'upstream.patch'
34
'wayrdp.service'
35
)
36
sha256sums=(
37
'de7b499a8f92f4617043a2e82354598512d63df32ccc77753b6fd5672d7dcfc3'
38
'fc4f17163493bd4ca91a2f4d39d36e0af2b0e9ebd66f19dc779cd84fb1a9b577'
39
'36a394cb040608660ee2a987610fc2d23d9c76d365b0490612129dd01706ca1e'
40
)
41
42
prepare() {
43
cd "$pkgname-$_commit"
44
patch -Np1 -i "$srcdir/upstream.patch"
45
}
46
47
build() {
48
cd "$pkgname-$_commit"
49
make
50
}
51
52
package() {
53
cd "$pkgname-$_commit"
54
install -Dm755 build/wayrdp "$pkgdir/usr/bin/wayrdp"
55
install -Dm755 build/wayrdp-probe "$pkgdir/usr/bin/wayrdp-probe"
56
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
57
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
58
install -Dm644 "$srcdir/wayrdp.service" "$pkgdir/usr/lib/systemd/user/wayrdp.service"
59
60
# Generated bindings retain the copyrights of the system and vendored XMLs.
61
local protocol name
62
for protocol in build/gen/*-protocol.c; do
63
name=${protocol##*/}
64
sed -n '/^ \* Copyright/,/^ \*\//{ /^ \*\//d; s/^ \* \?//; p; }' \
65
"$protocol" > "$pkgdir/usr/share/licenses/$pkgname/${name%-protocol.c}.LICENSE"
66
done
67
}
68
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-06 21:12:32 | Low | 1 |