void-packages/srcpkgs/simple-scan/template

24 lines
822 B
Bash

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