New commits:
commit 3babf522b772c0c9735a7f092385ebb71fe097ba
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
video/mpv: made smgl-gl_select optional, simplified checks
-if is_depends_enabled $SPELL $(get_spell_provider $SPELL OPENGL); then
+if is_depends_enabled "${SPELL}" "smgl-gl_select"; then
local GLSELECT=n &&
for provider in `gaze -q provides OPENGL`; do
@@ -9,7 +9,7 @@ if is_depends_enabled $SPELL $(get_spell_provider $SPELL
OPENGL); then
fi
done &&
- if [[ $GLSELECT == y ]] && spell_ok "smgl-gl_select"; then
+ if [[ $GLSELECT == y ]]; then
message "${MESSAGE_COLOR}NOTICE: Other OPENGL provider than mesalib is
installed;" &&
message "$SPELL requires active mesalib headers - switching it now." &&
message "Don't forget to switch back via smgl-gl_select
script.${DEFAULT_COLOR}\n" &&
diff --git a/video/mpv/DEPENDS b/video/mpv/DEPENDS
index 0ca6a08..23ec2ec 100755
--- a/video/mpv/DEPENDS
+++ b/video/mpv/DEPENDS
@@ -152,10 +152,7 @@ else
list_add MPV_OPTS "--disable-libass-osd"
fi &&