Skip to Content.
Sympa Menu

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

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 (0e69ae3538675fe7d41128695fbc49c72a2d9edc)
  • Date: Wed, 28 Sep 2022 07:26:23 +0000

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

graphics-libs/mesa/BUILD | 5 +++++
graphics-libs/mesa/DEPENDS | 11 +++++++++++
graphics-libs/mesa/HISTORY | 4 ++++
3 files changed, 20 insertions(+)

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

graphics-libs/mesa: added option so build some patented codecs for video
acceleration

diff --git a/graphics-libs/mesa/BUILD b/graphics-libs/mesa/BUILD
index 97fc589..905ca51 100755
--- a/graphics-libs/mesa/BUILD
+++ b/graphics-libs/mesa/BUILD
@@ -24,6 +24,11 @@ if [[ "${MESA_BRANCH}" == "stable" ]]; then
OPTS+=" use-elf-tls=false"
fi &&

+if is_depends_enabled "${SPELL}" libva &&
+ ! list_find "${MESA_VA_CODECS}" "none"; then
+ OPTS+=" video-codecs=${MESA_VA_CODECS// /,}"
+fi &&
+
local vulkan=${MESA_VULKAN//none} &&
local gallium=${MESA_GALLIUM//none} &&
local dri=${MESA_DRI//none} &&
diff --git a/graphics-libs/mesa/DEPENDS b/graphics-libs/mesa/DEPENDS
index d1e98fb..19b2075 100755
--- a/graphics-libs/mesa/DEPENDS
+++ b/graphics-libs/mesa/DEPENDS
@@ -43,6 +43,17 @@ fi &&
optional_depends libvdpau 'gallium-vdpau=enabled' 'gallium-vdpau=disabled'
'gallium vdpau state tracker' &&
optional_depends libxvmc 'gallium-xvmc=enabled' 'gallium-xvmc=disabled'
'gallium xvmc state tracker(obsolete)' &&
optional_depends libva 'gallium-va=enabled' 'gallium-va=disabled'
'gallium va state tracker' &&
+if is_depends_enabled "${SPELL}" libva; then
+ . $GRIMOIRE/config_query_multi.function &&
+ config_query_multi MESA_VA_CODECS "Would you like to enable some patented
codecs?" \
+ none all vc1dec h264dec h264enc h265dec
h265enc &&
+ MESA_VA_CODECS="${MESA_VA_CODECS# }" &&
+ if list_find "${MESA_VA_CODECS}" "all"; then
+ MESA_VA_CODECS="vc1dec h264dec h264enc h265dec h265enc"
+ fi
+else
+ persistent_remove MESA_VA_CODECS
+fi &&
#optional_depends libomxil 'gallium-omx=bellagio' 'gallium-omx=disabled'
'gallium omx bellagio state tracker' &&
#optional_depends tizonia 'gallium-omx=tizonia' 'gallium-omx=disabled'
'gallium omx state tracker' &&
#optional_depends libxa '' '' 'gallium xa state tracker' &&
diff --git a/graphics-libs/mesa/HISTORY b/graphics-libs/mesa/HISTORY
index 6016a5c..cfa4580 100644
--- a/graphics-libs/mesa/HISTORY
+++ b/graphics-libs/mesa/HISTORY
@@ -1,3 +1,7 @@
+2022-09-28 Pavel Vinogradov <public AT sourcemage.org>
+ * BUILD, DEPENDS: added option so build some patented codecs for video
+ acceleration
+
2022-09-21 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 22.2.0




  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (0e69ae3538675fe7d41128695fbc49c72a2d9edc), Pavel Vinogradov, 09/28/2022

Archive powered by MHonArc 2.6.24.

Top of Page