void-packages/srcpkgs/DisplayCAL/template

27 lines
924 B
Bash

# Template file for 'DisplayCAL'
pkgname=DisplayCAL
version=3.9.11
revision=1
build_style=python3-module
hostmakedepends="python3"
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=7769d19551c228d797fd98cb2469730cee84ff27bd0bf5d0463e191753921a5e
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}"
}