void-packages/srcpkgs/system-config-printer/template

38 lines
1.4 KiB
Bash

# Template file for 'system-config-printer'
pkgname=system-config-printer
version=1.5.13
revision=2
build_style=gnu-configure
pycompile_dirs="usr/share/system-config-printer"
configure_args="--with-udev-rules"
make_build_args="udevhelperdir=/usr/lib/udev"
make_install_args="udevhelperdir=/usr/lib/udev udevrulesdir=/usr/lib/udev/rules.d"
hostmakedepends="pkg-config intltool python3-devel xmlto desktop-file-utils"
makedepends="libglib-devel cups-devel eudev-libudev-devel libusb-devel"
depends="python3-cupshelpers python3-smbc python3-gobject gir-freedesktop
libnotify gtk+3 dconf desktop-file-utils libsecret"
short_desc="CUPS printer configuration tool and status applet"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/OpenPrinting/system-config-printer"
distfiles="${homepage}/releases/download/v${version}/${pkgname}-${version}.tar.xz"
checksum=eea3f06448aa5bb5fa0decdf9b912aefd21e3bd6615fc3e77b349ca443dcb8a1
python_version=3
python3-cupshelpers_package() {
depends="python3-cups python3-dbus python3-requests"
short_desc="Python utility modules around the CUPS printing system"
pkg_install() {
vmove etc/cupshelpers
vmove "usr/lib/python3*"
}
}
system-config-printer-udev_package() {
depends="python3-cupshelpers"
short_desc="CUPS printer configuration tool (udev integration)"
pkg_install() {
vmove usr/lib/udev
}
}