meshcore-open-bin

LOW
maintainer robertfoster 0 votes scanned 2026-09-12 09:11:25.593543
View on AUR
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: robertfoster
2pkgname=meshcore-open-bin
3_pkgname="${pkgname%-bin}"
4pkgver=9.5.1 # renovate: datasource=github-releases depName=zjs81/meshcore-open extractVersion=^PRE-BETA-(?<version>.+)$
5pkgrel=1
6pkgdesc="Open-source Flutter client for MeshCore LoRa mesh networking devices"
7arch=('x86_64')
8url="https://github.com/zjs81/meshcore-open"
9license=('MIT')
10depends=('gcc-libs' 'glibc' 'gtk3' 'xdg-user-dirs' 'zlib')
11makedepends=('patchelf')
12optdepends=('vulkan-icd-loader: GPU acceleration for on-device message translation')
13provides=("${_pkgname}")
14conflicts=("${_pkgname}")
15options=('!strip')
16source=("${pkgname}-${pkgver}.zip::${url}/releases/download/PRE-BETA-${pkgver}/meshcore-linux-release.zip"
17 "LICENSE::https://raw.githubusercontent.com/zjs81/meshcore-open/PRE-BETA-${pkgver}/LICENSE"
18 "${_pkgname}.desktop")
19
20prepare() {
21 cd "${srcdir}/bundle"
22
23 # the bundle is AOT (lib/libapp.so carries the Dart snapshots), so the leftover
24 # JIT kernel is 111 MiB of never-loaded payload
25 rm data/flutter_assets/kernel_blob.bin
26
27 # upstream ships build-host and bazel-tree RUNPATHs, so these libraries cannot
28 # find the ones shipped next to them (libonnxruntime.so.1, libLiteRt.so, ...)
29 local _lib
30 for _lib in libfile_selector_linux_plugin libflutter_onnxruntime_plugin \
31 liburl_launcher_linux_plugin libLiteRtLm libLiteRtTopKWebGpuSampler; do
32 patchelf --set-rpath '$ORIGIN' "lib/${_lib}.so"
33 done
34
35 # upstream duplicates every versioned library as a full copy
36 ln -sf libonnxruntime.so.1.22.0 lib/libonnxruntime.so.1
37 ln -sf libonnxruntime.so.1 lib/libonnxruntime.so
38 local _soname
39 for _soname in lib/*.so.0; do
40 ln -sf "${_soname##*/}" "${_soname%.0}"
41 done
42}
43
44package() {
45 install -d "${pkgdir}/usr/lib/${_pkgname}" "${pkgdir}/usr/bin"
46 cp -a "${srcdir}/bundle/." "${pkgdir}/usr/lib/${_pkgname}/"
47 ln -s "/usr/lib/${_pkgname}/meshcore_open" "${pkgdir}/usr/bin/${_pkgname}"
48
49 install -Dm644 "${srcdir}/${_pkgname}.desktop" \
50 "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
51 install -Dm644 "${srcdir}/bundle/data/flutter_assets/assets/images/mesh-icon.png" \
52 "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
53 install -Dm644 "${srcdir}/LICENSE" \
54 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
55}
56
57sha256sums=('5a34e87885722d523383395dcef3098d0c92bc04856404f3c47f726e846f012c'
58 '00fb1faaf18628b7be50522b3ae5c42af771ac3bb1e7907dd35338f39fb000fa'
59 '42ab4bb9a565b5caa26d77cca02d7cdc044b7b2703275e500ef579b699c62d36')
60

Scan history

Scanned at (UTC)SeverityRules
2026-09-12 09:11:25 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion