git » pulseaudio-qt.git » commit ae05f16

upgpkg: 1.4.0-2: Build with Qt6 in kde-unstable

author Antonio Rojas
2024-01-09 17:31:33 UTC
committer Antonio Rojas
2024-01-09 17:31:33 UTC
parent 6de956ec70621c9fdb9574182c4e7dda866398e9

upgpkg: 1.4.0-2: Build with Qt6 in kde-unstable

.SRCINFO +4 -4
PKGBUILD +6 -5

diff --git a/.SRCINFO b/.SRCINFO
index 1fd0335..e86e33d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,18 @@
 pkgbase = pulseaudio-qt
 	pkgdesc = Qt bindings for libpulse
 	pkgver = 1.4.0
-	pkgrel = 1
+	pkgrel = 2
 	url = https://community.kde.org/Frameworks
 	arch = x86_64
 	license = LGPL
 	makedepends = doxygen
 	makedepends = extra-cmake-modules
-	makedepends = qt5-doc
-	makedepends = qt5-tools
+	makedepends = qt6-doc
+	makedepends = qt6-tools
 	depends = gcc-libs
 	depends = glibc
 	depends = libpulse
-	depends = qt5-base
+	depends = qt6-base
 	source = https://download.kde.org/stable/pulseaudio-qt/pulseaudio-qt-1.4.0.tar.xz
 	source = https://download.kde.org/stable/pulseaudio-qt/pulseaudio-qt-1.4.0.tar.xz.sig
 	validpgpkeys = 2D1D5B0588357787DE9EE225EC94D18F7F05997E
diff --git a/PKGBUILD b/PKGBUILD
index 6b0ccf6..aa3aa1d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 
 pkgname=pulseaudio-qt
 pkgver=1.4.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Qt bindings for libpulse'
 arch=(x86_64)
 url='https://community.kde.org/Frameworks'
@@ -10,11 +10,11 @@ license=(LGPL)
 depends=(gcc-libs
          glibc
          libpulse
-         qt5-base)
+         qt6-base)
 makedepends=(doxygen
              extra-cmake-modules
-             qt5-doc
-             qt5-tools)
+             qt6-doc
+             qt6-tools)
 source=(https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
 sha256sums=('d8ca624ecf2130856b859cf9341177f6fef8c51f20f7728d807d09c7150ed065'
             'SKIP')
@@ -24,7 +24,8 @@ validpgpkeys=(2D1D5B0588357787DE9EE225EC94D18F7F05997E  # Jonathan Riddell <jr@j
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DBUILD_QCH=ON \
-    -DBUILD_TESTING=OFF
+    -DBUILD_TESTING=OFF \
+    -DQT_MAJOR_VERSION=6
   cmake --build build
 }