[arch-commits] Commit in kompare/repos (3 files)

Antonio Rojas arojas at archlinux.org
Sat Mar 21 10:15:32 UTC 2020


    Date: Saturday, March 21, 2020 @ 10:15:31
  Author: arojas
Revision: 378240

archrelease: copy kde-unstable to kde-unstable-x86_64

Added:
  kompare/repos/kde-unstable-x86_64/
  kompare/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 378239, kompare/kde-unstable/PKGBUILD)
  kompare/repos/kde-unstable-x86_64/kompare-qt5.15.patch
    (from rev 378239, kompare/kde-unstable/kompare-qt5.15.patch)

----------------------+
 PKGBUILD             |   40 ++++++++++++++++++++++++++++++++++++++++
 kompare-qt5.15.patch |   12 ++++++++++++
 2 files changed, 52 insertions(+)

Copied: kompare/repos/kde-unstable-x86_64/PKGBUILD (from rev 378239, kompare/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2020-03-21 10:15:31 UTC (rev 378240)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kompare
+pkgver=20.03.80
+pkgrel=1
+pkgdesc='Graphical file differences tool'
+url='https://kde.org/applications/development/kompare/'
+arch=(x86_64)
+license=(GPL LGPL FDL)
+groups=(kde-applications kdesdk)
+depends=(libkomparediff2 ktexteditor hicolor-icon-theme)
+makedepends=(extra-cmake-modules kdoctools)
+source=("https://download.kde.org/unstable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}
+         kompare-qt5.15.patch)
+sha256sums=('2a3a25aa24eaa8e61ae7e4305cb628f053ee8c6b8579463106c30f4cc21521cd'
+            'SKIP'
+            '427ceeb4411355091b88ada2a8c900b45b94198ae6bb56a022efd53e7fe25a9e')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
+              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck at kde.org>
+
+prepare() {
+  mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kompare-qt5.15.patch # Fix build with Qt 5.15
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: kompare/repos/kde-unstable-x86_64/kompare-qt5.15.patch (from rev 378239, kompare/kde-unstable/kompare-qt5.15.patch)
===================================================================
--- kde-unstable-x86_64/kompare-qt5.15.patch	                        (rev 0)
+++ kde-unstable-x86_64/kompare-qt5.15.patch	2020-03-21 10:15:31 UTC (rev 378240)
@@ -0,0 +1,12 @@
+diff --git a/komparepart/kompareconnectwidget.cpp b/komparepart/kompareconnectwidget.cpp
+index 52e3d9d..b943456 100644
+--- a/komparepart/kompareconnectwidget.cpp
++++ b/komparepart/kompareconnectwidget.cpp
+@@ -21,6 +21,7 @@
+ 
+ #include <QApplication>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QPixmap>
+ #include <QStyle>
+ #include <QTimer>



More information about the arch-commits mailing list