Skip to content

Commit

Permalink
easing psp-pacman installation
Browse files Browse the repository at this point in the history
  • Loading branch information
diamant3 committed Sep 6, 2024
1 parent a62b15e commit f06a111
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,3 @@ function download_and_extract
function apply_patch {
patch -p1 < "${BASE_PATH}/patches/$1.patch"
}

## Install meson and ninja in the current directory using a venv
function setup_build_system {
python3 -m venv venv
. venv/bin/activate
pip install meson ninja
}
4 changes: 2 additions & 2 deletions pacman.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ find ./ -type f -name "*.in" -exec sed -i -e 's#@libmakepkgdir@#${PSPDEV}/share/
## Apply patch
apply_patch pacman-${PACMAN_VERSION}

## Install meson and ninja in the current directory
setup_build_system
## Install meson and ninja
pip install meson ninja

## Build pacman
meson build -Dprefix="${PSPDEV}" --buildtype=release \
Expand Down

0 comments on commit f06a111

Please sign in to comment.