libdbusmenu: use latest vala, use placeholder
This commit is contained in:
parent
2c352ad4d8
commit
225bf9f38f
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, fetchurl, lib, file
|
{ stdenv, fetchurl, lib, file
|
||||||
, pkgconfig, intltool
|
, pkgconfig, intltool
|
||||||
, glib, dbus-glib, json-glib
|
, glib, dbus-glib, json-glib
|
||||||
, gobject-introspection, vala_0_38, gnome-doc-utils
|
, gobject-introspection, vala, gnome-doc-utils
|
||||||
, gtkVersion ? null, gtk2 ? null, gtk3 ? null }:
|
, gtkVersion ? null, gtk2 ? null, gtk3 ? null }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
@ -18,11 +18,11 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "12l7z8dhl917iy9h02sxmpclnhkdjryn08r8i4sr8l3lrlm4mk5r";
|
sha256 = "12l7z8dhl917iy9h02sxmpclnhkdjryn08r8i4sr8l3lrlm4mk5r";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig intltool ];
|
nativeBuildInputs = [ vala pkgconfig intltool ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glib dbus-glib json-glib
|
glib dbus-glib json-glib
|
||||||
gobject-introspection vala_0_38 gnome-doc-utils
|
gobject-introspection gnome-doc-utils
|
||||||
] ++ optional (gtkVersion != null) (if gtkVersion == "2" then gtk2 else gtk3);
|
] ++ optional (gtkVersion != null) (if gtkVersion == "2" then gtk2 else gtk3);
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -49,9 +49,9 @@ stdenv.mkDerivation rec {
|
|||||||
doCheck = false; # generates shebangs in check phase, too lazy to fix
|
doCheck = false; # generates shebangs in check phase, too lazy to fix
|
||||||
|
|
||||||
installFlags = [
|
installFlags = [
|
||||||
"sysconfdir=\${out}/etc"
|
"sysconfdir=${placeholder ''out''}/etc"
|
||||||
"localstatedir=\${TMPDIR}"
|
"localstatedir=\${TMPDIR}"
|
||||||
"typelibdir=\${out}/lib/girepository-1.0"
|
"typelibdir=${placeholder ''out''}/lib/girepository-1.0"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user