mypaint: update to 2.0.1

This commit is contained in:
biopsin 2021-04-03 08:51:39 +00:00 committed by Érico Nogueira Rolim
parent c082e31fd4
commit 55af5e03a7
2 changed files with 6 additions and 17 deletions

View file

@ -1,11 +0,0 @@
--- lib/meta.py 2020-02-15 16:05:22.000000000 +0100
+++ lib/meta.py 2020-03-29 11:40:40.275375283 +0200
@@ -264,7 +264,7 @@
# If release information from release.sh exists, use that
relinfo = {}
with open("release_info", "rb") as relinfo_fp:
- exec(relinfo_fp, relinfo)
+ exec(relinfo_fp.read(), relinfo)
base_version = relinfo.get(
"MYPAINT_VERSION_BASE",
base_version,

View file

@ -1,23 +1,23 @@
# Template file for 'mypaint'
pkgname=mypaint
version=2.0.0
revision=2
version=2.0.1
revision=1
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"
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=d1d67866e342938c1e84b42da10bbed5f613f7e216f800fcc7c0e20200074a5e
checksum=f3e437d7cdd5fd28ef6532e8ab6b4b05d842bcdd644f16a0162dad3d8e57bb16
python_version=3
post_install() {
# Fix SVG icons
vsed -i 's/xmlns:ns7/xmlns:xlink/g' ${DESTDIR}/usr/share/icons/hicolor/{24x24,scalable}/actions/mypaint-*.svg
mv $DESTDIR/usr/lib/mypaint/lib/_mypaintlib.cpython*.so \
$DESTDIR/usr/lib/mypaint/lib/_mypaintlib.so
}