2018-02-06 14:52:15 +01:00
|
|
|
# Template file for 'imagescan'
|
|
|
|
pkgname=imagescan
|
2018-03-11 14:32:23 +01:00
|
|
|
version=3.36.0
|
2018-02-06 14:52:15 +01:00
|
|
|
revision=1
|
2018-03-11 14:32:23 +01:00
|
|
|
wrksrc="utsushi-0.36.0"
|
2018-02-06 14:52:15 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--libexecdir=/usr/lib --with-boost-libdir=${XBPS_CROSS_BASE}/usr/lib
|
|
|
|
--with-gtkmm --enable-sane-config --with-sane-confdir=/etc/sane.d --enable-udev-config
|
|
|
|
--with-udev-confdir=/usr/lib/udev --with-jpeg --with-magick --with-sane --with-tiff"
|
|
|
|
conf_files="/etc/utsushi/combo.conf"
|
|
|
|
mutable_files="/etc/sane.d/dll.d/utsushi"
|
|
|
|
hostmakedepends="pkg-config ImageMagick sane"
|
|
|
|
makedepends="boost boost-devel gtkmm2 gtkmm2-devel eudev-libudev-devel libusb-devel
|
|
|
|
bzip2-devel zlib-devel libjpeg-turbo-devel tiff-devel sane-devel"
|
|
|
|
depends="ImageMagick"
|
|
|
|
short_desc="EPSON Image Scan v3 front-end and backend for scanners and all-in-ones"
|
|
|
|
maintainer="Giuseppe Fierro <gspe@ae-design.ws>"
|
2018-03-11 14:32:23 +01:00
|
|
|
license="GPL-3.0-or-later"
|
2018-02-06 14:52:15 +01:00
|
|
|
homepage="https://github.com/utsushi/imagescan"
|
|
|
|
distfiles="http://support.epson.net/linux/src/scanner/imagescanv3/debian/${pkgname}_${version}.orig.tar.gz"
|
2018-03-11 14:32:23 +01:00
|
|
|
checksum=ba5a011999b5d7a06fad9ce43c6d54d40862ec53fa4751671792bdcd28e1eed2
|
2018-02-06 14:52:15 +01:00
|
|
|
|
|
|
|
CFLAGS="-Wno-error"
|
|
|
|
CXXFLAGS="-Wno-error"
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
# remove include dir
|
|
|
|
rm -rf $DESTDIR/usr/include
|
|
|
|
# rename udev rule
|
|
|
|
mv $DESTDIR/usr/lib/udev/rules.d/{,60-}utsushi-esci.rules
|
|
|
|
vinstall $FILESDIR/imagescan.desktop 644 usr/share/applications
|
|
|
|
}
|