Skip to content

Commit

Permalink
pkg: plasma: plasma-mobile: fix default wallpaper
Browse files Browse the repository at this point in the history
Signed-off-by: Danct12 <[email protected]>
  • Loading branch information
Danct12 committed Feb 22, 2022
1 parent 88980b9 commit aeff344
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 3 deletions.
9 changes: 6 additions & 3 deletions PKGBUILDS/plasma/plasma-mobile/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

pkgname=plasma-mobile
pkgver=5.24.1
pkgrel=2
pkgrel=3
pkgdesc="General UI components for Plasma Phone including shell, containment and applets."
arch=('aarch64' 'x86_64')
url="https://community.kde.org/Plasma/Mobile"
Expand All @@ -14,14 +14,17 @@ depends=('desktop-file-utils' 'plasma-workspace' 'networkmanager-qt' 'modemmanag
makedepends=('cmake' 'baloo' 'extra-cmake-modules' 'kdoctools')
replaces=('plasma-phone-components')
source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
'fix_close_action.patch')
'fix_close_action.patch'
'set_default_wallpaper.patch')
install=$pkgname.install
sha512sums=('0aa513e0c261a441c5cf298664e03e59080b042387a6b36fc9e1d0f5acef72abbd890c693e9cb688bf5da6546f576c9c09b71bfb7a0a2bd2e6fae1e3cb0caa6d'
'15b3ae066ef0684111416e11b5313e83d7f8e7d2e0c3ff01c9eb08a14d1cef45ef9e090d602e2fb0750371d4b6e66fac41d6e84079a5aa11bfa9f01848cab566')
'15b3ae066ef0684111416e11b5313e83d7f8e7d2e0c3ff01c9eb08a14d1cef45ef9e090d602e2fb0750371d4b6e66fac41d6e84079a5aa11bfa9f01848cab566'
'3e2ee3d99aa238e75af8160d4b22325600400d26bcdc187613a40a00afa35638e46e4376029375e39dbf2a1c5a019cb1e76842f0d34b36fded757f948bc78401')

prepare() {
cd $pkgname-$pkgver
patch -p1 < ../fix_close_action.patch
patch -p1 < ../set_default_wallpaper.patch
cd ..

mkdir -p build
Expand Down
24 changes: 24 additions & 0 deletions PKGBUILDS/plasma/plasma-mobile/set_default_wallpaper.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
From 234dc129011176e009f57757c8acf7f8d69ed12a Mon Sep 17 00:00:00 2001
From: Aleix Pol <[email protected]>
Date: Sat, 19 Feb 2022 03:02:17 +0100
Subject: [PATCH] Ensure we have a default wallpaper

Fixes https://invent.kde.org/teams/plasma-mobile/issues/-/issues/125
---
look-and-feel/contents/defaults | 3 +++
1 file changed, 3 insertions(+)

diff --git a/look-and-feel/contents/defaults b/look-and-feel/contents/defaults
index 174ca5840..159ecb8f2 100644
--- a/look-and-feel/contents/defaults
+++ b/look-and-feel/contents/defaults
@@ -9,3 +9,6 @@ Placement=Maximizing

[plasmashellrc][Shell]
ShellPackage=org.kde.plasma.phoneshell
+
+[Wallpaper]
+Image=Next
--
GitLab

0 comments on commit aeff344

Please sign in to comment.