diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2016-06-24 06:56:25 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-06-25 08:54:45 +0700 |
commit | 7aade40f6edd3da03be6e74d7b5f46cf201d7ea6 (patch) | |
tree | 27f622a9456b3a09599f4fbd98e07c76ef758ffc /libraries/qt5/qt5.SlackBuild | |
parent | 889104ddb8db3ccad20cf919d6a0ae5752e6703a (diff) |
libraries/qt5: Added a switch for proprietary codecs in qtwebengine.
Added the dependency libxkbcommon, fixed download location,
added the optional dependencies opus and snappy
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 493de8d248849..7c0366f7c0b7f 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 \ |