gcolor3: fix build
This commit is contained in:
parent
d8ce0727e4
commit
50dd556b4f
1 changed files with 6 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, libxml2
|
, libxml2
|
||||||
, gtk3
|
, gtk3
|
||||||
, libportal
|
, libportal-gtk3
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -33,12 +33,16 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtk3
|
gtk3
|
||||||
libportal
|
libportal-gtk3
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
chmod +x meson_install.sh # patchShebangs requires executable file
|
chmod +x meson_install.sh # patchShebangs requires executable file
|
||||||
patchShebangs meson_install.sh
|
patchShebangs meson_install.sh
|
||||||
|
|
||||||
|
# https://gitlab.gnome.org/World/gcolor3/merge_requests/151
|
||||||
|
substituteInPlace meson.build --replace "dependency(${"\n"} 'libportal'" "dependency(${"\n"} 'libportal-gtk3'"
|
||||||
|
substituteInPlace src/gcolor3-color-selection.c --replace "libportal/portal-gtk3.h" "libportal-gtk3/portal-gtk3.h"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue