mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
gtk-layer-shell: fix cross compilation
This commit is contained in:
parent
5c5998da47
commit
aa92e6114b
@ -1,11 +1,14 @@
|
||||
{ lib, stdenv
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, gtk-doc
|
||||
, docbook-xsl-nons
|
||||
, docbook_xml_dtd_43
|
||||
, wayland-scanner
|
||||
, wayland
|
||||
, gtk3
|
||||
, gobject-introspection
|
||||
@ -26,6 +29,27 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-Z7jPYLKgkwMNXu80aaZ2vNj57LbN+X2XqlTTq6l0wTE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/wmww/gtk-layer-shell/pull/146
|
||||
# Mark wayland-scanner as a build-time dependency
|
||||
(fetchpatch {
|
||||
url = "https://github.com/wmww/gtk-layer-shell/commit/6fd16352e5b35fefc91aa44e73671addaaa95dfc.patch";
|
||||
hash = "sha256-U/mxmcRcZnsF0fvWW0axo6ajqW40NuOzNIAzoLCboRM=";
|
||||
})
|
||||
# https://github.com/wmww/gtk-layer-shell/pull/147
|
||||
# Remove redundant dependency check for gtk-doc
|
||||
(fetchpatch {
|
||||
url = "https://github.com/wmww/gtk-layer-shell/commit/124ccc2772d5ecbb40b54872c22e594c74bd39bc.patch";
|
||||
hash = "sha256-WfrWe9UJCp1RvVJhURAxGw4jzqPjoaP6182jVdoEAQs=";
|
||||
})
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
depsBuildBuild = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
@ -35,6 +59,7 @@ stdenv.mkDerivation rec {
|
||||
docbook-xsl-nons
|
||||
docbook_xml_dtd_43
|
||||
vala
|
||||
wayland-scanner
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user