2023-03-03 17:16:13 +01:00
|
|
|
DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
# Add dependent repositories
|
|
|
|
wget -q -O - https://ppa.pika-os.com/key.gpg | sudo apt-key add -
|
|
|
|
add-apt-repository https://ppa.pika-os.com
|
|
|
|
add-apt-repository ppa:pikaos/pika
|
|
|
|
add-apt-repository ppa:kubuntu-ppa/backports
|
|
|
|
|
|
|
|
# Clone Upstream
|
2023-04-27 12:46:02 +02:00
|
|
|
git clone https://github.com/KyleGospo/gamescope-session
|
|
|
|
cp -rvf ./debian ./gamescope-session
|
2023-03-03 17:16:13 +01:00
|
|
|
cd ./gamescope-session
|
2023-04-27 12:46:02 +02:00
|
|
|
patch -Np1 -i ./fedora.patch
|
|
|
|
patch -Np1 -i ../patches/0001-update-to-work-on-nobara-with-hdr.patch
|
2023-03-03 17:16:13 +01:00
|
|
|
|
|
|
|
# Get build deps
|
|
|
|
ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime
|
|
|
|
apt-get build-dep ./ -y
|
|
|
|
|
|
|
|
# Build package
|
|
|
|
dpkg-buildpackage
|
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
|
|
|
mv ./*.deb ./output/
|