Merge pull request #6770 from kirelagin/cups-browsed-avahi
cups-browsed: build with Avahi
This commit is contained in:
commit
57c1e7f23f
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, cups, poppler, poppler_utils, fontconfig
|
||||
, libjpeg, libpng, perl, ijs, qpdf, dbus, substituteAll, bash }:
|
||||
, libjpeg, libpng, perl, ijs, qpdf, dbus, substituteAll, bash, avahi }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cups-filters-${version}";
|
||||
@ -26,14 +26,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [
|
||||
pkgconfig cups poppler poppler_utils fontconfig libjpeg libpng perl
|
||||
ijs qpdf dbus
|
||||
ijs qpdf dbus avahi
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
substituteInPlace Makefile --replace "/etc/rc.d" "$out/etc/rc.d"
|
||||
'';
|
||||
|
||||
configureFlags = "--with-pdftops=pdftops --enable-imagefilters";
|
||||
configureFlags = "--with-pdftops=pdftops --enable-imagefilters --with-rcdir=no";
|
||||
|
||||
makeFlags = "CUPS_SERVERBIN=$(out)/lib/cups CUPS_DATADIR=$(out)/share/cups CUPS_SERVERROOT=$(out)/etc/cups";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user