void-packages/srcpkgs/simple-scan/template

24 lines
822 B
Bash

# Template file for 'simple-scan'
pkgname=simple-scan
version=3.22.0
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=9bf241043808df931c2beb2a04cebef3cb7b67ad4589dcf0bcd99a9f6b5e79c4
nocross=yes
pre_configure() {
sed -i 's/--strict//' configure
# Regenerate ui.c with packagekit disabled
touch src/ui.vala
}