Package Details: phonon-qt6-git 4.11.1_r3911.g0f0ae8d0-1

Git Clone URL: (read-only, click to copy)
Package Base: phonon-qt6-git
Description: The multimedia framework by KDE
Upstream URL:
Licenses: LGPL
Conflicts: phonon-qt6
Provides: phonon-qt6
Replaces: phonon-git
Submitter: IslandC0der
Maintainer: IslandC0der
Last Packager: IslandC0der
Votes: 0
Popularity: 0.000000
First Submitted: 2023-06-08 22:16 (UTC)
Last Updated: 2023-06-08 22:16 (UTC)

Required by (6)

Sources (1)

Latest Comments

nulogicsystems commented on 2023-10-11 17:37 (UTC) (edited on 2023-10-16 18:15 (UTC) by nulogicsystems)

un-splitting the packging is fine, but it won't build in a clean chroot without the qt5 dependencies.

- The following RECOMMENDED packages have not been found:

 * Qt5Designer (required version >= 5.15.0), Needed to build the Qt Designer plugin, <>

-- The following REQUIRED packages have not been found:

 * Qt5Core (required version >= 5.15.0), Qt5 core module, <>
 * Qt5Gui (required version >= 5.15.0), Qt5 GUI module, <>
 * Qt5Widgets (required version >= 5.15.0), Qt5 widgets module, <>

CMake Error at /usr/share/cmake/Modules/FeatureSummary.cmake:464 (message):
  feature_summary() Error: REQUIRED package(s) are missing, aborting CMake
Call Stack (most recent call first):
  CMakeLists.txt:236 (feature_summary)

-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().

Why not disable the QT5 build altogether since it's already provided?

Rustmilian commented on 2023-03-13 04:42 (UTC) (edited on 2023-03-13 04:43 (UTC) by Rustmilian)

@IslandC0der if you wish to take the liberty in splitting it go right ahead.

I un-split it for the sake of sanity.

It's your package so make any alterations you want and just use my diff to know what deps you need.

IslandC0der commented on 2023-03-13 03:08 (UTC)

@Rustmilian looks good, but why have you unsplit the package? The tradition so far has been to have it as a split package so as to provide both Qt versions during a transient stage

I agree it might make sense to separate it into 2 distinct PKGBUILDs for the AUR, but then the new pkgname would be phonon-qt6-git

Rustmilian commented on 2023-03-13 02:50 (UTC) (edited on 2023-03-13 03:00 (UTC) by Rustmilian)


diff --git a/PKGBUILD b/PKGBUILD
index 5c9c73f..817e6ac 100644
@@ -1,36 +1,34 @@
 # Merged with official ABS phonon PKGBUILD by João, 2021/05/01 (all respective contributors apply herein)
 # Maintainer: João Figueiredo & chaotic-aur <>

 pkgdesc="The multimedia framework by KDE"
-depends=(libpulse qt5-base)
-optdepends=('pulseaudio: PulseAudio support' 'qt5-tools: Designer plugin')
-makedepends=(git extra-cmake-modules-git qt5-tools)
+depends=(libpulse qt6-base)
+optdepends=('pulseaudio: PulseAudio support' 'qt6-tools: Designer plugin')
+makedepends=(git extra-cmake-modules-git qt6-tools qt6-5compat)

 pkgver() {
-  cd ${pkgbase%-git}
+  cd ${pkgname%-git}
   _ver="$(grep -m1 'project(Phonon VERSION' CMakeLists.txt | cut -d '"' -f2 | tr - .)"
   echo "${_ver}_r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"

 build() {
-  cmake -B build -S ${pkgbase%-git} \
+  cmake -B build -S ${pkgname%-git} \
   cmake --build build

-  depends+=(phonon-qt5-backend)
   DESTDIR="$pkgdir" cmake --install build



make sure to regenerate .SRCINFO

davispuh commented on 2023-02-06 04:08 (UTC)

To build it for Qt6 pass -DQT_MAJOR_VERSION=6