splix: add missing printer models

Add support for ML-2160 ML-2165 ML-3310 ML-3310ND.
The PPD files were not picked up by the Makefile because they were
in the wrong directory of the original source.

Co-authored-by: Merlin Göttlinger <megoettlinger@gmail.com>
This commit is contained in:
David Costa 2018-10-27 14:52:26 +01:00 committed by Peter Simons
parent 641ef3ab23
commit b4c7ff59f1

View File

@ -31,6 +31,7 @@ in stdenv.mkDerivation {
};
postPatch = ''
mv -v *.ppd ppd/
substituteInPlace src/pstoqpdl.cpp \
--replace "RASTERDIR \"/\" RASTERTOQPDL" "\"$out/lib/cups/filter/rastertoqpdl\"" \
--replace "RASTERDIR" "\"${cups-filters}/lib/cups/filter\"" \