mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
network/qTox: Updated for version 1.12.1.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
This commit is contained in:
parent
5437b601bc
commit
3a1250c137
3 changed files with 27 additions and 4 deletions
20
network/qTox/camerasource.cpp.diff
Normal file
20
network/qTox/camerasource.cpp.diff
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- qTox-1.12.1/src/video/camerasource.cpp.orig 2017-10-11 23:49:18.000000000 +0200
|
||||
+++ qTox-1.12.1/src/video/camerasource.cpp 2017-10-25 00:10:50.632026656 +0200
|
||||
@@ -332,6 +332,8 @@
|
||||
emit openFailed();
|
||||
return;
|
||||
}
|
||||
+
|
||||
+ cctx->refcounted_frames = 1;
|
||||
#else
|
||||
// Create a context for our codec, using the existing parameters
|
||||
cctx = avcodec_alloc_context3(codec);
|
||||
@@ -342,8 +344,6 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
- cctx->refcounted_frames = 1;
|
||||
-
|
||||
// Open codec
|
||||
if (avcodec_open2(cctx, codec, nullptr) < 0) {
|
||||
qWarning() << "Can't open codec";
|
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=qTox
|
||||
VERSION=${VERSION:-1.11.0}
|
||||
VERSION=${VERSION:-1.12.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -72,6 +72,9 @@ find -L . \
|
|||
# gcc-7 fix
|
||||
patch -p1 <$CWD/rawdatabase.h.diff
|
||||
|
||||
# ffmpeg 3.4 fix
|
||||
patch -p1 <$CWD/camerasource.cpp.diff
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="qTox"
|
||||
VERSION="1.11.0"
|
||||
VERSION="1.12.1"
|
||||
HOMEPAGE="https://github.com/tux3/qTox"
|
||||
DOWNLOAD="https://github.com/qTox/qTox/archive/v1.11.0/qTox-1.11.0.tar.gz"
|
||||
MD5SUM="748b877696b186e30a9bad3845dbbd01"
|
||||
DOWNLOAD="https://github.com/qTox/qTox/archive/v1.12.1/qTox-1.12.1.tar.gz"
|
||||
MD5SUM="b7d04876aad6e15c434d04b67317dc50"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="c-toxcore libfilteraudio qt5 ffmpeg qrencode libxkbcommon sqlcipher"
|
||||
|
|
Loading…
Reference in a new issue