void-packages/srcpkgs/simple-scan/template

24 lines
801 B
Bash

# Template file for 'simple-scan'
pkgname=simple-scan
version=3.18.1
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile"
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=9c0925f702ca1609d61b9a8a508ab4e277349cd1716df69d4730d835cd9067c4
nocross=yes
pre_configure() {
sed -i 's/--strict//' configure
# Regenerate ui.c with packagekit disabled
touch src/ui.vala
}