Enable polkit support.
Note that this is only a build_depends, if people don't use polkit, this won't change anything, but it they do then the support files are there. ok jasper@ robert@
This commit is contained in:
parent
ea622a08e6
commit
04358c9592
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.19 2010/05/30 06:29:07 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.20 2010/07/07 16:42:25 ajacoutot Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -11,8 +11,8 @@ COMMENT-gui= HPLIP graphical tools
|
||||
V= 3.10.5
|
||||
DISTNAME= hplip-${V}
|
||||
|
||||
PKGNAME-main= ${DISTNAME}
|
||||
PKGNAME-hpijs= hpijs-${V}
|
||||
PKGNAME-main= ${DISTNAME}p0
|
||||
PKGNAME-hpijs= hpijs-${V}p1
|
||||
PKGNAME-hpcups= hpcups-${V}
|
||||
PKGNAME-libs= hplip-libs-${V}
|
||||
PKGNAME-gui= hplip-gui-${V}
|
||||
@ -44,6 +44,8 @@ WANTLIB-main += ${WANTLIB}
|
||||
WANTLIB-main += avahi-client avahi-common c crypto dbus-1 exif gphoto2
|
||||
WANTLIB-main += gphoto2_port jpeg ltdl netsnmp tiff usb z
|
||||
|
||||
BUILD_DEPENDS= ::sysutils/polkit
|
||||
|
||||
LIB_DEPENDS-main=${LIB_DEPENDS} \
|
||||
sane.>=1::graphics/sane-backends \
|
||||
cups.>=3::print/cups \
|
||||
@ -82,7 +84,10 @@ USE_LIBTOOL= Yes
|
||||
LIBTOOL_FLAGS= --tag=disable-static
|
||||
FAKE_FLAGS= hplip_confdir=${PREFIX}/share/examples/hplip/hp \
|
||||
hplip_statedir=${PREFIX}/share/examples/hplip/db \
|
||||
mimedir=${PREFIX}/share/examples/hplip/cups
|
||||
mimedir=${PREFIX}/share/examples/hplip/cups \
|
||||
policykit_dbus_etcdir=${PREFIX}/share/examples/hplip/dbus-1/system.d \
|
||||
policykit_dir=${PREFIX}/share/polkit-1/actions/ \
|
||||
policykit_dbus_sharedir=${PREFIX}/share/dbus-1/system-services
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
||||
@ -96,7 +101,6 @@ CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
||||
--with-docdir=${PREFIX}/share/doc/hplip \
|
||||
--disable-dependency-tracking \
|
||||
--disable-pp-build \
|
||||
--disable-policykit \
|
||||
--disable-qt3 \
|
||||
--enable-qt4 \
|
||||
--enable-doc-build \
|
||||
@ -107,6 +111,7 @@ CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
||||
--enable-scan-build \
|
||||
--enable-fax-build \
|
||||
--enable-dbus-build \
|
||||
--enable-policykit \
|
||||
--enable-foomatic-rip-hplip-install \
|
||||
--enable-foomatic-ppd-install \
|
||||
--enable-foomatic-drv-install
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST-hpijs,v 1.7 2010/05/30 06:29:07 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST-hpijs,v 1.8 2010/07/07 16:42:25 ajacoutot Exp $
|
||||
@conflict hplip-libs-<=3.9.8
|
||||
@pkgpath print/hpijs
|
||||
@bin bin/hpijs
|
||||
@ -598,13 +598,13 @@ share/foomatic/db/source/PPD/HP/hp-mopier_320-ps.ppd.gz
|
||||
share/foomatic/db/source/PPD/HP/hp-officejet-hpijs.ppd.gz
|
||||
share/foomatic/db/source/PPD/HP/hp-officejet_150_mobile_l511-hpijs.ppd.gz
|
||||
share/foomatic/db/source/PPD/HP/hp-officejet_4000_k210-hpijs.ppd.gz
|
||||
share/foomatic/db/source/PPD/HP/hp-officejet_4400_k410-hpijs.ppd.gz
|
||||
share/foomatic/db/source/PPD/HP/hp-officejet_4100_series-hpijs.ppd.gz
|
||||
share/foomatic/db/source/PPD/HP/hp-officejet_4105-hpijs.ppd.gz
|
||||
share/foomatic/db/source/PPD/HP/hp-officejet_4115_series-hpijs.ppd.gz
|
||||
share/foomatic/db/source/PPD/HP/hp-officejet_4200_series-hpijs.ppd.gz
|
||||
share/foomatic/db/source/PPD/HP/hp-officejet_4255-hpijs.ppd.gz
|
||||
share/foomatic/db/source/PPD/HP/hp-officejet_4300_series-hpijs.ppd.gz
|
||||
share/foomatic/db/source/PPD/HP/hp-officejet_4400_k410-hpijs.ppd.gz
|
||||
share/foomatic/db/source/PPD/HP/hp-officejet_4500_g510a-f-hpijs.ppd.gz
|
||||
share/foomatic/db/source/PPD/HP/hp-officejet_4500_g510g-m-hpijs.ppd.gz
|
||||
share/foomatic/db/source/PPD/HP/hp-officejet_5100_series-hpijs.ppd.gz
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.8 2010/03/26 08:00:03 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST-main,v 1.9 2010/07/07 16:42:25 ajacoutot Exp $
|
||||
@conflict hplip-docs-*
|
||||
@conflict hplip-gui-<3.10.2p0
|
||||
bin/hp-align
|
||||
@ -42,6 +42,7 @@ lib/sane/libsane-hpaio.so
|
||||
libexec/cups/backend/hpfax
|
||||
libexec/cups/filter/hpcac
|
||||
libexec/cups/filter/pstotiff
|
||||
share/dbus-1/system-services/com.hp.hplip.service
|
||||
share/doc/hplip/
|
||||
share/doc/hplip/COPYING
|
||||
share/doc/hplip/README_LIBJPG
|
||||
@ -89,6 +90,10 @@ share/examples/hplip/db/
|
||||
@sample /var/db/hp/
|
||||
share/examples/hplip/db/hplip.state
|
||||
@sample /var/db/hp/hplip.state
|
||||
share/examples/hplip/dbus-1/
|
||||
share/examples/hplip/dbus-1/system.d/
|
||||
share/examples/hplip/dbus-1/system.d/com.hp.hplip.conf
|
||||
@sample ${SYSCONFDIR}/dbus-1/system.d/com.hp.hplip.conf
|
||||
share/examples/hplip/hp/
|
||||
@sample ${SYSCONFDIR}/hp/
|
||||
share/examples/hplip/hp/hplip.conf
|
||||
@ -292,3 +297,6 @@ share/hplip/unload.py
|
||||
share/hplip/unload.pyc
|
||||
share/hplip/wificonfig.py
|
||||
share/hplip/wificonfig.pyc
|
||||
share/polkit-1/
|
||||
share/polkit-1/actions/
|
||||
share/polkit-1/actions/com.hp.hplip.policy
|
||||
|
Loading…
x
Reference in New Issue
Block a user