summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-09-19 04:47:18 +0100
committerSam James <sam@gentoo.org>2022-09-19 04:47:18 +0100
commit28b5bc3e5583a7482fa84055773df98a48d0c99e (patch)
tree2166a2a8c68df4741a0c19e81ff5e6e007a1fe53 /media-libs/libmypaint/libmypaint-1.6.1-r2.ebuild
parentprofiles/prefix/linux: re-parent ppc64(le) profiles (diff)
downloadgentoo-28b5bc3e5583a7482fa84055773df98a48d0c99e.tar.gz
gentoo-28b5bc3e5583a7482fa84055773df98a48d0c99e.tar.bz2
gentoo-28b5bc3e5583a7482fa84055773df98a48d0c99e.zip
media-libs/libmypaint: add missing babl[introspection?] dep
Closes: https://bugs.gentoo.org/868774 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libmypaint/libmypaint-1.6.1-r2.ebuild')
-rw-r--r--media-libs/libmypaint/libmypaint-1.6.1-r2.ebuild71
1 files changed, 71 insertions, 0 deletions
diff --git a/media-libs/libmypaint/libmypaint-1.6.1-r2.ebuild b/media-libs/libmypaint/libmypaint-1.6.1-r2.ebuild
new file mode 100644
index 000000000000..5d12462922ce
--- /dev/null
+++ b/media-libs/libmypaint/libmypaint-1.6.1-r2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit 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 ~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}
+ !<media-gfx/mypaint-1.2.1
+"
+
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+
+ python-any-r1_pkg_setup
+}
+
+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 "${ED}" -name '*.la' -type f -delete || die
+}