1 |
commit: bc0aeaf00261b69f028295a49e08e17fea049fb4 |
2 |
Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 24 20:51:36 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 4 14:30:54 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc0aeaf0 |
7 |
|
8 |
media-video/obs-studio: switch to python-single-r1 eclass |
9 |
|
10 |
Previously, the fact that 'python-any-r1.eclass' is intended for |
11 |
build-time dependent packages only was completely missed, while |
12 |
Python is required at run-time when used for OBS Studio scripting. |
13 |
|
14 |
Closes: https://bugs.gentoo.org/662702 |
15 |
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org> |
16 |
Package-Manager: Portage-2.3.48, Repoman-2.3.10 |
17 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
18 |
|
19 |
media-video/obs-studio/obs-studio-21.1.2.ebuild | 3 ++- |
20 |
media-video/obs-studio/obs-studio-9999.ebuild | 3 ++- |
21 |
2 files changed, 4 insertions(+), 2 deletions(-) |
22 |
|
23 |
diff --git a/media-video/obs-studio/obs-studio-21.1.2.ebuild b/media-video/obs-studio/obs-studio-21.1.2.ebuild |
24 |
index 956bf7750a2..dd53602850c 100644 |
25 |
--- a/media-video/obs-studio/obs-studio-21.1.2.ebuild |
26 |
+++ b/media-video/obs-studio/obs-studio-21.1.2.ebuild |
27 |
@@ -6,7 +6,7 @@ EAPI=6 |
28 |
PYTHON_COMPAT=( python{3_4,3_5,3_6} ) |
29 |
CMAKE_MIN_VERSION=3.9.6 |
30 |
|
31 |
-inherit cmake-utils gnome2-utils python-any-r1 |
32 |
+inherit cmake-utils gnome2-utils python-single-r1 |
33 |
|
34 |
if [[ ${PV} == *9999 ]]; then |
35 |
inherit git-r3 |
36 |
@@ -23,6 +23,7 @@ HOMEPAGE="https://obsproject.com" |
37 |
LICENSE="GPL-2" |
38 |
SLOT="0" |
39 |
IUSE="+alsa fdk imagemagick jack luajit nvenc pulseaudio python speexdsp truetype v4l" |
40 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
41 |
|
42 |
COMMON_DEPEND=" |
43 |
>=dev-libs/jansson-2.5 |
44 |
|
45 |
diff --git a/media-video/obs-studio/obs-studio-9999.ebuild b/media-video/obs-studio/obs-studio-9999.ebuild |
46 |
index 4558c2f4e95..366ec070434 100644 |
47 |
--- a/media-video/obs-studio/obs-studio-9999.ebuild |
48 |
+++ b/media-video/obs-studio/obs-studio-9999.ebuild |
49 |
@@ -6,7 +6,7 @@ EAPI=6 |
50 |
PYTHON_COMPAT=( python{3_4,3_5,3_6} ) |
51 |
CMAKE_MIN_VERSION=3.9.6 |
52 |
|
53 |
-inherit cmake-utils gnome2-utils python-any-r1 |
54 |
+inherit cmake-utils gnome2-utils python-single-r1 |
55 |
|
56 |
if [[ ${PV} == *9999 ]]; then |
57 |
inherit git-r3 |
58 |
@@ -23,6 +23,7 @@ HOMEPAGE="https://obsproject.com" |
59 |
LICENSE="GPL-2" |
60 |
SLOT="0" |
61 |
IUSE="+alsa fdk imagemagick jack luajit nvenc pulseaudio python speexdsp truetype v4l" |
62 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
63 |
|
64 |
COMMON_DEPEND=" |
65 |
>=dev-libs/jansson-2.5 |