From ba135f279692935a8b6d3b2b2d7d7956fc89a8a2 Mon Sep 17 00:00:00 2001 From: Roberto Neri Date: Fri, 20 Apr 2012 09:08:39 -0400 Subject: multimedia/backlite: Updated for version 1.0.3. Signed-off-by: dsomero --- multimedia/backlite/backlite-1.0.2-ffmpeg.patch | 15 -------------- multimedia/backlite/backlite.SlackBuild | 26 ++++++++++++++++++++----- multimedia/backlite/backlite.info | 8 ++++---- 3 files changed, 25 insertions(+), 24 deletions(-) delete mode 100644 multimedia/backlite/backlite-1.0.2-ffmpeg.patch diff --git a/multimedia/backlite/backlite-1.0.2-ffmpeg.patch b/multimedia/backlite/backlite-1.0.2-ffmpeg.patch deleted file mode 100644 index c92582a8dd..0000000000 --- a/multimedia/backlite/backlite-1.0.2-ffmpeg.patch +++ /dev/null @@ -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; inb_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; - } diff --git a/multimedia/backlite/backlite.SlackBuild b/multimedia/backlite/backlite.SlackBuild index 61de120adf..d1f4335e1d 100644 --- a/multimedia/backlite/backlite.SlackBuild +++ b/multimedia/backlite/backlite.SlackBuild @@ -2,10 +2,29 @@ # Slackware build script for backlite -# Written by Roberto Neri +# 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" \ diff --git a/multimedia/backlite/backlite.info b/multimedia/backlite/backlite.info index 0afafa3d2d..7e08897949 100644 --- a/multimedia/backlite/backlite.info +++ b/multimedia/backlite/backlite.info @@ -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" -- cgit v1.2.3