# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_{9..11} ) inherit libtool python-any-r1 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 ~loong ~ppc ppc64 ~riscv 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[introspection?] >=media-libs/gegl-0.4.14:0.4[introspection?] ) introspection? ( >=dev-libs/gobject-introspection-1.32 ) nls? ( sys-devel/gettext ) " RDEPEND=" ${DEPEND} !