Skip to content

Commit 9b0f524

Browse files
committed
handheld: Depends on qt6-tools
1 parent f0a2528 commit 9b0f524

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

handheld/cachyos-handheld/PKGBUILD

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Maintainer: Vladislav Nepogodin (vnepogodin) <[email protected]>
33

44
pkgname=cachyos-handheld
5-
pkgver=1.2.4
6-
pkgrel=2
5+
pkgver=1.2.5
6+
pkgrel=1
77
arch=('any')
88
license=('GPL-3.0-later')
99
pkgdesc='CachyOS - Handheld!'
@@ -14,17 +14,16 @@ install="$pkgname.install"
1414
options=(!strip !debug)
1515
provides=('cachyos-deckify')
1616
replaces=('cachyos-deckify')
17-
sha256sums=('3ddd381ad3aa4726bbed50d31976ad7e09708514efcfbbbe75359594c2ccf6f2'
17+
sha256sums=('851eb160ed7dfbffc163480e5028b28c0e4d7dca9da6064307c62d685a3d373c'
1818
'0d07ea5cb0ea0bf55abd3b5392d5ab38852638b5b306e5c247311a56a6c56763')
1919
validpgpkeys=(
2020
E8B9AA39F054E30E8290D492C3C4820857F654FE # Peter Jung <[email protected]>
2121
B1B70BB1CD56047DEF31DE2EB62C3D10C54D5DA9 # Vladislav Nepogodin <[email protected]>
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 user name 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)