Browse Source

hplip-3

pull/76/head
milisarge 1 month ago
parent
commit
11513d2306
1 changed files with 33 additions and 0 deletions
  1. +33
    -0
      talimatname/3/hplip#3.20.6-1/talimat

+ 33
- 0
talimatname/3/hplip#3.20.6-1/talimat View File

@@ -0,0 +1,33 @@
[paket]
tanim = HP Linux yazıcı uygulaması
paketci = milisarge
grup = sistem
url = https://developers.hp.com/hp-linux-imaging-and-printing

[gerek]
derleme = python libxml2 cups sane ghostscript net-snmp libusb libjpeg-turbo dbus
calisma = python-gobject python-dbus desktop-file-utils foomatic-db foomatic-db-engine python-distro python-qt5

[kaynak]
gz = ${SOURCEFORGE_SITE}/hplip/hplip/${surum}

[sha256]
1 = c64b2d334348010a9911f4feb075b2aa669047e7adb86c72d4a6ee7d392a7c20

[derle]
betik = export AUTOMAKE='automake --foreign'
betik = libtoolize -f
betik = autoreconf -fi || true
ekconf = --enable-gui-build --disable-qt4 --enable-qt5 --disable-foomatic-rip-hplip-install --enable-foomatic-ppd-install --enable-hpcups-install --enable-new-hpcups --enable-cups-ppd-install --enable-cups-drv-install --enable-hpijs-install --enable-foomatic-drv-install --enable-pp-build --with-mimedir=/usr/share/cups/mime
tip = gnu

[pakur]
betik = sed -i Makefile -e "s;ppd/hpcups/\\*.ppd.gz;;g"
betik = make locatedriverdir=/usr/lib/hplip dat2drvdir=/usr/lib/hplip rulesdir=/usr/lib/udev/rules.d DESTDIR=${PKG} install
betik = rm -rf ${PKG}/etc/{sane.d,xdg}
betik = rm -rf ${PKG}/usr/share/hal
betik = rm -rf ${PKG}/var
betik = cp -p ${PKG}/etc/hp/hplip.conf /tmp/hplip.conf
;adjust non-gui
betik = sed -i ${PKG}/etc/hp/hplip.conf -e "s/\(gui-build=\).*/\1no/" -e "s/\(ui-toolkit=\).*/\1no/" -e "s/\(qt5=\).*/\1no/"


Loading…
Cancel
Save