hplip: move foomatic-rip hack

This commit is contained in:
Jürgen Buchmüller 2017-12-22 14:38:32 +01:00
parent 783a754468
commit 204a6c4f0a

View file

@ -25,16 +25,6 @@ desc_option_gui="Build with Qt5 gui support"
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libusb-1.0 -I${XBPS_CROSS_BASE}/usr/include/python2.7"
do_configure() {
# https://bugs.archlinux.org/task/30085 - hack found in Gentoo
# Use system foomatic-rip for hpijs driver instead of foomatic-rip-hplip
# The hpcups driver does not use foomatic-rip
local i
for i in ppd/hpijs/*.ppd.gz ; do
rm -f ${i}.temp
gunzip -c ${i} | sed 's/foomatic-rip-hplip/foomatic-rip/g' | gzip > ${i}.temp
mv ${i}.temp ${i}
done
libtoolize -f
autoreconf -fi || true