Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libmypaint/
Date: Sun, 16 Aug 2020 20:06:34
Message-Id: 1597607320.edd8321568e98d4688afba3803dc0137003cb5a8.sam@gentoo
1 commit: edd8321568e98d4688afba3803dc0137003cb5a8
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 16 19:48:40 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 16 19:48:40 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edd83215
7
8 media-libs/libmypaint: bump to 1.6.1
9
10 Closes: https://bugs.gentoo.org/701098
11 Closes: https://bugs.gentoo.org/725124
12 Bug: https://bugs.gentoo.org/708500
13 Package-Manager: Portage-3.0.2, Repoman-2.3.23
14 Signed-off-by: Sam James <sam <AT> gentoo.org>
15
16 media-libs/libmypaint/Manifest | 1 +
17 media-libs/libmypaint/libmypaint-1.6.1.ebuild | 66 +++++++++++++++++++++++++++
18 2 files changed, 67 insertions(+)
19
20 diff --git a/media-libs/libmypaint/Manifest b/media-libs/libmypaint/Manifest
21 index bcbe9133d20..76c272aae52 100644
22 --- a/media-libs/libmypaint/Manifest
23 +++ b/media-libs/libmypaint/Manifest
24 @@ -1 +1,2 @@
25 DIST libmypaint-1.4.0.tar.xz 441596 BLAKE2B d8c55f8dfedbb5cc07abe5c38c935abecf38f8e626b7fec83d7f7a29acdc722ededcd729f31e13e655242250f1d46cf44ca0473899b0de9510b062b123a711cb SHA512 c549a0b8f02976f7863c5ff49d5f16b5c3eae3e6e9e8803fef833edf78cc2a7413dd8dd751ed560c79d2527e0a54b462a92bb8059bcf69271654b2629f583c19
26 +DIST libmypaint-1.6.1.tar.xz 519464 BLAKE2B 6302914ab7e0876012e5235573c5cb3a76cbca9b5f0707321b0fc0a8406f712b9164ccb02ecc8a63b13d1e640a04cba8063c568bcbe40fc8543fc4a2c1576e5b SHA512 e9413fd6a5336791ab3228a5ad9e7f06871d075c7ded236942f896a205ba44ea901a945fdc97b8be357453a1505331b59e824fe67500fbcda0cc4f11f79af608
27
28 diff --git a/media-libs/libmypaint/libmypaint-1.6.1.ebuild b/media-libs/libmypaint/libmypaint-1.6.1.ebuild
29 new file mode 100644
30 index 00000000000..a6dca3b0d52
31 --- /dev/null
32 +++ b/media-libs/libmypaint/libmypaint-1.6.1.ebuild
33 @@ -0,0 +1,66 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +PYTHON_COMPAT=( python3_{7,8,9} )
40 +
41 +inherit autotools python-any-r1 xdg-utils toolchain-funcs
42 +
43 +MY_PV=${PV/_beta/-beta.}
44 +MY_P=${PN}-${MY_PV}
45 +
46 +DESCRIPTION="Library for making brushstrokes"
47 +HOMEPAGE="https://github.com/mypaint/libmypaint"
48 +SRC_URI="https://github.com/mypaint/libmypaint/releases/download/v${MY_PV}/${MY_P}.tar.xz"
49 +S="${WORKDIR}/${MY_P}"
50 +
51 +LICENSE="ISC"
52 +# See https://github.com/mypaint/libmypaint/releases/tag/v1.6.1
53 +# https://github.com/mypaint/libmypaint/compare/v1.6.0...v1.6.1
54 +SLOT="0/0.0.0"
55 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
56 +IUSE="gegl introspection nls openmp"
57 +
58 +BDEPEND="
59 + ${PYTHON_DEPS}
60 + nls? ( dev-util/intltool )
61 +"
62 +DEPEND="
63 + dev-libs/glib:2
64 + dev-libs/json-c:=
65 + gegl? (
66 + media-libs/babl
67 + >=media-libs/gegl-0.4.14:0.4[introspection?]
68 + )
69 + introspection? ( >=dev-libs/gobject-introspection-1.32 )
70 + openmp? ( >sys-devel/gcc-5:*[openmp] )
71 + nls? ( sys-devel/gettext )
72 +"
73 +RDEPEND="
74 + ${DEPEND}
75 + !<media-gfx/mypaint-1.2.1
76 +"
77 +
78 +src_prepare() {
79 + xdg_environment_reset
80 + default
81 +}
82 +
83 +src_configure() {
84 + tc-ld-disable-gold # bug 589266
85 + econf \
86 + --disable-debug \
87 + --disable-docs \
88 + $(use_enable gegl) \
89 + --disable-gperftools \
90 + $(use_enable nls i18n) \
91 + $(use_enable introspection) \
92 + $(use_enable openmp) \
93 + --disable-profiling
94 +}
95 +
96 +src_install() {
97 + default
98 + find "${D}" -name '*.la' -type f -delete || die
99 +}