libappindicator-gtk{2,3}: use recent vala

This commit is contained in:
Jan Tojnar 2017-12-19 07:59:59 +01:00
parent eed3354a4b
commit 3fa21ca85c
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -5,7 +5,7 @@
, glib, dbus_glib, gtkVersion
, gtk2 ? null, libindicator-gtk2 ? null, libdbusmenu-gtk2 ? null
, gtk3 ? null, libindicator-gtk3 ? null, libdbusmenu-gtk3 ? null
, python2Packages, gobjectIntrospection, vala_0_23
, python2Packages, gobjectIntrospection, vala
, monoSupport ? false, mono ? null, gtk-sharp-2_0 ? null
}:
@ -34,7 +34,7 @@ in stdenv.mkDerivation rec {
buildInputs = [
glib dbus_glib
python pygobject2 pygtk gobjectIntrospection vala_0_23
python pygobject2 pygtk gobjectIntrospection vala
] ++ (if gtkVersion == "2"
then [ libindicator-gtk2 ] ++ optionals monoSupport [ mono gtk-sharp-2_0 ]
else [ libindicator-gtk3 ]);