mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
hplip: move foomatic-rip hack
This commit is contained in:
parent
783a754468
commit
204a6c4f0a
1 changed files with 0 additions and 10 deletions
|
@ -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"
|
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libusb-1.0 -I${XBPS_CROSS_BASE}/usr/include/python2.7"
|
||||||
|
|
||||||
do_configure() {
|
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
|
libtoolize -f
|
||||||
autoreconf -fi || true
|
autoreconf -fi || true
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue