mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-21 19:10:39 +00:00
add: spacedrive
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
Name: spacedrive
|
||||
Version: 0.2.3
|
||||
Release: 1%?dist
|
||||
Summary: An open source cross-platform file explorer
|
||||
License: AGPL-3.0
|
||||
URL: https://spacedrive.com
|
||||
Source0: https://github.com/spacedriveapp/spacedrive/archive/refs/tags/%version.tar.gz
|
||||
Requires: ffmpeg libheif gtk3 webkit2gtk4.1 pango gdk-pixbuf2 cairo libsoup glib2
|
||||
BuildRequires: pnpm clang git-core
|
||||
|
||||
%description
|
||||
Spacedrive is an open source cross-platform file manager, powered by a virtual distributed filesystem (VDFS) written in Rust.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
# we need nightly cargo
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
rustup default nightly
|
||||
|
||||
pnpm install
|
||||
|
||||
%build
|
||||
export CARGO_TARGET_DIR=target
|
||||
export RUSTUP_TOOLCHAIN=1.73
|
||||
|
||||
pnpm prep
|
||||
pnpm tauri build --bundles app -- --no-default-features
|
||||
|
||||
%install
|
||||
install -Dm755 -t %buildroot%_bindir apps/desktop/src-tauri/target/release/spacedrive
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%_bindir/spacedrive
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
Reference in New Issue
Block a user