mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
qt: make docs, demos and examples optionnaly available
As the only option before was to don't include them at all.
This commit is contained in:
parent
de100cb899
commit
0c6e22adba
@ -10,6 +10,9 @@
|
||||
, flashplayerFix ? false, gdk_pixbuf
|
||||
, gtkStyle ? false, libgnomeui, gtk, GConf, gnome_vfs
|
||||
, developerBuild ? false
|
||||
, docs ? false
|
||||
, examples ? false
|
||||
, demos ? false
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
@ -72,7 +75,9 @@ stdenv.mkDerivation rec {
|
||||
-exceptions -xmlpatterns
|
||||
|
||||
-make libs -make tools -make translations
|
||||
-nomake demos -nomake examples -nomake docs
|
||||
-${if demos then "" else "no"}make demos
|
||||
-${if examples then "" else "no"}make examples
|
||||
-${if docs then "" else "no"}make docs
|
||||
|
||||
-no-phonon ${if buildWebkit then "" else "-no"}-webkit ${if buildMultimedia then "" else "-no"}-multimedia -audio-backend
|
||||
${if developerBuild then "-developer-build" else ""}
|
||||
|
Loading…
Reference in New Issue
Block a user