diff options
Diffstat (limited to 'libraries/qt5/qt5.SlackBuild')
-rw-r--r-- | libraries/qt5/qt5.SlackBuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libraries/qt5/qt5.SlackBuild b/libraries/qt5/qt5.SlackBuild index 493de8d248..7c0366f7c0 100644 --- a/libraries/qt5/qt5.SlackBuild +++ b/libraries/qt5/qt5.SlackBuild @@ -83,13 +83,17 @@ else LIBDIRSUFFIX="" fi +# http://doc.qt.io/qt-5/qtwebengine-platform-notes.html#audio-and-video-codec-support +PRCOD="" +[ "$PROPRIETARY_CODECS" = "yes" ] && PRCOD="WEBENGINE_CONFIG += use_proprietary_codecs" + set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf ${PRGNAM/5/}-everywhere-opensource-src-$VERSION -tar xvf $CWD/${PRGNAM/5/}-everywhere-opensource-src-$VERSION.tar.xz +tar xvf $CWD/${PRGNAM/5/}-everywhere-opensource-src-$VERSION-1.tar.xz cd ${PRGNAM/5/}-everywhere-opensource-src-$VERSION chown -R root:root . find -L . \ @@ -121,6 +125,8 @@ else BUILD_EXAMPLES="-nomake examples" fi +echo "$PRCOD" >> qtwebengine/.qmake.conf + export CFLAGS="$SLKCFLAGS" export CXXFLAGS="$SLKCFLAGS" ./configure -v \ |