[arch-commits] Commit in liblxqt/trunk (PKGBUILD qt5.14.diff)

Chih-Hsuan Yen yan12125 at archlinux.org
Fri Dec 20 15:31:16 UTC 2019


    Date: Friday, December 20, 2019 @ 15:31:16
  Author: yan12125
Revision: 538501

liblxqt: add a patch for qt 5.14

Ref: https://github.com/lxqt/liblxqt/pull/243

Added:
  liblxqt/trunk/qt5.14.diff
Modified:
  liblxqt/trunk/PKGBUILD

-------------+
 PKGBUILD    |    9 ++++++++-
 qt5.14.diff |   12 ++++++++++++
 2 files changed, 20 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-20 15:17:20 UTC (rev 538500)
+++ PKGBUILD	2019-12-20 15:31:16 UTC (rev 538501)
@@ -12,14 +12,21 @@
 source=(
 	"https://github.com/lxde/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"
 	"https://github.com/lxde/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz.asc"
+	qt5.14.diff
 )
 sha256sums=('1aa7325654d20d3060a0ef0ffc27febfd58ee66704ee690727dc1a77ad1069bd'
-            'SKIP')
+            'SKIP'
+            'dbde480fe0cd9393751636ec39a2282301eb3759bb0ec076d81b18d81e0fddb2')
 validpgpkeys=(
 	"169704C6FB490C6892C7F23C37E0AF1FDA48F373"  # Jerome Leclanche <jerome at leclan.ch>
 	"7C733BA5F585AAD669E4D23A42C9C8D3AF5EA5E3"  # Alf Gaida <agaida at siduction.org>
 )
 
+prepare() {
+	cd $pkgname-$pkgver
+	# Backport of https://github.com/lxqt/liblxqt/pull/243
+	patch -Np1 -i ../qt5.14.diff
+}
 
 build() {
 	mkdir -p build

Added: qt5.14.diff
===================================================================
--- qt5.14.diff	                        (rev 0)
+++ qt5.14.diff	2019-12-20 15:31:16 UTC (rev 538501)
@@ -0,0 +1,12 @@
+diff --git a/lxqtpowermanager.cpp b/lxqtpowermanager.cpp
+index aef5ca2..b0926f9 100644
+--- a/lxqtpowermanager.cpp
++++ b/lxqtpowermanager.cpp
+@@ -32,6 +32,7 @@
+ #include <QApplication>
+ #include <QDesktopWidget>
+ #include <QtDebug>
++#include <QFile>
+ #include "lxqttranslator.h"
+ #include "lxqtglobals.h"
+ #include "lxqtsettings.h"


More information about the arch-commits mailing list