void-packages/srcpkgs/simple-scan/template

24 lines
822 B
Bash

# Template file for 'simple-scan'
pkgname=simple-scan
version=3.18.2
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile --disable-packagekit"
hostmakedepends="pkg-config itstool intltool glib-devel vala"
makedepends="colord-devel gtk+3-devel sqlite-devel dconf-devel sane-devel
libgudev-devel libgusb-devel"
depends="hicolor-icon-theme sane"
short_desc="A GTK Simple scanning utility"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://launchpad.net/simple-scan"
distfiles="https://launchpad.net/$pkgname/${version%.*}/$version/+download/$pkgname-$version.tar.xz"
checksum=061b58e5909362200e5cdffcdcc70d1afb8f8948efc1ec8ab592c7783c8939e9
nocross=yes
pre_configure() {
sed -i 's/--strict//' configure
# Regenerate ui.c with packagekit disabled
touch src/ui.vala
}