Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/tovid: ChangeLog tovid-0.31-r2.ebuild
Date: Tue, 22 Dec 2009 11:32:24
Message-Id: E1NN2yS-0005tc-OH@stork.gentoo.org
1 ssuominen 09/12/22 11:32:20
2
3 Modified: ChangeLog
4 Added: tovid-0.31-r2.ebuild
5 Log:
6 Fix compability with Transcode 1.1.5 wrt #294492 by Salah Coronya.
7 (Portage version: 2.2_rc60/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.20 media-video/tovid/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/tovid/ChangeLog?rev=1.20&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/tovid/ChangeLog?rev=1.20&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/tovid/ChangeLog?r1=1.19&r2=1.20
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-video/tovid/ChangeLog,v
19 retrieving revision 1.19
20 retrieving revision 1.20
21 diff -u -r1.19 -r1.20
22 --- ChangeLog 3 Jan 2009 13:41:26 -0000 1.19
23 +++ ChangeLog 22 Dec 2009 11:32:20 -0000 1.20
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-video/tovid
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-video/tovid/ChangeLog,v 1.19 2009/01/03 13:41:26 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-video/tovid/ChangeLog,v 1.20 2009/12/22 11:32:20 ssuominen Exp $
29 +
30 +*tovid-0.31-r2 (22 Dec 2009)
31 +
32 + 22 Dec 2009; Samuli Suominen <ssuominen@g.o> +tovid-0.31-r2.ebuild,
33 + +files/tovid-0.31-transcode-1.1.5.patch:
34 + Fix compability with Transcode 1.1.5 wrt #294492 by Salah Coronya.
35
36 03 Jan 2009; Alexis Ballier <aballier@g.o> tovid-0.31-r1.ebuild:
37 dont install desktop entries when not installing the guis, by
38
39
40
41 1.1 media-video/tovid/tovid-0.31-r2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/tovid/tovid-0.31-r2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/tovid/tovid-0.31-r2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: tovid-0.31-r2.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-video/tovid/tovid-0.31-r2.ebuild,v 1.1 2009/12/22 11:32:20 ssuominen Exp $
51
52 inherit eutils python
53
54 DESCRIPTION="Video conversion and DVD authoring tools"
55 HOMEPAGE="http://tovid.wikia.com/"
56 SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
57 IUSE="tk wxwindows"
58 DEPEND="media-video/mplayer
59 app-text/txt2tags"
60 RDEPEND="media-video/mjpegtools
61 media-video/ffmpeg
62 >=media-video/transcode-1.1.5
63 media-sound/normalize
64 media-gfx/imagemagick
65 media-sound/sox
66 media-video/dvdauthor
67 media-video/vcdimager
68 media-video/lsdvd
69 virtual/cdrtools
70 dev-python/pycairo
71 wxwindows? ( =dev-python/wxpython-2.6* )
72 app-cdr/dvd+rw-tools
73 app-cdr/cdrdao
74 dev-python/imaging
75 sys-devel/bc"
76 KEYWORDS="~amd64 ~x86"
77 LICENSE="GPL-2"
78 SLOT="0"
79
80 pkg_setup() {
81 if use tk && ( ! built_with_use dev-lang/python tk ); then
82 eerror "Please emerge python with useflag 'tk' enabled."
83 die "Fix USE flags and re-emerge"
84 elif ! use tk; then
85 ewarn "If you want to use 'todiscgui', then emerge"
86 ewarn "dev-lang/python and this package with the 'tk' use flag"
87 fi
88 if ! built_with_use media-video/mplayer encode; then
89 eerror "Please emerge media-video/mplayer with useflag 'encode'."
90 die "Fix USE flags and re-emerge"
91 fi
92 if ! use wxwindows; then
93 ewarn "You have choosen to disable all tovidgui interface."
94 fi
95 }
96
97 src_unpack() {
98 unpack ${A}
99 cd "${S}"
100 epatch "${FILESDIR}"/${PN}-0.30-configure.patch \
101 "${FILESDIR}"/${P}-todisc.patch \
102 "${FILESDIR}"/${P}-sox.patch \
103 "${FILESDIR}"/${P}-transcode-1.1.5.patch
104 }
105
106 src_install() {
107 emake DESTDIR="${D}" install || die "make install died"
108 dodoc AUTHORS ChangeLog NEWS README
109
110 python_version
111 # remove wxgtk components
112 if ! use wxwindows; then
113 rm -f "${D}/usr/bin/tovidgui"
114 rm -rf "${D}/usr/$(get_libdir)/python${PYVER}/site-packages/libtovid/gui"
115 rm -f "${D}/usr/share/applications/tovidgui.desktop"
116 fi
117
118 # remove tk components
119 if ! use tk; then
120 rm -f "${D}/usr/bin/todiscgui"
121 rm -rf "${D}/usr/$(get_libdir)/python${PYVER}/site-packages/libtovid/metagui"
122 rm -f "${D}/usr/share/applications/todiscgui.desktop"
123 fi
124 }
125
126 pkg_postinst() {
127 elog ""
128 elog "List of suite components:"
129 elog " idvid: Identifies video format, resolution, and length"
130 elog " makemenu: Creates (S)VCD/DVD menus"
131 elog " makeslides: Creates mpeg still slides for (S)VCD"
132 elog " makexml: Creates XML specification for an (S)VCD or DVD navigation hierarchy"
133 elog " makedvd: Creates the DVD structure and/or iso image"
134 elog " postproc: Adjusts A/V sync and does shrinking of encoded video"
135 elog " tovid: Converts video to (S)VCD or DVD mpeg format"
136 if use wxwindows; then
137 elog " tovidgui: The tovid GUI"
138 fi
139 elog " pytovid: The new (experimental) python based tovid script"
140 elog " todisc: Create a DVD with animated menus"
141 if use tk; then
142 elog " todiscgui: Experimental gui for todisc"
143 fi
144 elog ""
145 elog "Please check out the tovid documentation on the web:"
146 elog " http://tovid.wikia.com/"
147 elog ""
148 }