-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlocalsend-1.1.2.recipe
More file actions
72 lines (63 loc) · 1.81 KB
/
Copy pathlocalsend-1.1.2.recipe
File metadata and controls
72 lines (63 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
SUMMARY="Share files over LAN with any device running LocalSend"
DESCRIPTION="Native Haiku client for the LocalSend v2.1 protocol. Share \
files and text messages over LAN with any device (Android, iOS, Windows, \
macOS, Linux) running LocalSend, without internet and without third-party \
servers. Includes a GUI application with device discovery, drag & drop, \
transfer history, favorites, share-via-link, a Tracker \"Send with \
LocalSend\" add-on, and an optional Deskbar replicant for quick access."
HOMEPAGE="https://github.com/atomozero/LocalSend"
COPYRIGHT="2026 atomozero"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/atomozero/LocalSend/archive/refs/tags/v$portVersion.tar.gz"
CHECKSUM_SHA256=""
SOURCE_DIR="LocalSend-$portVersion"
ARCHITECTURES="x86_64"
PROVIDES="
localsend = $portVersion
app:LocalSend = $portVersion
cmd:localsend_send = $portVersion
cmd:localsend_receive = $portVersion
"
REQUIRES="
haiku
lib:libcrypto
lib:libqrencode
lib:libssl
"
BUILD_REQUIRES="
haiku_devel
devel:libcrypto
devel:libqrencode
devel:libssl
"
BUILD_PREREQUIRES="
cmd:g++$secondaryArchSuffix
cmd:make
"
BUILD()
{
make $jobArgs
}
INSTALL()
{
# GUI application + Deskbar replicant (.so loaded by the Deskbar).
# The replicant binary must sit next to the app: at runtime the app
# resolves it relative to its own image path.
mkdir -p $appsDir
cp LocalSend $appsDir/LocalSend
cp LocalSendDeskbar $appsDir/LocalSendDeskbar
# CLI tools.
mkdir -p $binDir
cp localsend-send $binDir/localsend-send
cp localsend-receive $binDir/localsend-receive
# Tracker add-on: "Send with LocalSend" entry in the file context menu.
mkdir -p $addOnsDir/Tracker
cp "Send with LocalSend" "$addOnsDir/Tracker/Send with LocalSend"
# Deskbar launcher link.
addAppDeskbarSymlink $appsDir/LocalSend
}
TEST()
{
make test-receive
}