summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-cdr/backlite')
-rw-r--r--app-cdr/backlite/ChangeLog6
-rw-r--r--app-cdr/backlite/backlite-1.0.2.ebuild15
-rw-r--r--app-cdr/backlite/files/backlite-1.0.2-ffmpeg.patch11
3 files changed, 26 insertions, 6 deletions
diff --git a/app-cdr/backlite/ChangeLog b/app-cdr/backlite/ChangeLog
index 9bdc06a3c8e7..2c2a6cb0c4c6 100644
--- a/app-cdr/backlite/ChangeLog
+++ b/app-cdr/backlite/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-cdr/backlite
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/backlite/ChangeLog,v 1.22 2011/07/26 17:09:18 billie Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/backlite/ChangeLog,v 1.23 2011/08/07 13:26:29 billie Exp $
+
+ 07 Aug 2011; Daniel Pielmeier <billie@gentoo.org> backlite-1.0.2.ebuild,
+ +files/backlite-1.0.2-ffmpeg.patch:
+ Add patch to build with latest ffmpeg/libav just like for k9copy.
26 Jul 2011; Daniel Pielmeier <billie@gentoo.org> -backlite-1.0.1.ebuild:
Remove old.
diff --git a/app-cdr/backlite/backlite-1.0.2.ebuild b/app-cdr/backlite/backlite-1.0.2.ebuild
index bd47fba13211..8c921f572ca3 100644
--- a/app-cdr/backlite/backlite-1.0.2.ebuild
+++ b/app-cdr/backlite/backlite-1.0.2.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/backlite/backlite-1.0.2.ebuild,v 1.3 2011/06/19 13:44:31 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/backlite/backlite-1.0.2.ebuild,v 1.4 2011/08/07 13:26:29 billie Exp $
-EAPI=2
+EAPI=4
-inherit qt4-r2
+inherit eutils qt4-r2
DESCRIPTION="backlite is a pure QT4 version of k9copy"
HOMEPAGE="http://k9copy.sourceforge.net/"
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/k9copy/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
IUSE="mplayer"
# According to the author of backlite/k9copy libdvdread and libdvdnav are
@@ -29,10 +29,15 @@ RDEPEND="${DEPEND}
media-video/dvdauthor
mplayer? ( media-video/mplayer )"
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-1.0.2-ffmpeg.patch"
+}
+
src_configure() {
eqmake4 backlite.pro PREFIX="${D}"/usr
}
src_install() {
- emake install || die "emake install failed"
+ unset INSTALL_ROOT
+ default
}
diff --git a/app-cdr/backlite/files/backlite-1.0.2-ffmpeg.patch b/app-cdr/backlite/files/backlite-1.0.2-ffmpeg.patch
new file mode 100644
index 000000000000..c7a772525ba2
--- /dev/null
+++ b/app-cdr/backlite/files/backlite-1.0.2-ffmpeg.patch
@@ -0,0 +1,11 @@
+--- src/import/k9avidecode.cpp
++++ 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;
+ }