From 2580f6d10cd09ab88ee105ddd808134b906e96b7 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Fri, 9 Nov 2018 22:24:16 +0100 Subject: [PATCH] media-video/totem: Avoid failure of parallel building. Bug: https://bugs.gentoo.org/670792 Signed-off-by: Arfrever Frehtes Taifersar Arahesis --- media-video/totem/totem-3.26.0.ebuild | 10 +++++++++- media-video/totem/totem-9999.ebuild | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/media-video/totem/totem-3.26.0.ebuild b/media-video/totem/totem-3.26.0.ebuild index 8ab39a4f..c35fb5c7 100644 --- a/media-video/totem/totem-3.26.0.ebuild +++ b/media-video/totem/totem-3.26.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -128,6 +128,14 @@ src_configure() { -Dwith-plugins=${plugins} } +src_compile() { + # Workaround for bug in Meson + # https://github.com/mesonbuild/meson/issues/1994 + # https://bugzilla.gnome.org/show_bug.cgi?id=786248 + gnome-meson_src_compile src/Totem-1.0.gir + gnome-meson_src_compile +} + src_install() { gnome-meson_src_install if use python ; then diff --git a/media-video/totem/totem-9999.ebuild b/media-video/totem/totem-9999.ebuild index 011291c7..63711f35 100644 --- a/media-video/totem/totem-9999.ebuild +++ b/media-video/totem/totem-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -138,6 +138,14 @@ src_configure() { -Dwith-plugins=${plugins} } +src_compile() { + # Workaround for bug in Meson + # https://github.com/mesonbuild/meson/issues/1994 + # https://bugzilla.gnome.org/show_bug.cgi?id=786248 + gnome-meson_src_compile src/Totem-1.0.gir + gnome-meson_src_compile +} + src_install() { gnome-meson_src_install if use python ; then -- 2.19.1