mirror of
https://github.com/hoornet/vega.git
synced 2026-04-24 06:40:01 -07:00
AppImage library bundling causes cascading compatibility failures on rolling-release distros (Arch, mesa 26+): libwayland-egl conflicts break EGL, removing it cascades into GLib version mismatches, and so on. Native packages sidestep this entirely. - tauri.conf.json: targets now ["deb","rpm","nsis","msi","dmg","updater"] — no AppImage - release.yml: drop LINUXDEPLOY_EXCLUDELIST workaround (no longer needed); update install instructions in release body - PKGBUILD: added for Arch/Manjaro users; builds from source via git tag; desktop entry sets WEBKIT_DISABLE_DMABUF_RENDERER=1 (required on Wayland) - README: install table updated with distro-specific commands Arch users: build from source with PKGBUILD or `npm run tauri build`. Ubuntu/Debian/Fedora/openSUSE: install the .deb or .rpm from Releases. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
54 lines
1.2 KiB
Bash
54 lines
1.2 KiB
Bash
# Maintainer: hoornet <harpos@getalby.com>
|
|
pkgname=wrystr
|
|
pkgver=0.1.5
|
|
pkgrel=1
|
|
pkgdesc="Cross-platform Nostr desktop client with Lightning integration"
|
|
arch=('x86_64')
|
|
url="https://github.com/hoornet/wrystr"
|
|
license=('MIT')
|
|
depends=(
|
|
'webkit2gtk-4.1'
|
|
'gtk3'
|
|
'libayatana-appindicator'
|
|
'openssl'
|
|
)
|
|
makedepends=(
|
|
'rust'
|
|
'cargo'
|
|
'nodejs'
|
|
'npm'
|
|
)
|
|
source=("$pkgname-$pkgver::git+https://github.com/hoornet/wrystr.git#tag=v$pkgver")
|
|
sha256sums=('SKIP')
|
|
|
|
build() {
|
|
cd "$pkgname-$pkgver"
|
|
npm install
|
|
npm run tauri build -- --bundles deb
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname-$pkgver"
|
|
|
|
install -Dm755 "src-tauri/target/release/wrystr" \
|
|
"$pkgdir/usr/bin/wrystr"
|
|
|
|
install -Dm644 "src-tauri/icons/128x128.png" \
|
|
"$pkgdir/usr/share/icons/hicolor/128x128/apps/wrystr.png"
|
|
|
|
install -Dm644 /dev/stdin \
|
|
"$pkgdir/usr/share/applications/wrystr.desktop" << 'EOF'
|
|
[Desktop Entry]
|
|
Name=Wrystr
|
|
Comment=Nostr desktop client
|
|
Exec=env WEBKIT_DISABLE_DMABUF_RENDERER=1 /usr/bin/wrystr
|
|
Icon=wrystr
|
|
Type=Application
|
|
Categories=Network;InstantMessaging;
|
|
StartupNotify=true
|
|
EOF
|
|
|
|
install -Dm644 "LICENSE" \
|
|
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|