summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/mpv/mpv-9999.ebuild')
-rw-r--r--media-video/mpv/mpv-9999.ebuild14
1 files changed, 0 insertions, 14 deletions
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 273d78e0d67b..feb4d5ee3857 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -142,21 +142,7 @@ PATCHES=(
"${FILESDIR}/${PN}-0.23.0-make-libavdevice-check-accept-libav.patch"
)
-mpv_check_compiler() {
- if [[ ${MERGE_TYPE} != "binary" ]]; then
- if tc-is-gcc && [[ $(gcc-major-version) -lt 4 || \
- ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 5 ) ]]; then
- die "${PN} requires GCC>=4.5."
- fi
- fi
-}
-
-pkg_pretend() {
- mpv_check_compiler
-}
-
pkg_setup() {
- mpv_check_compiler
[[ ${MERGE_TYPE} != "binary" ]] && python_setup
}