| 1 |
# Copyright 1999-2013 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-cdr/backlite/backlite-1.0.3-r1.ebuild,v 1.3 2013/01/17 18:42:37 aballier Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
inherit qt4-r2 eutils
|
| 8 |
|
| 9 |
DESCRIPTION="backlite is a pure QT4 version of k9copy"
|
| 10 |
HOMEPAGE="http://k9copy.sourceforge.net/"
|
| 11 |
SRC_URI="mirror://sourceforge/k9copy/${P}.tar.gz"
|
| 12 |
|
| 13 |
LICENSE="GPL-2"
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="amd64 x86"
|
| 16 |
IUSE="mplayer"
|
| 17 |
|
| 18 |
# According to the author of backlite/k9copy libdvdread and libdvdnav are
|
| 19 |
# bundled internal because newer versions produce bad DVD copies.
|
| 20 |
# This will be fixed later.
|
| 21 |
# DEPEND="media-libs/libdvdread"
|
| 22 |
|
| 23 |
DEPEND=">=media-libs/libmpeg2-0.5.1
|
| 24 |
virtual/ffmpeg
|
| 25 |
x11-libs/qt-gui:4[dbus]
|
| 26 |
|| ( x11-libs/qt-phonon:4 media-libs/phonon )"
|
| 27 |
|
| 28 |
RDEPEND="${DEPEND}
|
| 29 |
media-video/dvdauthor
|
| 30 |
mplayer? ( media-video/mplayer )"
|
| 31 |
|
| 32 |
src_prepare() {
|
| 33 |
sed -i -e '/^MimeTypes=.*/d' \
|
| 34 |
-e '/^Encoding=.*/d' *.desktop || die
|
| 35 |
epatch "${FILESDIR}/${P}-ffmpeg-0.11.patch" \
|
| 36 |
"${FILESDIR}/${P}-includepaths.patch"
|
| 37 |
}
|
| 38 |
|
| 39 |
src_configure() {
|
| 40 |
eqmake4 backlite.pro PREFIX="${D}"/usr
|
| 41 |
}
|
| 42 |
|
| 43 |
src_install() {
|
| 44 |
unset INSTALL_ROOT
|
| 45 |
default
|
| 46 |
}
|