Skip to content

Commit

Permalink
fix(gnome): Add XML files for Steam Deck backgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Aug 3, 2023
1 parent b0e2c76 commit 4069a31
Show file tree
Hide file tree
Showing 17 changed files with 188 additions and 60 deletions.

This file was deleted.

12 changes: 12 additions & 0 deletions spec_files/steamdeck-backgrounds/Steam Deck Logo 1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Steam Deck Logo 1</name>
<filename>/usr/share/backgrounds/steamdeck/src/Steam Deck Logo 1.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#F8F8F7</pcolor>
<scolor>#251F0E</scolor>
</wallpaper>
</wallpapers>
12 changes: 12 additions & 0 deletions spec_files/steamdeck-backgrounds/Steam Deck Logo 10.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Steam Deck Logo 10</name>
<filename>/usr/share/backgrounds/steamdeck/src/Steam Deck Logo 10.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#151516</pcolor>
<scolor>#312D28</scolor>
</wallpaper>
</wallpapers>
12 changes: 12 additions & 0 deletions spec_files/steamdeck-backgrounds/Steam Deck Logo 11.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Steam Deck Logo 11</name>
<filename>/usr/share/backgrounds/steamdeck/src/Steam Deck Logo 11.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#111210</pcolor>
<scolor>#7C6FB6</scolor>
</wallpaper>
</wallpapers>
12 changes: 12 additions & 0 deletions spec_files/steamdeck-backgrounds/Steam Deck Logo 12.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Steam Deck Logo 12</name>
<filename>/usr/share/backgrounds/steamdeck/src/Steam Deck Logo 12.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#E7E6E3</pcolor>
<scolor>#E5E3DE</scolor>
</wallpaper>
</wallpapers>
12 changes: 12 additions & 0 deletions spec_files/steamdeck-backgrounds/Steam Deck Logo 13.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Steam Deck Logo 13</name>
<filename>/usr/share/backgrounds/steamdeck/src/Steam Deck Logo 13.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#FEFEFE</pcolor>
<scolor>#D9D5CF</scolor>
</wallpaper>
</wallpapers>
12 changes: 12 additions & 0 deletions spec_files/steamdeck-backgrounds/Steam Deck Logo 2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Steam Deck Logo 2</name>
<filename>/usr/share/backgrounds/steamdeck/src/Steam Deck Logo 2.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#161517</pcolor>
<scolor>#1E1D21</scolor>
</wallpaper>
</wallpapers>
12 changes: 12 additions & 0 deletions spec_files/steamdeck-backgrounds/Steam Deck Logo 3.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Steam Deck Logo 3</name>
<filename>/usr/share/backgrounds/steamdeck/src/Steam Deck Logo 3.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#DCDBE3</pcolor>
<scolor>#CCCBD6</scolor>
</wallpaper>
</wallpapers>
12 changes: 12 additions & 0 deletions spec_files/steamdeck-backgrounds/Steam Deck Logo 4.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Steam Deck Logo 4</name>
<filename>/usr/share/backgrounds/steamdeck/src/Steam Deck Logo 4.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#FFFFFF</pcolor>
<scolor>#666966</scolor>
</wallpaper>
</wallpapers>
12 changes: 12 additions & 0 deletions spec_files/steamdeck-backgrounds/Steam Deck Logo 5.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Steam Deck Logo 5</name>
<filename>/usr/share/backgrounds/steamdeck/src/Steam Deck Logo 5.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#040304</pcolor>
<scolor>#2C0D12</scolor>
</wallpaper>
</wallpapers>
12 changes: 12 additions & 0 deletions spec_files/steamdeck-backgrounds/Steam Deck Logo 6.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Steam Deck Logo 6</name>
<filename>/usr/share/backgrounds/steamdeck/src/Steam Deck Logo 6.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#EBEBEB</pcolor>
<scolor>#060606</scolor>
</wallpaper>
</wallpapers>
12 changes: 12 additions & 0 deletions spec_files/steamdeck-backgrounds/Steam Deck Logo 7.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Steam Deck Logo 7</name>
<filename>/usr/share/backgrounds/steamdeck/src/Steam Deck Logo 7.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#060405</pcolor>
<scolor>#28182B</scolor>
</wallpaper>
</wallpapers>
12 changes: 12 additions & 0 deletions spec_files/steamdeck-backgrounds/Steam Deck Logo 8.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Steam Deck Logo 8</name>
<filename>/usr/share/backgrounds/steamdeck/src/Steam Deck Logo 8.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#EEE8E8</pcolor>
<scolor>#F2B00E</scolor>
</wallpaper>
</wallpapers>
12 changes: 12 additions & 0 deletions spec_files/steamdeck-backgrounds/Steam Deck Logo 9.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Steam Deck Logo 9</name>
<filename>/usr/share/backgrounds/steamdeck/src/Steam Deck Logo 9.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#54AADF</pcolor>
<scolor>#1775CA</scolor>
</wallpaper>
</wallpapers>
12 changes: 12 additions & 0 deletions spec_files/steamdeck-backgrounds/Steam Deck Logo Default.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Steam Deck Logo Default</name>
<filename>/usr/share/backgrounds/steamdeck/src/Steam Deck Logo Default.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#1A2336</pcolor>
<scolor>#211B33</scolor>
</wallpaper>
</wallpapers>
12 changes: 12 additions & 0 deletions spec_files/steamdeck-backgrounds/Troll.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Troll</name>
<filename>/usr/share/backgrounds/steamdeck/src/Troll.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#1F2E35</pcolor>
<scolor>#272F34</scolor>
</wallpaper>
</wallpapers>
15 changes: 8 additions & 7 deletions spec_files/steamdeck-backgrounds/steamdeck-backgrounds.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,28 @@ Summary: Backgrounds from Valve's SteamOS 3.0
License: GPLv2
URL: https://github.com/ublue-os/bazzite

Source: https://gitlab.com/evlaV/steamdeck-kde-presets/-/archive/master/steamdeck-kde-presets-master.tar.gz
Source: {{{ git_dir_pack }}}
Source1: https://gitlab.com/evlaV/steamdeck-kde-presets/-/archive/master/steamdeck-kde-presets-master.tar.gz?path=usr/share/wallpapers

BuildArch: noarch

Requires: kde-filesystem

Conflicts: steamdeck-kde-presets

%description
Backgrounds from Valve's SteamOS 3.0

# Disable debug packages
%define debug_package %{nil}

%prep
%autosetup -n steamdeck-kde-presets-master
{{{ git_dir_setup_macro }}}
gzip -dc %{SOURCE1} | tar -xvvf -

%build

%install
mkdir -p %{buildroot}%{_datadir}/backgrounds/steamdeck
cp -rv usr/share/wallpapers/* %{buildroot}%{_datadir}/backgrounds/steamdeck
mkdir -p %{buildroot}%{_datadir}/gnome-background-properties
cp -rv steamdeck-kde-presets-master-usr-share-wallpapers/usr/share/wallpapers/*.jpg %{buildroot}%{_datadir}/backgrounds/steamdeck
cp -rv *.xml %{buildroot}%{_datadir}/gnome-background-properties

# Do post-installation
%post
Expand All @@ -41,6 +41,7 @@ cp -rv usr/share/wallpapers/* %{buildroot}%{_datadir}/backgrounds/steamdeck
# are going to be installed into target system where the rpm is installed.
%files
%{_datadir}/backgrounds/steamdeck/*
%{_datadir}/gnome-background-properties/*

# Finally, changes from the latest release of your application are generated from
# your project's Git history. It will be empty until you make first annotated Git tag.
Expand Down

0 comments on commit 4069a31

Please sign in to comment.