doubletake-alchemy
LOW
maintainer alchemy
0 votes
scanned 2026-09-22 15:38:25.654840
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
pkgname=doubletake-alchemy
3
pkgver=0.4.0.alchemy.2
4
pkgrel=1
5
pkgdesc='AirPlay sender for Linux with Hyprland extended desktops (alchemy fork)'
6
arch=('x86_64' 'aarch64')
7
url='https://github.com/alchemy/doubletake'
8
license=('LGPL-3.0-or-later')
9
depends=(
10
'bash' 'glibc' 'gstreamer' 'gst-plugins-base' 'gst-plugins-good'
11
'gst-plugins-bad' 'gst-plugins-ugly' 'gst-plugin-pipewire'
12
'libpulse' 'xdg-desktop-portal' 'systemd' 'coreutils'
13
)
14
makedepends=('go>=1.25')
15
optdepends=(
16
'hyprland: virtual monitors for extend mode'
17
'xdg-desktop-portal-hyprland: Hyprland capture and automatic extend selection'
18
'xdg-desktop-portal-wlr: capture on other wlroots compositors'
19
'gst-plugin-va: VA-API hardware video encoding'
20
'xorg-xrandr: primary monitor detection for X11 capture'
21
'org.freedesktop.secrets: system keyring credential storage'
22
)
23
provides=("doubletake=${pkgver}")
24
conflicts=('doubletake')
25
# Go's DWARF output is not supported by Arch's debugedit on this toolchain.
26
options=('!lto' '!debug')
27
# Release tag maps directly to the Arch-compatible package version.
28
_tag=v${pkgver/.alchemy./-alchemy.}
29
_source_dir=doubletake-${_tag#v}
30
source=("doubletake-${pkgver}.tar.gz::${url}/archive/refs/tags/${_tag}.tar.gz")
31
sha256sums=('51f418f6cc55ee19d4c590dfe2820bf134d549986ff96b7478719820634fb3b7')
32
33
prepare() {
34
cd "${_source_dir}"
35
export GOPATH="${srcdir}/go"
36
export GOTOOLCHAIN=local
37
export GOFLAGS=-modcacherw
38
go mod download
39
}
40
41
build() {
42
cd "${_source_dir}"
43
export GOPATH="${srcdir}/go"
44
export GOTOOLCHAIN=local
45
export GOFLAGS=-modcacherw
46
export CGO_ENABLED=0
47
for command in doubletake doubletake-ctl doubletake-test-receiver; do
48
go build -mod=readonly -trimpath -buildmode=pie -o "bin/${command}" "./cmd/${command}"
49
done
50
}
51
52
check() {
53
cd "${_source_dir}"
54
export GOPATH="${srcdir}/go"
55
export GOTOOLCHAIN=local
56
export GOFLAGS=-modcacherw
57
export CGO_ENABLED=0
58
go test -mod=readonly ./... -timeout=120s
59
}
60
61
package() {
62
cd "${_source_dir}"
63
for command in doubletake doubletake-ctl doubletake-test-receiver; do
64
install -Dm755 "bin/${command}" "${pkgdir}/usr/bin/${command}"
65
install -Dm644 "man/man1/${command}.1" "${pkgdir}/usr/share/man/man1/${command}.1"
66
done
67
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
68
install -Dm644 FORK.md "${pkgdir}/usr/share/doc/${pkgname}/FORK.md"
69
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
70
install -Dm644 COPYING.GPL "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.GPL"
71
}
72
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-22 15:38:25 | Low | 1 |