git » kuserfeedback.git » commit f9b1058

upgpkg: 6.0.0-2: Reenable console, replace Qt5 version

author Antonio Rojas
2024-02-23 08:31:06 UTC
committer Antonio Rojas
2024-02-23 08:31:06 UTC
parent f739a1a119da37f705c0c0645b2c638327fd9fe1

upgpkg: 6.0.0-2: Reenable console, replace Qt5 version

.SRCINFO +5 -1
PKGBUILD +7 -7

diff --git a/.SRCINFO b/.SRCINFO
index d71420c..d194c4c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = kuserfeedback
 	pkgdesc = Framework for collecting user feedback for applications via telemetry and surveys
 	pkgver = 6.0.0
-	pkgrel = 1
+	pkgrel = 2
 	url = https://community.kde.org/Frameworks
 	arch = x86_64
 	license = LGPL-2.0-only
@@ -15,7 +15,11 @@ pkgbase = kuserfeedback
 	depends = gcc-libs
 	depends = glibc
 	depends = qt6-base
+	optdepends = qt6-charts: Feedback console
 	optdepends = qt6-declarative: QML bindings
+	optdepends = qt6-svg: Feedback console
+	conflicts = kuserfeedback5
+	replaces = kuserfeedback5
 	source = https://download.kde.org/stable/frameworks/6.0/kuserfeedback-6.0.0.tar.xz
 	source = https://download.kde.org/stable/frameworks/6.0/kuserfeedback-6.0.0.tar.xz.sig
 	validpgpkeys = 53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB
diff --git a/PKGBUILD b/PKGBUILD
index d5634dd..ce6cf43 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 
 pkgname=kuserfeedback
 pkgver=6.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Framework for collecting user feedback for applications via telemetry and surveys'
 arch=(x86_64)
 url='https://community.kde.org/Frameworks'
@@ -16,7 +16,11 @@ makedepends=(clang
              qt6-declarative
              qt6-svg
              qt6-tools)
-optdepends=('qt6-declarative: QML bindings')
+optdepends=('qt6-charts: Feedback console'
+            'qt6-declarative: QML bindings'
+            'qt6-svg: Feedback console')
+conflicts=(kuserfeedback5)
+replaces=(kuserfeedback5)
 source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
 sha256sums=('02f1af108e253c842526d31c997a1777b8f7a6e5b8698b5b1267ce1ec128af2b'
             'SKIP')
@@ -25,11 +29,7 @@ validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB  # David Faure <faure@kde
 
 build() {
   cmake -B build -S $pkgname-$pkgver \
-    -DBUILD_TESTING=OFF \
-    -DQT_MAJOR_VERSION=6 \
-    -DENABLE_CONSOLE=OFF \
-    -DENABLE_CLI=OFF \
-    -DENABLE_DOCS=OFF
+    -DBUILD_TESTING=OFF
   cmake --build build
 }