commit: edd8321568e98d4688afba3803dc0137003cb5a8 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Aug 16 19:48:40 2020 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Aug 16 19:48:40 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edd83215
media-libs/libmypaint: bump to 1.6.1 Closes: https://bugs.gentoo.org/701098 Closes: https://bugs.gentoo.org/725124 Bug: https://bugs.gentoo.org/708500 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/libmypaint/Manifest | 1 + media-libs/libmypaint/libmypaint-1.6.1.ebuild | 66 +++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/media-libs/libmypaint/Manifest b/media-libs/libmypaint/Manifest index bcbe9133d20..76c272aae52 100644 --- a/media-libs/libmypaint/Manifest +++ b/media-libs/libmypaint/Manifest @@ -1 +1,2 @@ DIST libmypaint-1.4.0.tar.xz 441596 BLAKE2B d8c55f8dfedbb5cc07abe5c38c935abecf38f8e626b7fec83d7f7a29acdc722ededcd729f31e13e655242250f1d46cf44ca0473899b0de9510b062b123a711cb SHA512 c549a0b8f02976f7863c5ff49d5f16b5c3eae3e6e9e8803fef833edf78cc2a7413dd8dd751ed560c79d2527e0a54b462a92bb8059bcf69271654b2629f583c19 +DIST libmypaint-1.6.1.tar.xz 519464 BLAKE2B 6302914ab7e0876012e5235573c5cb3a76cbca9b5f0707321b0fc0a8406f712b9164ccb02ecc8a63b13d1e640a04cba8063c568bcbe40fc8543fc4a2c1576e5b SHA512 e9413fd6a5336791ab3228a5ad9e7f06871d075c7ded236942f896a205ba44ea901a945fdc97b8be357453a1505331b59e824fe67500fbcda0cc4f11f79af608 diff --git a/media-libs/libmypaint/libmypaint-1.6.1.ebuild b/media-libs/libmypaint/libmypaint-1.6.1.ebuild new file mode 100644 index 00000000000..a6dca3b0d52 --- /dev/null +++ b/media-libs/libmypaint/libmypaint-1.6.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit autotools python-any-r1 xdg-utils toolchain-funcs + +MY_PV=${PV/_beta/-beta.} +MY_P=${PN}-${MY_PV} + +DESCRIPTION="Library for making brushstrokes" +HOMEPAGE="https://github.com/mypaint/libmypaint" +SRC_URI="https://github.com/mypaint/libmypaint/releases/download/v${MY_PV}/${MY_P}.tar.xz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ISC" +# See https://github.com/mypaint/libmypaint/releases/tag/v1.6.1 +# https://github.com/mypaint/libmypaint/compare/v1.6.0...v1.6.1 +SLOT="0/0.0.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" +IUSE="gegl introspection nls openmp" + +BDEPEND=" + ${PYTHON_DEPS} + nls? ( dev-util/intltool ) +" +DEPEND=" + dev-libs/glib:2 + dev-libs/json-c:= + gegl? ( + media-libs/babl + >=media-libs/gegl-0.4.14:0.4[introspection?] + ) + introspection? ( >=dev-libs/gobject-introspection-1.32 ) + openmp? ( >sys-devel/gcc-5:*[openmp] ) + nls? ( sys-devel/gettext ) +" +RDEPEND=" + ${DEPEND} + !<media-gfx/mypaint-1.2.1 +" + +src_prepare() { + xdg_environment_reset + default +} + +src_configure() { + tc-ld-disable-gold # bug 589266 + econf \ + --disable-debug \ + --disable-docs \ + $(use_enable gegl) \ + --disable-gperftools \ + $(use_enable nls i18n) \ + $(use_enable introspection) \ + $(use_enable openmp) \ + --disable-profiling +} + +src_install() { + default + find "${D}" -name '*.la' -type f -delete || die +}