From 3b5eec7005ff5633584add4e57810cc2ae210b76 Mon Sep 17 00:00:00 2001 From: John Date: Sat, 18 Mar 2023 18:42:39 +0100 Subject: [PATCH] flatpak-kcm: update to 5.27.3. --- .../patches/default-constructor.patch | 27 +++++++++++++++++++ srcpkgs/flatpak-kcm/template | 6 ++--- 2 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/flatpak-kcm/patches/default-constructor.patch diff --git a/srcpkgs/flatpak-kcm/patches/default-constructor.patch b/srcpkgs/flatpak-kcm/patches/default-constructor.patch new file mode 100644 index 00000000000..768588fb304 --- /dev/null +++ b/srcpkgs/flatpak-kcm/patches/default-constructor.patch @@ -0,0 +1,27 @@ +commit 331105fa44a0b03c7f7f5a543b92aab3ec659385 +Author: ivan tkachenko +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 diff --git a/srcpkgs/flatpak-kcm/template b/srcpkgs/flatpak-kcm/template index e56af811737..c9a99ea9624 100644 --- a/srcpkgs/flatpak-kcm/template +++ b/srcpkgs/flatpak-kcm/template @@ -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 " 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