Skip to Content.
Sympa Menu

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

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 (a39ec0fc18abdadf14d48d888ce10e97bf3474dd)
  • Date: Wed, 29 Aug 2018 22:22:07 +0000

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

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

New commits:
commit a39ec0fc18abdadf14d48d888ce10e97bf3474dd
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

video/mpv: made it work with mesa & libglvnd

diff --git a/video/mpv/BUILD b/video/mpv/BUILD
index ecc7982..8097dd0 100755
--- a/video/mpv/BUILD
+++ b/video/mpv/BUILD
@@ -4,12 +4,12 @@ if is_depends_enabled $SPELL $(get_spell_provider $SPELL
OPENGL); then
local GLSELECT=n &&

for provider in `gaze -q provides OPENGL`; do
- if spell_ok $provider && [[ $provider != mesalib ]]; then
+ if spell_ok $provider && [[ $provider != mesalib || $provider != mesa
]]; then
GLSELECT=y
fi
done &&

- if [[ $GLSELECT == y ]]; then
+ if [[ $GLSELECT == y ]] && spell_ok "smgl-gl_select"; 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 5e7d050..0ca6a08 100755
--- a/video/mpv/DEPENDS
+++ b/video/mpv/DEPENDS
@@ -152,7 +152,8 @@ else
list_add MPV_OPTS "--disable-libass-osd"
fi &&

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

diff --git a/video/mpv/HISTORY b/video/mpv/HISTORY
index ede473f..e14ac1d 100644
--- a/video/mpv/HISTORY
+++ b/video/mpv/HISTORY
@@ -1,3 +1,6 @@
+2018-08-29 Pavel Vinogradov <public AT sourcemage.org>
+ * BUILD, DEPENDS: handle the cases with mesa & libglvnd
+
2018-07-24 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* CONFIGURE: remove encoding switch from MPV_OPTS




  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (a39ec0fc18abdadf14d48d888ce10e97bf3474dd), Pavel Vinogradov, 08/29/2018

Archive powered by MHonArc 2.6.24.

Top of Page