Gentoo Archives: gentoo-commits

From: "TomAs Touceda (chiiph)" <chiiph@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/2mandvd: metadata.xml ChangeLog 2mandvd-1.4.ebuild
Date: Tue, 05 Oct 2010 23:03:03
Message-Id: 20101005221507.CD2CD20051@flycatcher.gentoo.org
1 chiiph 10/10/05 22:15:07
2
3 Modified: metadata.xml ChangeLog
4 Added: 2mandvd-1.4.ebuild
5 Log:
6 Add myself as co-maintainer and version bump
7
8 (Portage version: 2.2_rc86/cvs/Linux i686)
9
10 Revision Changes Path
11 1.2 media-video/2mandvd/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/2mandvd/metadata.xml?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/2mandvd/metadata.xml?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/2mandvd/metadata.xml?r1=1.1&r2=1.2
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-video/2mandvd/metadata.xml,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- metadata.xml 9 Nov 2009 21:06:11 -0000 1.1
24 +++ metadata.xml 5 Oct 2010 22:15:07 -0000 1.2
25 @@ -1,12 +1,16 @@
26 <?xml version="1.0" encoding="UTF-8"?>
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 -<herd>qt</herd>
30 -<maintainer>
31 -<email>hwoarang@g.o</email>
32 -<name>Markos Chandras</name>
33 -</maintainer>
34 -<longdescription lang="en">
35 -</longdescription>
36 + <herd>qt</herd>
37 + <maintainer>
38 + <email>hwoarang@g.o</email>
39 + <name>Markos Chandras</name>
40 + </maintainer>
41 + <maintainer>
42 + <email>chiiph@g.o</email>
43 + <name>Tomas Touceda</name>
44 + </maintainer>
45 + <longdescription lang="en">
46 + </longdescription>
47 </pkgmetadata>
48
49
50
51
52 1.14 media-video/2mandvd/ChangeLog
53
54 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/2mandvd/ChangeLog?rev=1.14&view=markup
55 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/2mandvd/ChangeLog?rev=1.14&content-type=text/plain
56 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/2mandvd/ChangeLog?r1=1.13&r2=1.14
57
58 Index: ChangeLog
59 ===================================================================
60 RCS file: /var/cvsroot/gentoo-x86/media-video/2mandvd/ChangeLog,v
61 retrieving revision 1.13
62 retrieving revision 1.14
63 diff -u -r1.13 -r1.14
64 --- ChangeLog 12 Sep 2010 07:10:20 -0000 1.13
65 +++ ChangeLog 5 Oct 2010 22:15:07 -0000 1.14
66 @@ -1,6 +1,12 @@
67 # ChangeLog for media-video/2mandvd
68 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
69 -# $Header: /var/cvsroot/gentoo-x86/media-video/2mandvd/ChangeLog,v 1.13 2010/09/12 07:10:20 tove Exp $
70 +# $Header: /var/cvsroot/gentoo-x86/media-video/2mandvd/ChangeLog,v 1.14 2010/10/05 22:15:07 chiiph Exp $
71 +
72 +*2mandvd-1.4 (05 Oct 2010)
73 +
74 + 05 Oct 2010; Tomas Touceda <chiiph@g.o> +2mandvd-1.4.ebuild,
75 + metadata.xml:
76 + Add myself as co-maintainer and version bump
77
78 12 Sep 2010; Torsten Veller <tove@g.o> 2mandvd-1.3.5.ebuild:
79 Add missing die: || "..." -> || die "..."
80
81
82
83 1.1 media-video/2mandvd/2mandvd-1.4.ebuild
84
85 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/2mandvd/2mandvd-1.4.ebuild?rev=1.1&view=markup
86 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/2mandvd/2mandvd-1.4.ebuild?rev=1.1&content-type=text/plain
87
88 Index: 2mandvd-1.4.ebuild
89 ===================================================================
90 # Copyright 1999-2010 Gentoo Foundation
91 # Distributed under the terms of the GNU General Public License v2
92 # $Header: /var/cvsroot/gentoo-x86/media-video/2mandvd/2mandvd-1.4.ebuild,v 1.1 2010/10/05 22:15:07 chiiph Exp $
93
94 EAPI="2"
95 LANGS="de en he it pl pt ru"
96
97 inherit qt4-r2
98
99 MY_PN="2ManDVD"
100
101 DESCRIPTION="The successor of ManDVD"
102 HOMEPAGE="http://kde-apps.org/content/show.php?content=99450"
103 SRC_URI="http://download.tuxfamily.org/${PN}/${MY_PN}-${PV}.tar.gz"
104
105 LICENSE="GPL-3"
106 SLOT="0"
107 KEYWORDS="~amd64 ~x86"
108 IUSE="debug"
109
110 DEPEND="dev-lang/perl
111 media-video/dvdauthor
112 media-video/ffmpegthumbnailer
113 media-fonts/dejavu
114 media-sound/sox
115 media-video/mplayer
116 media-libs/netpbm
117 media-video/mjpegtools
118 || ( app-cdr/cdrkit app-cdr/cdrtools )
119 media-libs/xine-lib
120 x11-libs/qt-gui:4
121 x11-libs/qt-webkit:4"
122 RDEPEND="${DEPEND}"
123
124 PATCHES=(
125 "${FILESDIR}/${PN}-fix-const-char-concatenation.patch"
126 )
127
128 S="${WORKDIR}/${MY_PN}"
129
130 src_prepare() {
131 # fix installation path
132 for file in mainfrm.cpp media_browser.cpp rendering.cpp; do
133 sed -i "s:qApp->applicationDirPath().\?+.\?\":\"/usr/share/${PN}/:" \
134 ${file} || die "sed failed"
135 done
136
137 sed -i "s:qApp->applicationDirPath():\"/usr/share/${PN}/\":" \
138 mainfrm.cpp || die "sed failed"
139
140 qt4-r2_src_prepare
141 }
142
143 src_configure() {
144 eqmake4 ${MY_PN}.pro
145 }
146
147 src_install() {
148 newbin 2ManDVD ${PN} || die "newbin failed"
149 dodoc README.txt || die "dodoc failed"
150 insinto /usr/share/${PN}/
151 doins -r Bibliotheque || die "failed to install Bibliotheque"
152 doins -r Interface || die "failed to install Interface"
153 #bug 305625
154 doins fake.pl || die "failed to install fake.pl"
155 doicon Interface/mandvdico.png || die "doicon failed"
156 # Desktop icon
157 make_desktop_entry ${PN} 2ManDVD mandvdico "Qt;AudioVideo;Video" \
158 || die "make_desktop_entry failed"
159 insinto /usr/share/${PN}
160 for lang in ${LINGUAS}; do
161 for x in ${LANGS}; do
162 [[ ${lang} == ${x} ]] && doins ${PN}_${x}.qm
163 done
164 done
165 [[ -z ${LINGUAS} ]] && doins ${PN}_en.qm
166 }