[Lunar-commits] <moonbase> hplip: A little tweaking of BUILD, CONFIGURE and DEPENDS.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Sun Nov 27 22:54:57 CET 2011
commit 40c10f9f944f14e91b054c91c19b174ea8dbfcbe
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Sun Nov 27 16:54:57 2011 -0500
hplip: A little tweaking of BUILD, CONFIGURE and DEPENDS.
---
printer/hplip/BUILD | 8 --------
printer/hplip/CONFIGURE | 4 ++--
printer/hplip/DEPENDS | 14 ++++++++++++--
3 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/printer/hplip/BUILD b/printer/hplip/BUILD
index 50042a6..0b76409 100644
--- a/printer/hplip/BUILD
+++ b/printer/hplip/BUILD
@@ -7,14 +7,6 @@
. /etc/profile.d/qt4.rc
fi &&
- if [[ "$PARPORT" == "n" ]] ; then
- OPTS+=" --disable-pp-build"
- fi &&
-
- if [[ "$FAX" == "n" ]] ; then
- OPTS+=" --disable-fax-build"
- fi &&
-
# Install /usr/bin/hpijs so don't get this error:
# (/usr/lib/cups/filter/foomatic-rip-hplip) stopped with status 3!
# Or this error:
diff --git a/printer/hplip/CONFIGURE b/printer/hplip/CONFIGURE
index dcebbb9..b2c6d88 100644
--- a/printer/hplip/CONFIGURE
+++ b/printer/hplip/CONFIGURE
@@ -1,3 +1,3 @@
-mquery PARPORT "Enable printing via parallel port (not needed for USB printers)?" y
-mquery FAX "Enable built-in fax in your HP printer?" y
+mquery PARPORT "Enable printing via parallel port (not needed for USB printers)?" y "--enable-pp-build" "--disable-pp-build"
+mquery FAX "Enable built-in fax in your HP printer?" y "--enable-fax-build" "--disable-fax-build"
mquery FOOMATIC "Install foomatic ppd's (required for PSC and Photosmart printers)?" y "--enable-foomatic-ppd-install --enable-foomatic-rip-hplip-install"
diff --git a/printer/hplip/DEPENDS b/printer/hplip/DEPENDS
index 5e28300..d486363 100644
--- a/printer/hplip/DEPENDS
+++ b/printer/hplip/DEPENDS
@@ -2,14 +2,24 @@ depends %JPEG
depends cups
depends libusb-compat
+optional_depends "udev" \
+ "--enable-udev-acl-rules" \
+ "--disable-udev-acl-rules" \
+ "for udev access rules support"
+
+optional_depends "polkit" \
+ "--enable-policykit" \
+ "--disable-policykit" \
+ "for policykit support"
+
optional_depends "sane-backends" \
"--enable-scan-build" \
"--disable-scan-build" \
"for builtin scanner support"
optional_depends "PyQt" \
- "--enable-qt4" \
- "--disable-qt4" \
+ "--enable-qt4 --disable-qt3" \
+ "--disable-qt4 --disable-qt3" \
"for HP Qt4 GUI Support"
optional_depends "reportlab" \
More information about the Lunar-commits
mailing list