sane: enable systemd socket activation.
This commit is contained in:
parent
5a8d5e07c7
commit
452358baa8
|
@ -1,15 +1,17 @@
|
|||
# Template build file for 'sane'.
|
||||
pkgname=sane
|
||||
version=1.0.22
|
||||
revision=4
|
||||
revision=5
|
||||
patch_args="-Np1"
|
||||
wrksrc="sane-backends-${version}"
|
||||
distfiles="ftp://ftp2.sane-project.org/pub/sane/sane-backends-${version}/sane-backends-${version}.tar.gz"
|
||||
subpackages="lib${pkgname} $pkgname-devel"
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-locking --enable-avahi --with-docdir=/usr/share/doc/sane
|
||||
--disable-latex --enable-libusb_1_0 --enable-pthread"
|
||||
depends="net-snmp"
|
||||
makedepends="pkg-config avahi-libs-devel jpeg-devel tiff-devel libgphoto2-devel v4l-utils-devel libusb-devel net-snmp-devel libieee1284-devel"
|
||||
systemd_services="saned.socket on"
|
||||
short_desc="Scanner Access Now Easy"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.sane-project.org/"
|
||||
|
@ -99,10 +101,6 @@ conf_files="
|
|||
/etc/sane.d/v4l.conf
|
||||
/etc/sane.d/xerox_mfp.conf"
|
||||
|
||||
subpackages="lib${pkgname} $pkgname-devel"
|
||||
|
||||
|
||||
|
||||
post_install() {
|
||||
# fix hp officejets
|
||||
echo "#hpaio" >> ${DESTDIR}/etc/sane.d/dll.conf
|
||||
|
|
Loading…
Reference in New Issue
Block a user