[arch-commits] Commit in mauikit/trunk (PKGBUILD mauikit-appletdecoration.patch)

Antonio Rojas arojas at archlinux.org
Fri May 14 05:57:33 UTC 2021


    Date: Friday, May 14, 2021 @ 05:57:33
  Author: arojas
Revision: 933942

Remove spurious appletdecoration import (FS#70846)

Added:
  mauikit/trunk/mauikit-appletdecoration.patch
Modified:
  mauikit/trunk/PKGBUILD

--------------------------------+
 PKGBUILD                       |   12 +++++++++---
 mauikit-appletdecoration.patch |   13 +++++++++++++
 2 files changed, 22 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-14 05:16:42 UTC (rev 933941)
+++ PKGBUILD	2021-05-14 05:57:33 UTC (rev 933942)
@@ -2,7 +2,7 @@
 
 pkgname=mauikit
 pkgver=1.2.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Templated convergent controls and multi-platform utilities for Maui applications"
 url="https://mauikit.org/"
 arch=(x86_64)
@@ -9,9 +9,15 @@
 license=(LGPL)
 depends=(kconfig kcoreaddons ki18n kirigami2 qt5-svg)
 makedepends=(extra-cmake-modules)
-source=(https://download.kde.org/stable/maui/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
-sha256sums=('3af24f8f8ac85a3215092d6014e60e324f400bbd96d8135ee273cf1d86dedef6')
+source=(https://download.kde.org/stable/maui/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz
+        mauikit-appletdecoration.patch)
+sha256sums=('3af24f8f8ac85a3215092d6014e60e324f400bbd96d8135ee273cf1d86dedef6'
+            '5ac1b69177039b5335304a39fdb20a5dd2cd00170c9a17f7a6dc8422328be949')
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < mauikit-appletdecoration.patch # Remove spurious appletdecoration import
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver
   cmake --build build

Added: mauikit-appletdecoration.patch
===================================================================
--- mauikit-appletdecoration.patch	                        (rev 0)
+++ mauikit-appletdecoration.patch	2021-05-14 05:57:33 UTC (rev 933942)
@@ -0,0 +1,13 @@
+diff --git a/src/mauikit.cpp b/src/mauikit.cpp
+index 5a40c394..31f333ed 100644
+--- a/src/mauikit.cpp
++++ b/src/mauikit.cpp
+@@ -177,7 +177,7 @@ void MauiKit::registerTypes(const char *uri)
+     qmlRegisterType(componentUrl(QStringLiteral("labs/WindowControlsWindows.qml")), uri, 1, 1, "WindowControls");    
+ #else
+     qmlRegisterType(componentUrl(QStringLiteral("labs/CSDControls.qml")), uri, 1, 1, "CSDControls");
+-    qmlRegisterType(componentUrl(QStringLiteral("labs/WindowControlsLinux.qml")), uri, 1, 1, "WindowControls");
++    qmlRegisterType(componentUrl(QStringLiteral("labs/WindowControlsWindows.qml")), uri, 1, 1, "WindowControls");
+ #endif
+     
+ #endif



More information about the arch-commits mailing list