void-packages/srcpkgs/mypaint/template

24 lines
1009 B
Bash

# Template file for 'mypaint'
pkgname=mypaint
version=2.0.1
revision=4
build_style=python3-module
pycompile_dirs="/usr/share/mypaint"
hostmakedepends="swig pkg-config gettext python3-setuptools python3-numpy python3"
makedepends="python3-setuptools python3-numpy python3-cairo python3-gobject-devel gtk+3-devel
libgomp-devel libmypaint-devel mypaint-brushes"
depends="librsvg python3-numpy python3-gobject gtk+3 hicolor-icon-theme mypaint-brushes"
short_desc="Graphics application for digital painters"
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
license="GPL-2.0-or-later"
homepage="http://mypaint.org"
changelog="https://github.com/mypaint/mypaint/raw/master/Changelog.md"
distfiles="https://github.com/mypaint/mypaint/releases/download/v${version}/mypaint-${version}.tar.xz"
checksum=f3e437d7cdd5fd28ef6532e8ab6b4b05d842bcdd644f16a0162dad3d8e57bb16
python_version=3
post_install() {
mv $DESTDIR/usr/lib/mypaint/lib/_mypaintlib.cpython*.so \
$DESTDIR/usr/lib/mypaint/lib/_mypaintlib.so
}