# Maintainer: foxbunny <bg.branko@gmail.com>
pkgname=dispcalgui
pkgver=0.7.0.0
pkgrel=1
pkgdesc="A GUI frontend for several utilities from the open source color management system Argyll CMS "
arch=('i686' 'x86_64')
url="http://hoech.net/dispcalGUI/"
license=('GPL3')
depends=('argyllcms>=1.3.0' 'python2>=2.5' 'wxpython>=2.8')
optdepends=('python2-numpy: to enable curve viewer' 'gksu: For running as root')
makedepends=('python>=2.5' 'libx11' 'libxrandr' 'libxinerama' 'libxxf86vm' 'setuptools>=0.6c11' 'xdg-utils')
groups=('painters-studio-tools' 'painters-studio-extras' 'painters-studio-complete')
source=(http://dispcalgui.hoech.net/dispcalGUI-${pkgver}.tar.gz dispcalgui.desktop wxLUTViewer.patch)
build() {
# build
cd "${srcdir}"/dispcalGUI-${pkgver}
patch -p2 -i "${srcdir}"/wxLUTViewer.patch || return 1
python2 setup.py install --root="${pkgdir}" --optimize=1 || return 1
# desktop
install -Dm644 \
"${startdir}"/dispcalgui.desktop \
"${pkgdir}"/usr/share/applications/${pkgname}.desktop || return 1
}
#md5sums:
md5sums=('16dafdd976c6dc6cd9645d96088e438c'
'a65019defc10243c7e0fd2925405d26e'
'9a16908f1bda7f001cf69616618ae9dc')