multimedia/backlite: Updated for version 1.0.3.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
e88fbcb800
commit
ba135f2796
|
@ -1,15 +0,0 @@
|
|||
Fix build with ffmpeg/libav trunk after the big bump.
|
||||
|
||||
Index: k9copy-2.3.7-Source/src/import/k9avidecode.cpp
|
||||
===================================================================
|
||||
--- k9copy-2.3.7-Source.orig/src/import/k9avidecode.cpp
|
||||
+++ k9copy-2.3.7-Source/src/import/k9avidecode.cpp
|
||||
@@ -145,7 +145,7 @@ bool k9AviDecode::open(const QString & _
|
||||
// Find the first video stream
|
||||
m_videoStream=-1;
|
||||
for (i=0; i<m_FormatCtx->nb_streams; i++)
|
||||
- if (m_FormatCtx->streams[i]->codec->codec_type==CODEC_TYPE_VIDEO) {
|
||||
+ if (m_FormatCtx->streams[i]->codec->codec_type==AVMEDIA_TYPE_VIDEO) {
|
||||
m_videoStream=i;
|
||||
break;
|
||||
}
|
|
@ -2,10 +2,29 @@
|
|||
|
||||
# Slackware build script for backlite
|
||||
|
||||
# Written by Roberto Neri <rneri@libero.it>
|
||||
# Copyright 2011-2012 Roberto Neri, Palermo, Italy
|
||||
#
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of this script must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=backlite
|
||||
VERSION=${VERSION:-1.0.2}
|
||||
VERSION=${VERSION:-1.0.3}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -51,9 +70,6 @@ find . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# Fix building against newer ffmpeg versions
|
||||
patch -p1 -i $CWD/$PRGNAM-$VERSION-ffmpeg.patch
|
||||
|
||||
qmake \
|
||||
PREFIX=/usr \
|
||||
QMAKE_CFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="backlite"
|
||||
VERSION="1.0.2"
|
||||
VERSION="1.0.3"
|
||||
HOMEPAGE="http://k9copy.sourceforge.net/"
|
||||
DOWNLOAD="http://sourceforge.net/projects/k9copy/files/backlite/1.0.2/backlite-1.0.2.tar.gz"
|
||||
MD5SUM="3929ccae02c8912d9974482de9eeca05"
|
||||
DOWNLOAD="http://sourceforge.net/projects/k9copy/files/backlite/1.0.3/backlite-1.0.3.tar.gz"
|
||||
MD5SUM="167007b06ae0bfa402cbaf7201539bcb"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Roberto Neri"
|
||||
EMAIL="rneri@libero.it"
|
||||
APPROVED="rworkman"
|
||||
APPROVED="dsomero"
|
||||
|
|
Loading…
Reference in New Issue