pkgname=phonon pkgver=4.12.0 pkgrel=1 pkgdesc="The multimedia framework by KDE" arch=('x86_64') url="https://community.kde.org/Phonon" license=('LGPL') depends=('gcc-libs' 'glibc' 'pulseaudio' 'qt6-qt5compat' 'qt6-qtbase') makedepends=('extra-cmake-modules' 'qt6-qttools' 'cmake') source=(https://download.kde.org/stable/phonon/${pkgver}/${pkgname}-${pkgver}.tar.xz) sha256sums=(3287ffe0fbcc2d4aa1363f9e15747302d0b080090fe76e5f211d809ecb43f39a) build() { cd ${pkgname}-${pkgver} cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DPHONON_BUILD_QT5=OFF \ -Wno-dev \ -B flarebird-build cmake --build flarebird-build } package() { cd ${pkgname}-${pkgver} DESTDIR=${pkgdir} cmake --install flarebird-build }