phonon: explicitly select Qt 4 vs. Qt 5

This commit is contained in:
Thomas Tuegel
2016-07-29 10:29:41 -05:00
parent 3dea00d90e
commit 2f32588a8f
4 changed files with 19 additions and 11 deletions
@@ -1,13 +1,14 @@
{ stdenv, lib, fetchurl, cmake, gst_all_1, phonon, pkgconfig
, extra-cmake-modules ? null, qtbase ? null, qtx11extras ? null, qt4 ? null
, debug ? false }:
, extra-cmake-modules, qtbase ? null, qtx11extras ? null, qt4 ? null
, withQt5 ? false
, debug ? false
}:
with lib;
let
v = "4.9.0";
pname = "phonon-backend-gstreamer";
withQt5 = extra-cmake-modules != null;
in
assert withQt5 -> qtbase != null;
@@ -1,13 +1,14 @@
{ stdenv, lib, fetchurl, cmake, phonon, pkgconfig, vlc
, extra-cmake-modules ? null, qtbase ? null, qtx11extras ? null, qt4 ? null
, debug ? false }:
, extra-cmake-modules, qtbase ? null, qtx11extras ? null, qt4 ? null
, withQt5 ? false
, debug ? false
}:
with lib;
let
v = "0.9.0";
pname = "phonon-backend-vlc";
withQt5 = extra-cmake-modules != null;
in
assert withQt5 -> qtbase != null;