totem-pl-parser: support cross-compilation
This commit is contained in:
parent
99c4a49204
commit
befc0c04c2
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, meson, ninja, pkg-config, gettext, libxml2, gobject-introspection, gnome }:
|
{ lib, stdenv, fetchurl, meson, ninja, pkg-config, gettext, libxml2, gobject-introspection, gnome, glib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "totem-pl-parser";
|
pname = "totem-pl-parser";
|
||||||
|
@ -16,8 +16,14 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkg-config gettext gobject-introspection ];
|
strictDeps = true;
|
||||||
buildInputs = [ libxml2 ];
|
depsBuildBuild = [ pkg-config ];
|
||||||
|
nativeBuildInputs = [ meson ninja pkg-config gettext glib gobject-introspection ];
|
||||||
|
buildInputs = [ libxml2 glib ];
|
||||||
|
|
||||||
|
mesonFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||||
|
"-Dintrospection=false"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://wiki.gnome.org/Apps/Videos";
|
homepage = "https://wiki.gnome.org/Apps/Videos";
|
||||||
|
|
Loading…
Reference in a new issue