[arch-commits] Commit in mauikit/repos/community-x86_64 (3 files)
Antonio Rojas
arojas at archlinux.org
Fri May 14 05:58:04 UTC 2021
Date: Friday, May 14, 2021 @ 05:58:04
Author: arojas
Revision: 933943
archrelease: copy trunk to community-x86_64
Added:
mauikit/repos/community-x86_64/PKGBUILD
(from rev 933942, mauikit/trunk/PKGBUILD)
mauikit/repos/community-x86_64/mauikit-appletdecoration.patch
(from rev 933942, mauikit/trunk/mauikit-appletdecoration.patch)
Deleted:
mauikit/repos/community-x86_64/PKGBUILD
--------------------------------+
PKGBUILD | 50 +++++++++++++++++++++------------------
mauikit-appletdecoration.patch | 13 ++++++++++
2 files changed, 41 insertions(+), 22 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-14 05:57:33 UTC (rev 933942)
+++ PKGBUILD 2021-05-14 05:58:04 UTC (rev 933943)
@@ -1,22 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=mauikit
-pkgver=1.2.2
-pkgrel=2
-pkgdesc="Templated convergent controls and multi-platform utilities for Maui applications"
-url="https://mauikit.org/"
-arch=(x86_64)
-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')
-
-build() {
- cmake -B build -S $pkgname-$pkgver
- cmake --build build
-}
-
-package() {
- DESTDIR="$pkgdir" cmake --install build
-}
Copied: mauikit/repos/community-x86_64/PKGBUILD (from rev 933942, mauikit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-14 05:58:04 UTC (rev 933943)
@@ -0,0 +1,28 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=mauikit
+pkgver=1.2.2
+pkgrel=3
+pkgdesc="Templated convergent controls and multi-platform utilities for Maui applications"
+url="https://mauikit.org/"
+arch=(x86_64)
+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
+ 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
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
Copied: mauikit/repos/community-x86_64/mauikit-appletdecoration.patch (from rev 933942, mauikit/trunk/mauikit-appletdecoration.patch)
===================================================================
--- mauikit-appletdecoration.patch (rev 0)
+++ mauikit-appletdecoration.patch 2021-05-14 05:58:04 UTC (rev 933943)
@@ -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