# Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-other pkgname=phonon pkgver=4.11.1 pkgrel=5 pkgdesc="KDE multimedia backend" url="https://userbase.kde.org/Phonon" arch="all !armhf" # armhf blocked by qt5-qtdeclarative license="LGPL-2.1-or-later" depends_dev=" glib-dev qt5-qtdeclarative-dev " makedepends="$depends_dev extra-cmake-modules qt5-qtbase-dev qt5-qttools-dev samurai " subpackages="$pkgname-dev $pkgname-lang" _repo_url="https://invent.kde.org/libraries/phonon.git" source="https://download.kde.org/stable/phonon/$pkgver/phonon-$pkgver.tar.xz" options="!check" # No tests build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE \ -DPHONON_BUILD_PHONON4QT5=ON cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums="858b2b0d7b0336af76d226b30f3acd1914e7297e0879d5a417fa1b87b13c812f9aab7e20adcad33ce1a03624ce78323dd9968b4b277caf85f800ca60aa134f74 phonon-4.11.1.tar.xz"