1 |
commit: 2b51ea3a2a46efbfafb80a2d8a62f5d678d5f57d |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 16 19:48:42 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 16 19:48:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b51ea3a |
7 |
|
8 |
media-gfx/mypaint: bump to 2.0.1 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/735374 |
11 |
Bug: https://bugs.gentoo.org/708500 |
12 |
Bug: https://bugs.gentoo.org/701098 |
13 |
Closes: https://bugs.gentoo.org/701104 |
14 |
Closes: https://bugs.gentoo.org/701078 |
15 |
Closes: https://bugs.gentoo.org/662562 |
16 |
Package-Manager: Portage-3.0.2, Repoman-2.3.23 |
17 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
18 |
|
19 |
media-gfx/mypaint/Manifest | 1 + |
20 |
media-gfx/mypaint/mypaint-2.0.1.ebuild | 77 ++++++++++++++++++++++++++++++++++ |
21 |
2 files changed, 78 insertions(+) |
22 |
|
23 |
diff --git a/media-gfx/mypaint/Manifest b/media-gfx/mypaint/Manifest |
24 |
index 190d7a1c477..4dd29e8dea2 100644 |
25 |
--- a/media-gfx/mypaint/Manifest |
26 |
+++ b/media-gfx/mypaint/Manifest |
27 |
@@ -1 +1,2 @@ |
28 |
DIST mypaint-1.2.1.tar.xz 37897196 BLAKE2B 2d8f6b03f710febae1c2d617a6e542543786be384585ae8a973604da2eba8a0fb770d185aa3d2dfc6f794adf29ffb9c217356a96ab27d677ebb57816f62fae9c SHA512 1783765e495b9535669a83a29d27ba684e6201fdfe0875bdd2c167b1dab8af05993b19025767fe0b2770ed9e578e4709f75d8a4820ac945812cba85609f9eb9b |
29 |
+DIST mypaint-2.0.1.tar.xz 7295048 BLAKE2B 813a939f95ea6887c57d8c0868e33e9bc8b1b95746d5ecd793d4fd13a32198ee5a445cfdd2691a15e944bfb0099d6ac624dff320ae29465db5b1e0d197bedb30 SHA512 449beddcc6da5d720c9efbeac94a466ed0057bd1962d42ebb419190e8b7fd8ffd341327408467fc5da47920f9d0da1fd6d78233a0dda88de5f5d52d53d9ab562 |
30 |
|
31 |
diff --git a/media-gfx/mypaint/mypaint-2.0.1.ebuild b/media-gfx/mypaint/mypaint-2.0.1.ebuild |
32 |
new file mode 100644 |
33 |
index 00000000000..cb35547d5db |
34 |
--- /dev/null |
35 |
+++ b/media-gfx/mypaint/mypaint-2.0.1.ebuild |
36 |
@@ -0,0 +1,77 @@ |
37 |
+# Copyright 1999-2020 Gentoo Authors |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI=7 |
41 |
+ |
42 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
43 |
+ |
44 |
+inherit desktop distutils-r1 gnome2-utils xdg xdg-utils |
45 |
+ |
46 |
+DESCRIPTION="fast and easy graphics application for digital painters" |
47 |
+HOMEPAGE="http://mypaint.org/" |
48 |
+SRC_URI="https://github.com/mypaint/${PN}/releases/download/v${PV}/${P}.tar.xz" |
49 |
+ |
50 |
+LICENSE="GPL-2" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+ |
54 |
+LANGS="cs de en_CA en_GB es fr hu id it ja ko nb nn_NO pl pt_BR ro ru sl sv uk zh_CN zh_TW" |
55 |
+ |
56 |
+BDEPEND=" |
57 |
+ dev-lang/swig |
58 |
+ sys-devel/gettext |
59 |
+ virtual/pkgconfig |
60 |
+" |
61 |
+RDEPEND=" |
62 |
+ ${PYTHON_DEPS} |
63 |
+ $(python_gen_cond_dep ' |
64 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
65 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/pycairo-1.4[${PYTHON_USEDEP}] |
67 |
+ dev-python/protobuf-python[${PYTHON_USEDEP}] |
68 |
+ ') |
69 |
+ >=dev-libs/json-c-0.11:= |
70 |
+ gnome-base/librsvg |
71 |
+ media-gfx/mypaint-brushes:2.0 |
72 |
+ media-libs/lcms:2 |
73 |
+ >=media-libs/libmypaint-1.5.0 |
74 |
+ media-libs/libpng:0= |
75 |
+ sys-devel/gettext |
76 |
+ sys-libs/libomp |
77 |
+ x11-libs/gtk+:3 |
78 |
+" |
79 |
+DEPEND="${RDEPEND}" |
80 |
+ |
81 |
+# Need to poke at failing tests |
82 |
+# Dying on a numpy assert |
83 |
+RESTRICT="test" |
84 |
+ |
85 |
+distutils_enable_tests setup.py |
86 |
+ |
87 |
+src_install() { |
88 |
+ distutils-r1_src_install |
89 |
+ |
90 |
+ newicon pixmaps/${PN}_logo.png ${PN}.png |
91 |
+ |
92 |
+ local lang= |
93 |
+ for lang in ${LANGS}; do |
94 |
+ if ! has ${lang} ${LINGUAS}; then |
95 |
+ rm -rf "${ED}"/usr/share/locale/${lang} || die |
96 |
+ fi |
97 |
+ done |
98 |
+} |
99 |
+ |
100 |
+pkg_preinst() { |
101 |
+ xdg_pkg_preinst |
102 |
+ gnome2_icon_savelist |
103 |
+} |
104 |
+ |
105 |
+pkg_postinst() { |
106 |
+ xdg_pkg_postinst |
107 |
+ xdg_icon_cache_update |
108 |
+} |
109 |
+ |
110 |
+pkg_postrm() { |
111 |
+ xdg_pkg_postrm |
112 |
+ xdg_mimeinfo_database_update |
113 |
+} |