blob: 09678f05c092496545f51f049adc6fe0db9b5619 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/2mandvd/2mandvd-1.8.5.ebuild,v 1.1 2013/08/31 08:27:16 pesa Exp $
EAPI=4
LANGS="cs de en it ru"
inherit qt4-r2
MY_PN="2ManDVD"
DESCRIPTION="The successor of ManDVD"
HOMEPAGE="http://kde-apps.org/content/show.php?content=99450"
SRC_URI="http://download.tuxfamily.org/${PN}/${MY_PN}-${PV}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"
DEPEND="media-libs/libsdl
virtual/ffmpeg
virtual/glu
virtual/opengl
dev-qt/qtcore:4
dev-qt/qtgui:4
dev-qt/qtopengl:4
"
RDEPEND="${DEPEND}
|| ( app-cdr/cdrkit app-cdr/cdrtools )
dev-lang/perl
media-fonts/dejavu
media-gfx/exif
media-libs/netpbm
media-sound/sox
media-video/dvdauthor
media-video/ffmpegthumbnailer
media-video/mjpegtools
media-video/mplayer[encode]
"
S=${WORKDIR}/${MY_PN}
PATCHES=(
"${FILESDIR}/${PN}-1.7.3-libav.patch"
"${FILESDIR}/${PN}-1.8.5-libavformat54.patch"
)
src_prepare() {
# Clean backup files
find . -name "*~" -delete || die
# Delete useless chmod that violates the sandbox
sed -i -e '/chmod/d' ${MY_PN}.pro || die
# Fix desktop file
sed -i -e '/^Categories=/s/GNOME;AudioVideo;//' ${MY_PN}.desktop || die
qt4-r2_src_prepare
}
pkg_postinst() {
elog "You may wish to install media-video/xine-ui and/or build"
elog "media-sound/sox with USE=mad for improved media handling support."
}
|