~ruther/guix-local

52366256c4fddb381d2d3f3e96608b621dd70fa1 — Sviatoslav Bulbakha 9 months ago 396a6ce
gnu: qtwebengine: Enable vaapi.

* gnu/packages/qt.scm (qtwebengine) [source]: Preserve
third_party/libva_protected_content and
third_party/libvpx/source/libvpx/third_party/x86inc.
[#:configure-flags] [x86_64]: Add -DQT_FEATURE_webengine_vaapi=ON.
Remove -DQT_FEATURE_webengine_system_libvpx=ON.
[inputs]: Add libva.

Change-Id: Ic39d52a6e4848a4dc65354ea36eadbcb345c471c
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
1 files changed, 7 insertions(+), 1 deletions(-)

M gnu/packages/qt.scm
M gnu/packages/qt.scm => gnu/packages/qt.scm +7 -1
@@ 3876,7 3876,9 @@ web-vitals"                             ;ASL2.0
                    "third_party/libsrtp"
                    "third_party/libsync"
                    "third_party/liburlpattern"
                    "third_party/libva_protected_content" ;Expat
                    "third_party/libvpx"
                    "third_party/libvpx/source/libvpx/third_party/x86inc" ;Expat
                    "third_party/libwebm"
                    "third_party/libwebp"
                    "third_party/libx11"


@@ 4057,6 4059,10 @@ linux/libcurl_wrapper.h"
              ;; done by ffmpeg.
              "-DQT_FEATURE_webengine_proprietary_codecs=ON"

              #$@(if (target-x86-64?)
                     #~("-DQT_FEATURE_webengine_vaapi=ON")
                     #~())

              ;; Use system libraries where possible (see src/core/CMakeLists.txt).
              "-DQT_FEATURE_webengine_system_alsa=ON"
              "-DQT_FEATURE_webengine_system_ffmpeg=ON"


@@ 4077,7 4083,6 @@ linux/libcurl_wrapper.h"
              "-DQT_FEATURE_webengine_system_re2=ON"
              "-DQT_FEATURE_webengine_system_zlib=ON"
              "-DQT_FEATURE_webengine_system_glib=ON"
              "-DQT_FEATURE_webengine_system_libvpx=ON"
              "-DQT_FEATURE_webengine_system_snappy=ON")
      #:phases
      #~(modify-phases %standard-phases


@@ 4168,6 4173,7 @@ linux/libcurl_wrapper.h"
           libevent
           libgcrypt
           libjpeg-turbo
           libva
           libvpx
           libwebp
           libx11