Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (3babf522b772c0c9735a7f092385ebb71fe097ba)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (3babf522b772c0c9735a7f092385ebb71fe097ba)
  • Date: Mon, 10 Sep 2018 04:23:57 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

video/mpv/BUILD | 4 ++--
video/mpv/DEPENDS | 5 +----
video/mpv/HISTORY | 3 +++
3 files changed, 6 insertions(+), 6 deletions(-)

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

diff --git a/video/mpv/BUILD b/video/mpv/BUILD
index 8097dd0..bcb7248 100755
--- a/video/mpv/BUILD
+++ b/video/mpv/BUILD
@@ -1,6 +1,6 @@
OPTS="$MPV_OPTS $OPTS" &&

-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 &&

-if is_depends_enabled $SPELL $(get_spell_provider $SPELL OPENGL) &&
- ! spell_ok "libglvnd"; then
- depends smgl-gl_select
-fi &&
+optional_depends smgl-gl_select "" "" "to select OPENGL provider" &&

if is_depends_enabled $SPELL $(get_spell_provider $SPELL LUA); then
optional_depends youtube-dl "" "" "to watch Youtube videos"
diff --git a/video/mpv/HISTORY b/video/mpv/HISTORY
index e14ac1d..c55debb 100644
--- a/video/mpv/HISTORY
+++ b/video/mpv/HISTORY
@@ -1,3 +1,6 @@
+2018-09-10 Pavel Vinogradov <public AT sourcemage.org>
+ * BUILD, DEPENDS: made smgl-gl_select optional, simplified checks
+
2018-08-29 Pavel Vinogradov <public AT sourcemage.org>
* BUILD, DEPENDS: handle the cases with mesa & libglvnd




  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (3babf522b772c0c9735a7f092385ebb71fe097ba), Pavel Vinogradov, 09/10/2018

Archive powered by MHonArc 2.6.24.

Top of Page