about summary refs log tree commit diff
path: root/nixpkgs/pkgs/desktops/xfce4-13/xfce4-settings/default.nix
blob: 7e885c526d15ebfc74dfe4f8948df801d2520ac3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ mkXfceDerivation, automakeAddFlags, exo, garcon, gtk3
, libnotify ? null, libxfce4ui, libxfce4util, libxklavier ? null
, upower ? null, xfconf, xf86inputlibinput ? null }:

mkXfceDerivation rec {
  category = "xfce";
  pname = "xfce4-settings";
  version = "4.14pre1";
  rev = "xfce-4.14pre1";

  sha256 = "0q6jh3fqw9n9agp018xiwidrld445irnli5jgwpszi9hc435dbpc";

  postPatch = ''
    automakeAddFlags xfce4-settings-editor/Makefile.am xfce4_settings_editor_CFLAGS DBUS_GLIB_CFLAGS
    for f in $(find . -name \*.c); do
      substituteInPlace $f --replace \"libinput-properties.h\" '<xorg/libinput-properties.h>'
    done
  '';

  nativeBuildInputs = [ automakeAddFlags ];

  buildInputs = [
    exo
    garcon
    gtk3
    libnotify
    libxfce4ui
    libxfce4util
    libxklavier
    upower
    xfconf
    xf86inputlibinput
  ];

  configureFlags = [
    "--enable-pluggable-dialogs"
    "--enable-sound-settings"
  ];
}