summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/plasma-desktop/APKBUILD9
-rw-r--r--user/plasma-desktop/remove-discover-from-taskmanager.patch16
2 files changed, 22 insertions, 3 deletions
diff --git a/user/plasma-desktop/APKBUILD b/user/plasma-desktop/APKBUILD
index f7e32488f..4623429b6 100644
--- a/user/plasma-desktop/APKBUILD
+++ b/user/plasma-desktop/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox-kde@adelielinux.org>
pkgname=plasma-desktop
pkgver=5.24.5
-pkgrel=0
+pkgrel=1
pkgdesc="Modern, functional, integrated libre desktop environment"
url="https://www.kde.org/plasma-desktop"
arch="all"
@@ -28,7 +28,9 @@ makedepends="cmake qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtx11extras-dev
kirigami2-dev libksysguard-dev qt5-qtquickcontrols2-dev
kuserfeedback-dev qqc2-desktop-style-dev"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://download.kde.org/stable/plasma/$pkgver/plasma-desktop-$pkgver.tar.xz"
+source="https://download.kde.org/stable/plasma/$pkgver/plasma-desktop-$pkgver.tar.xz
+ remove-discover-from-taskmanager.patch
+ "
build() {
if [ "$CBUILD" != "$CHOST" ]; then
@@ -54,4 +56,5 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="3bb770023b47dcc3c51dbdacfe9cb93adc2f514d8d19f54fed10023d9440bed956ec3beb18d9979cb408ab2e6e960ca383d215fd072ba2df34e4e0b5f6c55270 plasma-desktop-5.24.5.tar.xz"
+sha512sums="3bb770023b47dcc3c51dbdacfe9cb93adc2f514d8d19f54fed10023d9440bed956ec3beb18d9979cb408ab2e6e960ca383d215fd072ba2df34e4e0b5f6c55270 plasma-desktop-5.24.5.tar.xz
+962139886d2d8a2828ff17576cac42ae3cb72ca709f1d387962da0b0adf5c8cb017f362dadc269867968da68680db5647065bdb9221dd69ff96194af0ce62238 remove-discover-from-taskmanager.patch"
diff --git a/user/plasma-desktop/remove-discover-from-taskmanager.patch b/user/plasma-desktop/remove-discover-from-taskmanager.patch
new file mode 100644
index 000000000..76e37ac85
--- /dev/null
+++ b/user/plasma-desktop/remove-discover-from-taskmanager.patch
@@ -0,0 +1,16 @@
+We don't ship Discover right now, and this gives users a broken app icon
+by default.
+
+See-also: https://git.adelielinux.org/adelie/packages/-/issues/1115
+
+--- plasma-desktop-5.24.5/applets/taskmanager/package/contents/config/main.xml.old 2022-05-03 05:31:25.000000000 -0500
++++ plasma-desktop-5.24.5/applets/taskmanager/package/contents/config/main.xml 2023-11-25 06:21:00.002184051 -0600
+@@ -81,7 +81,7 @@
+ </entry>
+ <entry name="launchers" type="StringList">
+ <label>The list of launcher tasks on the widget. Usually .desktop file or executable URLs. Special URLs such as preferred://browser that expand to default applications are supported.</label>
+- <default>applications:systemsettings.desktop,applications:org.kde.discover.desktop,preferred://filemanager,preferred://browser</default>
++ <default>applications:systemsettings.desktop,preferred://filemanager,preferred://browser</default>
+ </entry>
+ <entry name="middleClickAction" type="Enum">
+ <label>What to do on middle-mouse click on a task button.</label>