Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: spacedrive #922

Open
wants to merge 35 commits into
base: f39
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
18fe524
add: spacedrive
madonuko Feb 6, 2024
7ee4562
anda.hcl update.rhai
madonuko Feb 6, 2024
48c248b
Update spacedrive.spec
madonuko Feb 6, 2024
baec5da
Update spacedrive.spec
madonuko Feb 6, 2024
ced753e
Update spacedrive.spec
madonuko Feb 6, 2024
7a8a31e
Update spacedrive.spec
madonuko Feb 6, 2024
b943018
Update spacedrive.spec
madonuko Feb 6, 2024
5bb5292
Update spacedrive.spec
madonuko Feb 6, 2024
f833374
more deps
madonuko Feb 6, 2024
879d51f
Update spacedrive.spec
madonuko Feb 6, 2024
6f1e094
Update update.rhai
madonuko Feb 6, 2024
6330960
try fix rustup
madonuko Feb 11, 2024
c4a4e18
Update spacedrive.spec
madonuko Feb 11, 2024
fba1c3a
Update spacedrive.spec
madonuko Feb 11, 2024
e860772
Update spacedrive.spec
madonuko Feb 11, 2024
da92e75
Update spacedrive.spec
madonuko Feb 12, 2024
0e04511
Update spacedrive.spec
madonuko Feb 13, 2024
0986923
Update spacedrive.spec
madonuko Feb 13, 2024
78c01f8
Update spacedrive.spec
madonuko Feb 13, 2024
3e59d09
openssl?
madonuko Feb 20, 2024
2c214a2
Update spacedrive.spec
madonuko Mar 25, 2024
ac4fc9a
use large containers now that it exists
madonuko Jun 25, 2024
be14771
Merge branch 'f39' into mado/w39/spacedrive
madonuko Jun 25, 2024
c2d50ff
Merge branch 'f39' into mado/w39/spacedrive
lleyton Jun 25, 2024
6d54f13
Merge branch 'f39' into mado/w39/spacedrive
madonuko Jun 27, 2024
270fedb
Merge branch 'f39' into mado/w39/spacedrive
madonuko Jul 2, 2024
893e693
bump
madonuko Jul 18, 2024
a4a2a31
use latest pnpm
madonuko Jul 18, 2024
1d2cc4c
pnpm setup
madonuko Jul 18, 2024
e6c72b0
Update spacedrive.spec
madonuko Jul 18, 2024
4bc8ff2
use $HOME instead
madonuko Jul 18, 2024
e89c91e
oops
madonuko Jul 18, 2024
80ccd99
use the other pnpm
madonuko Jul 18, 2024
c021e85
Update spacedrive.spec
madonuko Jul 18, 2024
56036a6
bump to 0.4.0
madonuko Jul 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions anda/apps/spacedrive/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
project pkg {
rpm {
spec = "spacedrive.spec"
}
labels {
large = 1
}
}
51 changes: 51 additions & 0 deletions anda/apps/spacedrive/spacedrive.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
Name: spacedrive
Version: 0.4.0
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 openssl
BuildRequires: pnpm git-core perl gcc javascriptcoregtk4.0-devel pkgconfig(webkit2gtk-4.0)
BuildRequires: pkgconfig(libsoup-2.4) glib2-devel gtk3-devel openssl-devel pkgconfig(zlib)
BuildRequires: openssl clang-devel

%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 -o rustup.sh
chmod +x ./rustup.sh
./rustup.sh -y -t nightly --profile minimal
source "$HOME/.cargo/env"
rm rustup.sh %SOURCE0

pnpm setup
source $HOME/.bashrc
pnpm i -g pnpm
$HOME/.local/share/pnpm/pnpm install
$HOME/.local/share/pnpm/pnpm store prune # GH workers running out of disk space… oh well

%build
source $HOME/.cargo/env
source $HOME/.bashrc
export CARGO_TARGET_DIR=target

# hack
cp $HOME/.local/share/pnpm/pnpm %_bindir/pnpm

$HOME/.local/share/pnpm/pnpm prep
$HOME/.local/share/pnpm/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
1 change: 1 addition & 0 deletions anda/apps/spacedrive/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rpm.version(gh("spacedriveapp/spacedrive"));
Loading