flatpak-kcm: update to 5.27.3.
This commit is contained in:
parent
8908032996
commit
3b5eec7005
27
srcpkgs/flatpak-kcm/patches/default-constructor.patch
Normal file
27
srcpkgs/flatpak-kcm/patches/default-constructor.patch
Normal file
@ -0,0 +1,27 @@
|
||||
commit 331105fa44a0b03c7f7f5a543b92aab3ec659385
|
||||
Author: ivan tkachenko <me@ratijas.tk>
|
||||
Date: Wed Mar 15 21:43:15 2023 +0600
|
||||
|
||||
FlatpakPermission: Add back no-args default constructor
|
||||
|
||||
Older toolchain such as Kubuntu requires default constructor to use this
|
||||
class with QVector. Do not use this constructor manually.
|
||||
|
||||
BUG: 467399
|
||||
(cherry picked from commit 7e644d8f39e38f5713938424fef6064261270023)
|
||||
|
||||
diff --git a/flatpakpermission.h b/flatpakpermission.h
|
||||
index 8f24354..7b9a5c7 100644
|
||||
--- a/flatpakpermission.h
|
||||
+++ b/flatpakpermission.h
|
||||
@@ -99,6 +99,10 @@ public:
|
||||
Advanced
|
||||
};
|
||||
|
||||
+ // Default constructor is required for meta-type registration.
|
||||
+ /** Default constructor. Creates an invalid entry. */
|
||||
+ FlatpakPermission() = default;
|
||||
+
|
||||
/**
|
||||
* Create a Dummy entry for the Advanced and user-editable sections, just so
|
||||
* that ListView shows a section header even if there are no permission row
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'flatpak-kcm'
|
||||
pkgname=flatpak-kcm
|
||||
version=5.27.2.2
|
||||
version=5.27.3
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DBUILD_TESTING=OFF -DKF5_HOST_TOOLING=/usr/lib/cmake"
|
||||
@ -12,5 +12,5 @@ short_desc="KDE Config Module for Flatpak Permissions"
|
||||
maintainer="John <me@johnnynator.dev>"
|
||||
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
||||
homepage="https://invent.kde.org/plasma/flatpak-kcm"
|
||||
distfiles="${KDE_SITE}/plasma/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||
checksum=14a69a0fdc2274749c3420acee6c1e712415bb98d02bc5189fd1e510be4f015b
|
||||
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
|
||||
checksum=3691c87e639d4015affd800bb1eb69878c1754b2491845a74c2cae91d13d5bfe
|
||||
|
Loading…
x
Reference in New Issue
Block a user