From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5D004138334 for ; Tue, 9 Oct 2018 10:02:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 528D7E07FE; Tue, 9 Oct 2018 10:02:16 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0FD64E07FE for ; Tue, 9 Oct 2018 10:02:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 599B9335C70 for ; Tue, 9 Oct 2018 10:02:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 861DD3CF for ; Tue, 9 Oct 2018 10:02:11 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1539079311.eaa7a6fa3c2e601462c7c19f4e81257e3a58557b.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/obs-studio/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/obs-studio/obs-studio-21.1.2.ebuild media-video/obs-studio/obs-studio-22.0.3.ebuild media-video/obs-studio/obs-studio-9999.ebuild X-VCS-Directories: media-video/obs-studio/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: eaa7a6fa3c2e601462c7c19f4e81257e3a58557b X-VCS-Branch: master Date: Tue, 9 Oct 2018 10:02:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ec61c299-e9b5-48cd-97f8-427832304155 X-Archives-Hash: 4528dbffa35986e10800c77f8528815a commit: eaa7a6fa3c2e601462c7c19f4e81257e3a58557b Author: Jimi Huotari gentoo org> AuthorDate: Mon Oct 8 19:06:42 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Oct 9 10:01:51 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaa7a6fa media-video/obs-studio: fix building without Python targets Only call 'python-single-r1_pkg_setup' if USE="python" is set, since without supported Python targets, things will go bad even if USE="-python" is being used. Closes: https://bugs.gentoo.org/667896 Signed-off-by: Jimi Huotari gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/10109 Signed-off-by: Andreas Sturmlechner gentoo.org> media-video/obs-studio/obs-studio-21.1.2.ebuild | 6 +++++- media-video/obs-studio/obs-studio-22.0.3.ebuild | 6 +++++- media-video/obs-studio/obs-studio-9999.ebuild | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/media-video/obs-studio/obs-studio-21.1.2.ebuild b/media-video/obs-studio/obs-studio-21.1.2.ebuild index bba5ad05ece..ca9114ce291 100644 --- a/media-video/obs-studio/obs-studio-21.1.2.ebuild +++ b/media-video/obs-studio/obs-studio-21.1.2.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 @@ -69,6 +69,10 @@ PATCHES=( CMAKE_REMOVE_MODULES_LIST=( FindFreetype ) +pkg_setup() { + use python && python-single-r1_pkg_setup +} + src_configure() { local libdir=$(get_libdir) local mycmakeargs=( diff --git a/media-video/obs-studio/obs-studio-22.0.3.ebuild b/media-video/obs-studio/obs-studio-22.0.3.ebuild index 987d58bb89b..7bd98fa4213 100644 --- a/media-video/obs-studio/obs-studio-22.0.3.ebuild +++ b/media-video/obs-studio/obs-studio-22.0.3.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 @@ -66,6 +66,10 @@ PATCHES=( "${FILESDIR}/${PN}-21.1.2-use-less-automagic.patch" ) CMAKE_REMOVE_MODULES_LIST=( FindFreetype ) +pkg_setup() { + use python && python-single-r1_pkg_setup +} + src_configure() { local libdir=$(get_libdir) local mycmakeargs=( diff --git a/media-video/obs-studio/obs-studio-9999.ebuild b/media-video/obs-studio/obs-studio-9999.ebuild index d3014eda9ed..a596540a779 100644 --- a/media-video/obs-studio/obs-studio-9999.ebuild +++ b/media-video/obs-studio/obs-studio-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 @@ -64,6 +64,10 @@ RDEPEND="${COMMON_DEPEND}" CMAKE_REMOVE_MODULES_LIST=( FindFreetype ) +pkg_setup() { + use python && python-single-r1_pkg_setup +} + src_configure() { local libdir=$(get_libdir) local mycmakeargs=(