forked from Shinonome/dots-hyprland
Build blueprint-compiler inside venv (#1159)
This commit is contained in:
@@ -10,7 +10,6 @@ depends=(
|
|||||||
libadwaita
|
libadwaita
|
||||||
libsoup3
|
libsoup3
|
||||||
libportal-gtk4
|
libportal-gtk4
|
||||||
blueprint-compiler
|
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
sassc
|
sassc
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -130,6 +130,15 @@ install-python-packages (){
|
|||||||
x source $ILLOGICAL_IMPULSE_VIRTUAL_ENV/bin/activate
|
x source $ILLOGICAL_IMPULSE_VIRTUAL_ENV/bin/activate
|
||||||
x uv pip install -r scriptdata/requirements.txt
|
x uv pip install -r scriptdata/requirements.txt
|
||||||
|
|
||||||
|
x mkdir -p $base/cache/blueprint-compiler && cd $base/cache/blueprint-compiler
|
||||||
|
try git init -b main
|
||||||
|
try git remote add origin https://github.com/clsty/ii-blueprint-compiler.git
|
||||||
|
x git pull origin main && git submodule update --init --recursive
|
||||||
|
x meson setup build --prefix=$VIRTUAL_ENV
|
||||||
|
x meson compile -C build
|
||||||
|
x meson install -C build
|
||||||
|
x cd -
|
||||||
|
|
||||||
x mkdir -p $base/cache/gradience && cd $base/cache/gradience
|
x mkdir -p $base/cache/gradience && cd $base/cache/gradience
|
||||||
try git init -b main
|
try git init -b main
|
||||||
try git remote add origin https://github.com/end-4/ii-gradience.git
|
try git remote add origin https://github.com/end-4/ii-gradience.git
|
||||||
@@ -139,6 +148,7 @@ install-python-packages (){
|
|||||||
x meson compile -C build
|
x meson compile -C build
|
||||||
x meson install -C build
|
x meson install -C build
|
||||||
x cd -
|
x cd -
|
||||||
|
|
||||||
x deactivate # We don't need the virtual environment anymore
|
x deactivate # We don't need the virtual environment anymore
|
||||||
for i in "glib-2.0" "gradience"; do
|
for i in "glib-2.0" "gradience"; do
|
||||||
x rsync -av "$ILLOGICAL_IMPULSE_VIRTUAL_ENV"/share/$i/ "$XDG_DATA_HOME"/$i/
|
x rsync -av "$ILLOGICAL_IMPULSE_VIRTUAL_ENV"/share/$i/ "$XDG_DATA_HOME"/$i/
|
||||||
|
|||||||
Reference in New Issue
Block a user