git » phonon.git » commit 3072a7d

Move phonon-qt5-backend dependency inside package() to prevent build-time dependency cycles

author Antonio Rojas
2018-09-09 09:04:24 UTC
committer Antonio Rojas
2018-09-09 09:04:24 UTC
parent 09713d3674f4d157f609d6c090adcb7fce318b52

Move phonon-qt5-backend dependency inside package() to prevent build-time dependency cycles

PKGBUILD +2 -1

diff --git a/PKGBUILD b/PKGBUILD
index 1d52055..e1d607b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=2
 arch=(x86_64)
 url='http://phonon.kde.org/'
 license=(LGPL)
-depends=(libpulse qt5-base phonon-qt5-backend)
+depends=(libpulse qt5-base)
 optdepends=('pulseaudio: PulseAudio support' 'qt5-tools: Designer plugin')
 makedepends=(extra-cmake-modules qt5-tools)
 source=("http://download.kde.org/stable/$pkgbase/$pkgver/$pkgbase-$pkgver.tar.xz"{,.sig})
@@ -33,6 +33,7 @@ build() {
 }
 
 package_phonon-qt5(){
+  depends+=(phonon-qt5-backend)
   cd build
   make DESTDIR="$pkgdir" install
 }