Skip to content

Commit 93ae037

Browse files
committed
handheld: Depends on qt6-tools
1 parent f0a2528 commit 93ae037

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

handheld/cachyos-handheld/PKGBUILD

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ validpgpkeys=(
2222
)
2323
makedepends=('git')
2424
depends=('gamescope-session-git' 'mangohud' 'jq' 'dmidecode' 'glew' 'glfw' 'glxinfo' 'curl' 'tar'
25-
'scx-scheds' 'scx-tools' 'qt5-tools' 'gamescope-session-steam-git' 'jupiter-hw-support'
26-
'gamescope' 'lib32-gamescope' 'cachyos-vapor' 'cachyos-alacritty-config'
27-
'steam')
25+
'scx-scheds' 'scx-tools' 'qt6-tools' 'gamescope-session-steam-git' 'jupiter-hw-support'
26+
'gamescope' 'lib32-gamescope' 'cachyos-vapor' 'cachyos-alacritty-config' 'steam')
2827

2928
prepare() {
3029
patch -Np1 -i "${srcdir}/controller-fix.patch" -d "${srcdir}/CachyOS-Handheld"

handheld/cachyos-handheld/cachyos-handheld.install

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
SERVICES=("bluetooth" "scx_loader")
22

33
update_user() {
4-
# edit user name for sddm autologin and decky environment variables
4+
# Get username and update it in config files.
55
export LANG=C
66
if usr=$(id -nu 1000) && [[ ! -z ${usr} ]]; then
7-
echo "Setting ${usr} as name for autologin and decky env variables."
7+
echo "Setting ${usr} as name for autologin and decky environment variables."
88
elif usr=$(id -nu 1001) && [[ ! -z ${usr} ]]; then
9-
echo "Setting ${usr} as name for autologin and decky env variables."
9+
echo "Setting ${usr} as name for autologin and decky environment variables."
1010
else
11-
echo "No user found: setting 'User=' in /etc/sddm.conf.d/steam-deckify.conf"
11+
echo "Get user name failed, setting 'User=' in /etc/sddm.conf.d/steam-deckify.conf"
1212
fi
13-
#Update for autologin
13+
# Autologin
1414
sed -ri "s|^(User=).*|User=${usr}|" /etc/sddm.conf.d/steam-deckify.conf
15-
#Update for decky loader
15+
# Decky loader
1616
sed -ri "s|^(DECKY_USER=).*|DECKY_USER=${usr}|" /etc/environment.d/handheld.conf
1717
sed -ri "s|^(DECKY_USER_HOME=).*|DECK_USER_HOME=/home/${usr}|" /etc/environment.d/handheld.conf
18+
19+
# Return to Gaming Mode file
20+
cp /etc/skel/Desktop/steamos-gamemode.desktop /home/${usr}/Desktop/steamos-gamemode.desktop
1821
}
1922

2023
scx_lavd_default() {
@@ -29,7 +32,6 @@ EOF
2932

3033
steamos_steam() {
3134
# Grab the steam bootstrap for first boot
32-
3335
URL="https://steamdeck-packages.steamos.cloud/archlinux-mirror/jupiter-main/os/x86_64/steam-jupiter-stable-1.0.0.79-1.1-x86_64.pkg.tar.zst"
3436
TMP_PKG="/tmp/package.pkg.tar.zst"
3537
OUTPUT_FILE="/tmp/bootstraplinux_ubuntu12_32.tar.xz"
@@ -69,10 +71,11 @@ post_install() {
6971
done
7072

7173
steamos_steam
74+
7275
# Update users sddm config to reflect the changes
7376
echo "Updating Handheld Configs."
7477
update_user
75-
#echo "If you are installing this without the CachyOS Installation, please update your username in the /etc/sddm.conf.d/*"
78+
# echo "If you are installing this without the CachyOS Installation, please update your username in the /etc/sddm.conf.d/*"
7679
}
7780

7881
post_upgrade() {

0 commit comments

Comments
 (0)