1 |
commit: 939ebb47354b7a0ed19cfb944578213e6142bc3f |
2 |
Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Feb 22 22:31:14 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 23 20:38:50 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=939ebb47 |
7 |
|
8 |
media-video/mpv: move python_setup to src_configure for simplicity |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
media-video/mpv/mpv-9999.ebuild | 5 +---- |
13 |
1 file changed, 1 insertion(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild |
16 |
index 076125a4d9c..91f9df5bf58 100644 |
17 |
--- a/media-video/mpv/mpv-9999.ebuild |
18 |
+++ b/media-video/mpv/mpv-9999.ebuild |
19 |
@@ -135,10 +135,6 @@ PATCHES=( |
20 |
"${FILESDIR}/${PN}-0.19.0-make-ffmpeg-version-check-non-fatal.patch" |
21 |
) |
22 |
|
23 |
-pkg_setup() { |
24 |
- [[ ${MERGE_TYPE} != "binary" ]] && python_setup |
25 |
-} |
26 |
- |
27 |
src_prepare() { |
28 |
cp "${DISTDIR}/waf-${WAF_PV}" "${S}"/waf || die |
29 |
chmod +x "${S}"/waf || die |
30 |
@@ -146,6 +142,7 @@ src_prepare() { |
31 |
} |
32 |
|
33 |
src_configure() { |
34 |
+ python_setup |
35 |
tc-export CC PKG_CONFIG AR |
36 |
|
37 |
if use raspberry-pi; then |