Skip to content

Commit

Permalink
Build rpds-py from source
Browse files Browse the repository at this point in the history
  • Loading branch information
bbhtt committed Dec 15, 2024
1 parent 152fc00 commit 0d1f440
Show file tree
Hide file tree
Showing 5 changed files with 4,778 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
run: |
git clone --depth=1 --branch master --recursive --single-branch https://github.com/flathub/org.flatpak.Builder.git build/org.flatpak.Builder
cd build && python3 ../docker/rewrite-manifest.py && cd org.flatpak.Builder
rm -v flatpak-builder-lint-deps.json && cp -v ../../docker/flatpak-builder-lint-deps.json .
rm -v flatpak-builder-lint-deps.json && cp -v ../../docker/{flatpak-builder-lint-deps,cargo-sources-maturin,cargo-sources-rpds-py}.json .
flatpak-builder --verbose --user --force-clean --repo=repo \
--install-deps-from=flathub --default-branch=localtest --ccache \
--install builddir org.flatpak.Builder.json
Expand Down
2 changes: 1 addition & 1 deletion docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/fl
flatpak install --user -y flathub org.flatpak.Builder
[[ ! -d org.flatpak.Builder ]] && git clone https://github.com/flathub/org.flatpak.Builder

mv flatpak-builder-lint-deps.json org.flatpak.Builder/flatpak-builder-lint-deps.json
mv flatpak-builder-lint-deps.json cargo-sources-maturin.json cargo-sources-rpds-py.json org.flatpak.Builder/
python3 rewrite-manifest.py

case $1 in
Expand Down
Loading

0 comments on commit 0d1f440

Please sign in to comment.