diff options
author | Colin <colin@uninsane.org> | 2023-03-23 23:21:33 +0000 |
---|---|---|
committer | Colin <colin@uninsane.org> | 2023-03-27 00:12:24 +0000 |
commit | d20bb7f9be205bfbaa93bd3356db2f5ffef78e65 (patch) | |
tree | c9d48dfb10503ca41f27a5e1f7ce84f4d63d3eb7 /pkgs/development/libraries/gupnp | |
parent | 63793f516e5164eace848e37e4852a3d33e71f93 (diff) |
gupnp_1_6: support cross compilation
Diffstat (limited to 'pkgs/development/libraries/gupnp')
-rw-r--r-- | pkgs/development/libraries/gupnp/1.6.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gupnp/1.6.nix b/pkgs/development/libraries/gupnp/1.6.nix index 9145420ad2523..2b3cd2566b5b0 100644 --- a/pkgs/development/libraries/gupnp/1.6.nix +++ b/pkgs/development/libraries/gupnp/1.6.nix @@ -1,5 +1,6 @@ { stdenv , lib +, fetchpatch , fetchurl , meson , ninja @@ -25,6 +26,15 @@ stdenv.mkDerivation rec { sha256 = "sha256-T09Biwe4EWTfH3q2EuKOTAFsLQhbik85+XlF+LFe4kg="; }; + patches = [ + (fetchpatch { + # https://gitlab.gnome.org/GNOME/gupnp/-/merge_requests/32 + name = "gi-docgen-as-native-dep.patch"; + url = "https://gitlab.gnome.org/GNOME/gupnp/-/commit/11d4a33cff1f5d8b8ad4b80c4506246a9e0dff8f.diff"; + hash = "sha256-+p4vzUG2v+7mxtQ5AUcEI7SW0cDX6XlzqlyegF+I1Go="; + }) + ]; + depsBuildBuild = [ pkg-config ]; @@ -47,7 +57,6 @@ stdenv.mkDerivation rec { mesonFlags = [ "-Dgtk_doc=true" - "-Dintrospection=true" ]; doCheck = true; |