void-packages/srcpkgs/DisplayCAL/template

28 lines
972 B
Bash

# Template file for 'DisplayCAL'
pkgname=DisplayCAL
version=3.9.12
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel libXxf86vm-devel libXinerama-devel libXrandr-devel"
depends="python3-dbus python3-numpy python3-distro python3-send2trash wxPython
argyllcms"
short_desc="Display Calibration and Characterization"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/eoyilmaz/displaycal-py3"
distfiles="https://github.com/eoyilmaz/displaycal-py3/archive/refs/tags/${version}.tar.gz"
checksum=6ea182a5992f316f6aa63d55333e5e9caa065807224b8840470d461bb30e9ff8
make_check=no # checks fail to build
pre_configure() {
vsed -i misc/displaycal-vrml-to-x3d-converter.desktop \
-e 's|MimeType=model/vrml;x-world/x-vrml;|MimeType=model/vrml;|'
}
dispcalGUI_package() {
build_style=meta
short_desc+=" (transitional dummy package)"
depends="${sourcepkg}>=${version}_${revision}"
}