gsound: support cross-compilation
Disables vala and introspection, making it less usable in general. It helps moving forward and fixing other packages, though.
This commit is contained in:
parent
a2aaaee3d9
commit
2892b0c60c
1 changed files with 7 additions and 0 deletions
|
@ -9,9 +9,16 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "06l80xgykj7x1kqkjvcq06pwj2rmca458zvs053qc55x3sg06bfa";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
depsBuildBuild = [ pkg-config ];
|
||||
nativeBuildInputs = [ pkg-config meson ninja gobject-introspection libtool vala ];
|
||||
buildInputs = [ glib libcanberra ];
|
||||
|
||||
mesonFlags = [
|
||||
"-Dintrospection=${lib.boolToString (stdenv.buildPlatform == stdenv.hostPlatform)}"
|
||||
"-Denable_vala=${lib.boolToString (stdenv.buildPlatform == stdenv.hostPlatform)}"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = pname;
|
||||
|
|
Loading…
Reference in a new issue