Skip to content

Commit

Permalink
media-video/mpv: move python_setup to src_configure for simplicity
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.24, Repoman-2.3.6
  • Loading branch information
Coacher authored and mgorny committed Feb 23, 2018
1 parent 4593136 commit 939ebb4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions media-video/mpv/mpv-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -135,17 +135,14 @@ PATCHES=(
"${FILESDIR}/${PN}-0.19.0-make-ffmpeg-version-check-non-fatal.patch"
)

pkg_setup() {
[[ ${MERGE_TYPE} != "binary" ]] && python_setup
}

src_prepare() {
cp "${DISTDIR}/waf-${WAF_PV}" "${S}"/waf || die
chmod +x "${S}"/waf || die
default_src_prepare
}

src_configure() {
python_setup
tc-export CC PKG_CONFIG AR

if use raspberry-pi; then
Expand Down

0 comments on commit 939ebb4

Please sign in to comment.