27 lines
883 B
Bash
27 lines
883 B
Bash
# Template file for 'dispcalGUI'
|
|
pkgname=dispcalGUI
|
|
version=3.5.2.0
|
|
revision=1
|
|
_name="DisplayCAL"
|
|
wrksrc="${_name}-${version}"
|
|
build_style=python2-module
|
|
pycompile_module="${_name}"
|
|
hostmakedepends="python"
|
|
makedepends="python-devel libXxf86vm-devel libXinerama-devel libXrandr-devel"
|
|
depends="python-numpy wxPython argyllcms"
|
|
short_desc="Display Calibration and Characterization"
|
|
maintainer="lemmi <lemmi@nerd2nerd.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://displaycal.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/dispcalgui/${_name}-${version}.tar.gz"
|
|
checksum=5dec64ccaacecb58b20db4a00b6b176f15b311f86afec79e7bb8dc0ba1859ebb
|
|
|
|
pre_configure() {
|
|
sed -i 's|MimeType=model/vrml;x-world/x-vrml;|MimeType=model/vrml;|' misc/displaycal-vrml-to-x3d-converter.desktop
|
|
}
|
|
|
|
post_install() {
|
|
find ${DESTDIR}/usr/ -exec chmod a+r \{\} +
|
|
find ${DESTDIR}/usr/ -type d -exec chmod a+x \{\} +
|
|
}
|