commit:     13b7ecc261e7390c2979343c29e3815916d9e336
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 21 14:09:02 2019 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Mon Oct 21 14:10:12 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13b7ecc2

media-libs/libmypaint: Stop enforcing USE=gegl

Closes: https://bugs.gentoo.org/690352
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-2.3.68, Repoman-2.3.16

 media-libs/libmypaint/libmypaint-1.3.0-r3.ebuild | 68 ++++++++++++++++++++++++
 1 file changed, 68 insertions(+)

diff --git a/media-libs/libmypaint/libmypaint-1.3.0-r3.ebuild 
b/media-libs/libmypaint/libmypaint-1.3.0-r3.ebuild
new file mode 100644
index 00000000000..00461e58187
--- /dev/null
+++ b/media-libs/libmypaint/libmypaint-1.3.0-r3.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python2_7 )
+
+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";
+
+LICENSE="ISC"
+SLOT="0/0"  # first soname component for subslot
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="gegl introspection nls openmp"
+
+CDEPEND="
+       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:*[openmp] )
+       nls? ( sys-devel/gettext )
+       "
+DEPEND="${CDEPEND}
+       ${PYTHON_DEPS}
+       nls? ( dev-util/intltool )
+       "
+RDEPEND="${CDEPEND}
+       !<media-gfx/mypaint-1.2.1
+       "
+
+S="${WORKDIR}"/${MY_P}
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.3.0-gegl-0.4.14.patch
+)
+
+src_prepare() {
+       xdg_environment_reset
+       default
+       eautoreconf
+}
+
+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
+}

Reply via email to