Use QtMultiMedia instead of GStreamer

Fewer features but it seems having better compatibility (e.g. HTML5Test.com)
Turn off gold linker so the linker uses the new DT_RUNPATH tags
This commit is contained in:
Simeon Huang 2021-05-15 23:10:28 +01:00 committed by Yaksh Bariya
parent ba4897e3f8
commit 5783b43bc2
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -3,10 +3,10 @@ TERMUX_PKG_DESCRIPTION="Qt 5 WebKit Library"
TERMUX_PKG_LICENSE="LGPL-2.1" TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_MAINTAINER="Simeon Huang <symeon@librehat.com>" TERMUX_PKG_MAINTAINER="Simeon Huang <symeon@librehat.com>"
TERMUX_PKG_VERSION="5.212.0-alpha4" TERMUX_PKG_VERSION="5.212.0-alpha4"
TERMUX_PKG_REVISION=1 TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL="https://github.com/qtwebkit/qtwebkit/releases/download/qtwebkit-${TERMUX_PKG_VERSION}/qtwebkit-${TERMUX_PKG_VERSION}.tar.xz" TERMUX_PKG_SRCURL="https://github.com/qtwebkit/qtwebkit/releases/download/qtwebkit-${TERMUX_PKG_VERSION}/qtwebkit-${TERMUX_PKG_VERSION}.tar.xz"
TERMUX_PKG_SHA256=9ca126da9273664dd23a3ccd0c9bebceb7bb534bddd743db31caf6a5a6d4a9e6 TERMUX_PKG_SHA256=9ca126da9273664dd23a3ccd0c9bebceb7bb534bddd743db31caf6a5a6d4a9e6
TERMUX_PKG_DEPENDS="qt5-qtbase, qt5-qtdeclarative, qt5-qtlocation, qt5-qtsensors, zlib, libxslt, libxcomposite, libhyphen, libwebp, gst-plugins-base, gstreamer" TERMUX_PKG_DEPENDS="qt5-qtbase, qt5-qtdeclarative, qt5-qtlocation, qt5-qtmultimedia, qt5-qtsensors, zlib, libxslt, libxcomposite, libhyphen, libwebp"
TERMUX_PKG_BUILD_DEPENDS="qt5-qtbase-cross-tools, procps, bison, flex, gperf, ruby, cmake" TERMUX_PKG_BUILD_DEPENDS="qt5-qtbase-cross-tools, procps, bison, flex, gperf, ruby, cmake"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DPORT=Qt -DUSE_GSTREAMER=ON -DENABLE_OPENGL=OFF -DENABLE_SAMPLING_PROFILER=OFF -DENABLE_WEBKIT2=OFF" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DPORT=Qt -DUSE_LD_GOLD=OFF -DUSE_GSTREAMER=OFF -DUSE_QT_MULTIMEDIA=ON -DENABLE_OPENGL=OFF -DENABLE_SAMPLING_PROFILER=OFF -DENABLE_WEBKIT2=OFF"
# TODO SAMPLING_PROFILER requires glibc. We might be able to patch the source to make it work with bionic # TODO SAMPLING_PROFILER requires glibc. We might be able to patch the source to make it work with bionic