32 lines
1.2 KiB
Bash
32 lines
1.2 KiB
Bash
# Template file for 'imagescan'
|
|
pkgname=imagescan
|
|
version=3.65.0
|
|
revision=1
|
|
wrksrc=utsushi-0.65.0
|
|
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"
|
|
hostmakedepends="ImageMagick pkg-config sane"
|
|
makedepends="boost-devel eudev-libudev-devel gtkmm2-devel libusb-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>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://gitlab.com/utsushi/imagescan/"
|
|
distfiles="http://support.epson.net/linux/src/scanner/imagescanv3/debian/${pkgname}_${version}.orig.tar.gz"
|
|
checksum=e83704398c51a3166fd62c25b89e95cf6262e52f3dc6e627db3e7556e2220d64
|
|
mutable_files="/etc/sane.d/dll.d/utsushi"
|
|
|
|
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
|
|
}
|