diff options
author | Sebastian Pipping <sping@gentoo.org> | 2019-10-21 16:47:37 +0200 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2019-10-21 16:54:44 +0200 |
commit | fa94b95857772361e8110d91ac3b17019f84ff6d (patch) | |
tree | a42ebc212335abe1eba18a85b613120ad4fe3987 /media-libs/libmypaint/libmypaint-1.4.0.ebuild | |
parent | x11-libs/libxkbcommon: Bump to version 0.9.1 (diff) | |
download | gentoo-fa94b95857772361e8110d91ac3b17019f84ff6d.tar.gz gentoo-fa94b95857772361e8110d91ac3b17019f84ff6d.tar.bz2 gentoo-fa94b95857772361e8110d91ac3b17019f84ff6d.zip |
media-libs/libmypaint: 1.4.0
Closes: https://bugs.gentoo.org/696852
Thanks to Lars Wendler (polynomial-c) and rezso!
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Package-Manager: Portage-2.3.68, Repoman-2.3.16
Diffstat (limited to 'media-libs/libmypaint/libmypaint-1.4.0.ebuild')
-rw-r--r-- | media-libs/libmypaint/libmypaint-1.4.0.ebuild | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/media-libs/libmypaint/libmypaint-1.4.0.ebuild b/media-libs/libmypaint/libmypaint-1.4.0.ebuild new file mode 100644 index 000000000000..da0fb5f4a011 --- /dev/null +++ b/media-libs/libmypaint/libmypaint-1.4.0.ebuild @@ -0,0 +1,69 @@ +# 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.4.0-drop-libmypaint-gegl-versioning.patch + "${FILESDIR}"/${PN}-1.4.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 +} |