enlightenment.enlightenment: add dependency on bc

This commit is contained in:
José Romildo Malaquias 2019-09-18 11:28:49 -03:00
parent 75d88e42b6
commit cfc7a32966

View File

@ -1,6 +1,7 @@
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, alsaLib, bzip2,
efl, gdbm, libXdmcp, libXrandr, libcap, libffi, libpthreadstubs,
libxcb, luajit, mesa, pam, pcre, xcbutilkeysyms, xkeyboard_config,
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, alsaLib, bc,
bzip2, efl, gdbm, libXdmcp, libXrandr, libcap, libffi,
libpthreadstubs, libxcb, luajit, mesa, pam, pcre, xcbutilkeysyms,
xkeyboard_config,
bluetoothSupport ? true, bluez5,
pulseSupport ? !stdenv.isDarwin, libpulseaudio,
@ -24,6 +25,7 @@ stdenv.mkDerivation rec {
buildInputs = [
alsaLib
bc # for the Everything module calculator mode
bzip2
efl
gdbm
@ -67,6 +69,9 @@ stdenv.mkDerivation rec {
substituteInPlace src/bin/e_import_config_dialog.c \
--replace "e_prefix_bin_get()" "\"${efl}/bin\""
substituteInPlace src/modules/everything/evry_plug_calc.c \
--replace "ecore_exe_pipe_run(\"bc -l\"" "ecore_exe_pipe_run(\"${bc}/bin/bc -l\""
'';
mesonFlags = [ "-Dsystemdunitdir=lib/systemd/user" ];