forked from Shinonome/dots-hyprland
update the installation process
This commit is contained in:
@@ -1,13 +0,0 @@
|
|||||||
pkgname=illogical-impulse-pymyc-aur
|
|
||||||
pkgver=1.0
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc='Illogical Impulse PyMYC Dependencies'
|
|
||||||
arch=(any)
|
|
||||||
license=(None)
|
|
||||||
depends=(
|
|
||||||
python-materialyoucolor-git
|
|
||||||
gradience
|
|
||||||
python-libsass
|
|
||||||
python-material-color-utilities
|
|
||||||
)
|
|
||||||
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
pkgname=illogical-impulse-python
|
|
||||||
pkgver=1.0
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc='Illogical Impulse Python Dependencies'
|
|
||||||
arch=(any)
|
|
||||||
license=(None)
|
|
||||||
depends=(
|
|
||||||
python-build
|
|
||||||
python-pillow
|
|
||||||
python-pywal
|
|
||||||
python-setuptools-scm
|
|
||||||
python-wheel
|
|
||||||
)
|
|
||||||
|
|
||||||
+18
-20
@@ -115,16 +115,8 @@ install-local-pkgbuild() {
|
|||||||
x popd
|
x popd
|
||||||
}
|
}
|
||||||
|
|
||||||
# create a virtual environment and store python packages into it
|
|
||||||
ags_state_dir=$XDG_STATE_DIR/ags
|
|
||||||
venv_dir=$ags_state_dir
|
|
||||||
|
|
||||||
x mkdir -p $ags_state-dir
|
|
||||||
x uv venv --prompt .venv $venv_dir
|
|
||||||
x source $venv_dir/bin/activate
|
|
||||||
|
|
||||||
# Install core dependencies from the meta-packages
|
# Install core dependencies from the meta-packages
|
||||||
metapkgs=(./arch-packages/illogical-impulse-{audio,backlight,basic,fonts-themes,gnome,gtk,portal,python,screencapture,widgets})
|
metapkgs=(./arch-packages/illogical-impulse-{audio,backlight,basic,fonts-themes,gnome,gtk,portal,screencapture,widgets})
|
||||||
metapkgs+=(./arch-packages/illogical-impulse-ags)
|
metapkgs+=(./arch-packages/illogical-impulse-ags)
|
||||||
metapkgs+=(./arch-packages/illogical-impulse-microtex-git)
|
metapkgs+=(./arch-packages/illogical-impulse-microtex-git)
|
||||||
metapkgs+=(./arch-packages/illogical-impulse-oneui4-icons-git)
|
metapkgs+=(./arch-packages/illogical-impulse-oneui4-icons-git)
|
||||||
@@ -138,18 +130,24 @@ for i in "${metapkgs[@]}"; do
|
|||||||
v install-local-pkgbuild "$i" "$metainstallflags"
|
v install-local-pkgbuild "$i" "$metainstallflags"
|
||||||
done
|
done
|
||||||
|
|
||||||
# https://github.com/end-4/dots-hyprland/issues/428#issuecomment-2081690658
|
ags_state_dir=~/.local/state/ags
|
||||||
# https://github.com/end-4/dots-hyprland/issues/428#issuecomment-2081701482
|
|
||||||
# https://github.com/end-4/dots-hyprland/issues/428#issuecomment-2081707099
|
|
||||||
case $SKIP_PYMYC_AUR in
|
|
||||||
true) sleep 0;;
|
|
||||||
*)
|
|
||||||
pymycinstallflags=""
|
|
||||||
$ask && showfun install-local-pkgbuild || pymycinstallflags="$pymycinstallflags --noconfirm"
|
|
||||||
v install-local-pkgbuild "./arch-packages/illogical-impulse-pymyc-aur" "$pymycinstallflags"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
|
x mkdir -p $ags_state_dir
|
||||||
|
# we need python 3.12 https://github.com/python-pillow/Pillow/issues/8089
|
||||||
|
x uv venv --prompt .venv $PYTHON_VENV_PATH -p 3.12
|
||||||
|
x source $PYTHON_VENV_PATH/bin/activate
|
||||||
|
x uv pip install -r scriptdata/requirements.txt
|
||||||
|
|
||||||
|
# install gradience
|
||||||
|
gradience_dir=/tmp/gradience
|
||||||
|
x git clone https://github.com/ZeyadMoustafaKamal/Gradience.git $gradience_dir
|
||||||
|
x cd $gradience_dir
|
||||||
|
x 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 deactivate # We don't need the virtual environment anymore
|
||||||
|
|
||||||
# Why need cleanbuild? see https://github.com/end-4/dots-hyprland/issues/389#issuecomment-2040671585
|
# Why need cleanbuild? see https://github.com/end-4/dots-hyprland/issues/389#issuecomment-2040671585
|
||||||
# Why install deps by running a seperate command? see pinned comment of https://aur.archlinux.org/packages/hyprland-git
|
# Why install deps by running a seperate command? see pinned comment of https://aur.archlinux.org/packages/hyprland-git
|
||||||
|
|||||||
@@ -8,3 +8,5 @@ psutil
|
|||||||
git+https://github.com/T-Dynamos/materialyoucolor-python.git
|
git+https://github.com/T-Dynamos/materialyoucolor-python.git
|
||||||
libsass
|
libsass
|
||||||
material-color-utilities
|
material-color-utilities
|
||||||
|
lxml
|
||||||
|
pygobject
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ cffi==1.17.1
|
|||||||
# via pywayland
|
# via pywayland
|
||||||
libsass==0.23.0
|
libsass==0.23.0
|
||||||
# via -r scriptdata/requirements.in
|
# via -r scriptdata/requirements.in
|
||||||
|
lxml==5.3.0
|
||||||
|
# via -r scriptdata/requirements.in
|
||||||
material-color-utilities==0.2.1
|
material-color-utilities==0.2.1
|
||||||
# via -r scriptdata/requirements.in
|
# via -r scriptdata/requirements.in
|
||||||
materialyoucolor @ git+https://github.com/T-Dynamos/materialyoucolor-python.git@73080739dc7c46d378a7624881e9c1e6b20b23f1
|
materialyoucolor @ git+https://github.com/T-Dynamos/materialyoucolor-python.git@73080739dc7c46d378a7624881e9c1e6b20b23f1
|
||||||
@@ -22,8 +24,12 @@ pillow==11.1.0
|
|||||||
# material-color-utilities
|
# material-color-utilities
|
||||||
psutil==6.1.1
|
psutil==6.1.1
|
||||||
# via -r scriptdata/requirements.in
|
# via -r scriptdata/requirements.in
|
||||||
|
pycairo==1.27.0
|
||||||
|
# via pygobject
|
||||||
pycparser==2.22
|
pycparser==2.22
|
||||||
# via cffi
|
# via cffi
|
||||||
|
pygobject==3.50.0
|
||||||
|
# via -r scriptdata/requirements.in
|
||||||
pyproject-hooks==1.2.0
|
pyproject-hooks==1.2.0
|
||||||
# via build
|
# via build
|
||||||
pywal==3.3.0
|
pywal==3.3.0
|
||||||
|
|||||||
Reference in New Issue
Block a user