void-packages/srcpkgs/mypaint/template

28 lines
925 B
Bash

# Template file for 'mypaint'
pkgname=mypaint
version=1.2.0
revision=4
hostmakedepends="scons swig pkg-config"
makedepends="libgomp-devel json-c-devel python-numpy libglib-devel libpng-devel
lcms2-devel gtk+3-devel python-gobject-devel"
depends="pygtk python-numpy python-gobject"
pycompile_version="2.7"
pycompile_dirs="/usr/share/mypaint"
short_desc="Graphics application for digital painters"
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
license="GPL-2"
homepage="http://mypaint.org"
distfiles="https://github.com/mypaint/mypaint/releases/download/v${version}/mypaint-${version}.tar.xz"
checksum=cdab33dd0c146cf678c97bcdd44e561f97a0aec40421b8c6785a74b33b9728e2
do_build() {
scons ${makejobs} enable_openmp=1
}
do_install() {
scons prefix=${DESTDIR}/usr enable_openmp=1 install
# Remove development files
rm -rf ${DESTDIR}/usr/include
rm -f ${DESTDIR}/usr/lib/*.a
rm -rf ${DESTDIR}/usr/lib/pkgconfig
}