Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : yaru-theme | name : yaru-theme | ||||
| version : 20.10.6.1 | version : 21.10.2 | ||||
| release : 12 | release : 13 | ||||
| source : | source : | ||||
| - https://github.com/ubuntu/yaru/archive/20.10.6.1.tar.gz : d28fda9bf15ec920b2b2b622c3cf5e64973bccc4c97a0fda477f402e3e049b0b | - https://github.com/ubuntu/yaru/archive/refs/tags/21.10.2.tar.gz : 996e4a3e51d438dcb8ec63829de981d9c0a1a893c5553fd5c5a261c936cea551 | ||||
| license : | license : | ||||
| - CC-BY-SA-4.0 | - CC-BY-SA-4.0 | ||||
| - GPL-3.0-or-later | - GPL-3.0-or-later | ||||
| - LGPL-2.1-only | - LGPL-2.1-only | ||||
| - LGPL-3.0-only | - LGPL-3.0-only | ||||
| component : | component : | ||||
| - ^yaru-icon-theme : desktop.theme | - ^yaru-icon-theme : desktop.theme | ||||
| - ^yaru-gtk-theme : desktop.theme | - ^yaru-gtk-theme : desktop.theme | ||||
| summary : Yaru default ubuntu theme | summary : Yaru default ubuntu theme | ||||
| description: | | description: | | ||||
| Yaru is a theme entirely backed by the Ubuntu community | Yaru is a theme entirely backed by the Ubuntu community | ||||
| patterns : | patterns : | ||||
| - ^yaru-icon-theme : /usr/share/icons | - ^yaru-icon-theme : /usr/share/icons | ||||
| - ^yaru-gtk-theme : /usr/share/themes | - ^yaru-gtk-theme : | ||||
| - /usr/share/themes | |||||
| - /usr/share/gtksourceview-* | |||||
| builddeps : | builddeps : | ||||
| - sassc | - sassc | ||||
| rundeps : | rundeps : | ||||
| - ^yaru-gtk-theme : | - ^yaru-gtk-theme : | ||||
| - gtk-engines | - gtk-engines | ||||
| - gtk2-engine-murrine | - gtk2-engine-murrine | ||||
| setup : | | setup : | | ||||
| %patch -p1 < $pkgfiles/0001-fix-gnome-shell-install-dir.patch | %patch -p1 < $pkgfiles/0001-fix-gnome-shell-install-dir.patch | ||||
| %meson_configure \ | %meson_configure \ | ||||
| -Dsessions=false \ | -Dsessions=false \ | ||||
| -Dsounds=false | -Dsounds=false | ||||
| build : | | build : | | ||||
| %ninja_build | %ninja_build | ||||
| install : | | install : | | ||||
| %ninja_install | %ninja_install | ||||
| # Fix symbolic links | # Fix symbolic links | ||||
| rm -rf $installdir/usr/share/themes/*/gnome-shell | rm -rf $installdir/usr/share/themes/*/gnome-shell | ||||
| ln -sv /usr/share/themes/Yaru/Yaru-shell/Yaru $installdir/usr/share/themes/Yaru/gnome-shell | ln -sv /usr/share/themes/Yaru/Yaru-shell/Yaru $installdir/usr/share/themes/Yaru/gnome-shell | ||||
| ln -sv /usr/share/themes/Yaru/Yaru-shell/Yaru-dark $installdir/usr/share/themes/Yaru-dark/gnome-shell | ln -sv /usr/share/themes/Yaru/Yaru-shell/Yaru-dark $installdir/usr/share/themes/Yaru-dark/gnome-shell | ||||
| # Nuke the things we don't need | # Nuke the things we don't need | ||||
| rm -rf $installdir/usr/share/themes/Yaru/unity | rm -rf $installdir/usr/share/themes/Yaru/unity | ||||
JoshStrobl: To avoid future confusion let's put this on a different line after the unity rm and have it be… | |||||
Done Inline ActionsYeah, that's cleaner. Thanks! Staudey: Yeah, that's cleaner. Thanks! | |||||
| # Nuke empty directory | |||||
| rmdir $installdir/usr/share/themes/Yaru-light | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.
To avoid future confusion let's put this on a different line after the unity rm and have it be:
Benefit of using rmdir is it'll fail to nuke if the directory ever gets content again.