gst-plugins-good: Add optional qt5Support
This commit is contained in:
parent
d5d2206b95
commit
3162bc0e32
@ -30,6 +30,7 @@
|
|||||||
, mpg123
|
, mpg123
|
||||||
, twolame
|
, twolame
|
||||||
, gtkSupport ? false, gtk3 ? null
|
, gtkSupport ? false, gtk3 ? null
|
||||||
|
, qt5Support ? false, qt5 ? null
|
||||||
, raspiCameraSupport ? false, libraspberrypi ? null
|
, raspiCameraSupport ? false, libraspberrypi ? null
|
||||||
, enableJack ? true, libjack2
|
, enableJack ? true, libjack2
|
||||||
, libXdamage
|
, libXdamage
|
||||||
@ -102,7 +103,12 @@ stdenv.mkDerivation rec {
|
|||||||
] ++ optionals gtkSupport [
|
] ++ optionals gtkSupport [
|
||||||
# for gtksink
|
# for gtksink
|
||||||
gtk3
|
gtk3
|
||||||
] ++ optionals stdenv.isDarwin [
|
] ++ optionals qt5Support (with qt5; [
|
||||||
|
qtbase
|
||||||
|
qtdeclarative
|
||||||
|
qtwayland
|
||||||
|
qtx11extras
|
||||||
|
]) ++ optionals stdenv.isDarwin [
|
||||||
darwin.apple_sdk.frameworks.Cocoa
|
darwin.apple_sdk.frameworks.Cocoa
|
||||||
] ++ optionals stdenv.isLinux [
|
] ++ optionals stdenv.isLinux [
|
||||||
libv4l
|
libv4l
|
||||||
@ -118,7 +124,8 @@ stdenv.mkDerivation rec {
|
|||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
|
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
|
||||||
"-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing
|
"-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing
|
||||||
"-Dqt5=disabled" # not clear as of writing how to correctly pass in the required qt5 deps
|
] ++ optionals (!qt5Support) [
|
||||||
|
"-Dqt5=disabled"
|
||||||
] ++ optionals (!gtkSupport) [
|
] ++ optionals (!gtkSupport) [
|
||||||
"-Dgtk3=disabled"
|
"-Dgtk3=disabled"
|
||||||
] ++ optionals (!enableJack) [
|
] ++ optionals (!enableJack) [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user