mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
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>
This commit is contained in:
parent
889104ddb8
commit
7aade40f6e
3 changed files with 18 additions and 6 deletions
|
@ -1,16 +1,22 @@
|
||||||
Qt is a cross-platform C++ application framework. Qt's primary feature
|
Qt is a cross-platform C++ application framework. Qt's primary feature
|
||||||
is its rich set of widgets that provide standard GUI functionality.
|
is its rich set of widgets that provide standard GUI functionality.
|
||||||
|
|
||||||
Optional dependencies: unixodbc, libxkbcommon, freetds, OpenAL, libwebp,
|
Optional dependencies: unixodbc, freetds, OpenAL, libwebp, opus, snappy,
|
||||||
and postgresql
|
and postgresql
|
||||||
|
|
||||||
Optional dependencies: wayland, openvg, libinput and firebird (not available
|
Optional dependencies: wayland, openvg, libinput and firebird (not available
|
||||||
at slackbuilds.org)
|
at slackbuilds.org)
|
||||||
|
|
||||||
Note1: To build documentation pass DOCS=yes to the slackbuild.
|
Note1: To build documentation pass DOCS=yes to the slackbuild
|
||||||
|
|
||||||
DOCS=yes ./qt5.SlackBuild
|
DOCS=yes ./qt5.SlackBuild
|
||||||
|
|
||||||
Note2: To build examples pass EXAMPLES=yes to the slackbuild
|
Note2: To build examples pass EXAMPLES=yes to the slackbuild
|
||||||
|
|
||||||
EXAMPLES=yes ./qt5.SlackBuild
|
EXAMPLES=yes ./qt5.SlackBuild
|
||||||
|
|
||||||
|
Note3: To build support for proprietary media codecs (note that this
|
||||||
|
will produce a non-redistributable package in some countries) pass
|
||||||
|
PROPRIETARY_CODECS=yes to the slackbuild
|
||||||
|
|
||||||
|
PROPRIETARY_CODECS=yes ./qt5.SlackBuild
|
||||||
|
|
|
@ -83,13 +83,17 @@ else
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
fi
|
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
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf ${PRGNAM/5/}-everywhere-opensource-src-$VERSION
|
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
|
cd ${PRGNAM/5/}-everywhere-opensource-src-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find -L . \
|
find -L . \
|
||||||
|
@ -121,6 +125,8 @@ else
|
||||||
BUILD_EXAMPLES="-nomake examples"
|
BUILD_EXAMPLES="-nomake examples"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "$PRCOD" >> qtwebengine/.qmake.conf
|
||||||
|
|
||||||
export CFLAGS="$SLKCFLAGS"
|
export CFLAGS="$SLKCFLAGS"
|
||||||
export CXXFLAGS="$SLKCFLAGS"
|
export CXXFLAGS="$SLKCFLAGS"
|
||||||
./configure -v \
|
./configure -v \
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="qt5"
|
PRGNAM="qt5"
|
||||||
VERSION="5.6.1"
|
VERSION="5.6.1"
|
||||||
HOMEPAGE="http://qt-project.org/"
|
HOMEPAGE="http://qt-project.org/"
|
||||||
DOWNLOAD="http://download.qt-project.org/official_releases/qt/5.6/5.6.1/single/qt-everywhere-opensource-src-5.6.1.tar.xz"
|
DOWNLOAD="http://download.qt.io/official_releases/qt/5.6/5.6.1-1/single/qt-everywhere-opensource-src-5.6.1-1.tar.xz"
|
||||||
MD5SUM="d647574345c45b5ab8b41b2d46efffb9"
|
MD5SUM="f44fd4fcae71087f90d9c68e9d8be449"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES="libxkbcommon"
|
||||||
MAINTAINER="Larry Hajali"
|
MAINTAINER="Larry Hajali"
|
||||||
EMAIL="larryhaja[at]gmail[dot]com"
|
EMAIL="larryhaja[at]gmail[dot]com"
|
||||||
|
|
Loading…
Reference in a new issue