From: | "Markos Chandras (hwoarang)" <hwoarang@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-video/2mandvd: 2mandvd-1.8.1.ebuild ChangeLog |
Date: | Sun, 03 Jun 2012 21:09:22 |
Message-Id: | 20120603210858.0054F2004C@flycatcher.gentoo.org |
1 | hwoarang 12/06/03 21:08:57 |
2 | |
3 | Modified: ChangeLog |
4 | Added: 2mandvd-1.8.1.ebuild |
5 | Log: |
6 | Version bump |
7 | |
8 | (Portage version: 2.1.10.64/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.24 media-video/2mandvd/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/2mandvd/ChangeLog?rev=1.24&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/2mandvd/ChangeLog?rev=1.24&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/2mandvd/ChangeLog?r1=1.23&r2=1.24 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-video/2mandvd/ChangeLog,v |
20 | retrieving revision 1.23 |
21 | retrieving revision 1.24 |
22 | diff -u -r1.23 -r1.24 |
23 | --- ChangeLog 15 Apr 2012 17:08:27 -0000 1.23 |
24 | +++ ChangeLog 3 Jun 2012 21:08:57 -0000 1.24 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for media-video/2mandvd |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/media-video/2mandvd/ChangeLog,v 1.23 2012/04/15 17:08:27 johu Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/media-video/2mandvd/ChangeLog,v 1.24 2012/06/03 21:08:57 hwoarang Exp $ |
30 | + |
31 | +*2mandvd-1.8.1 (03 Jun 2012) |
32 | + |
33 | + 03 Jun 2012; Markos Chandras <hwoarang@g.o> +2mandvd-1.8.1.ebuild: |
34 | + Version bump |
35 | |
36 | 15 Apr 2012; Johannes Huber <johu@g.o> -2mandvd-1.3.5.ebuild, |
37 | -2mandvd-1.5.5.ebuild, -files/2mandvd-fix-const-char-concatenation.old.patch: |
38 | |
39 | |
40 | |
41 | 1.1 media-video/2mandvd/2mandvd-1.8.1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/2mandvd/2mandvd-1.8.1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/2mandvd/2mandvd-1.8.1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: 2mandvd-1.8.1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2012 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/media-video/2mandvd/2mandvd-1.8.1.ebuild,v 1.1 2012/06/03 21:08:57 hwoarang Exp $ |
51 | |
52 | EAPI=4 |
53 | LANGS="cs de en it ru" |
54 | |
55 | inherit eutils qt4-r2 |
56 | |
57 | MY_PN="2ManDVD" |
58 | |
59 | DESCRIPTION="The successor of ManDVD" |
60 | HOMEPAGE="http://kde-apps.org/content/show.php?content=99450" |
61 | SRC_URI="http://download.tuxfamily.org/${PN}/${P}.tar.gz" |
62 | |
63 | LICENSE="GPL-3" |
64 | SLOT="0" |
65 | KEYWORDS="~amd64 ~x86" |
66 | IUSE="debug" |
67 | |
68 | DEPEND="media-libs/libsdl |
69 | virtual/ffmpeg |
70 | virtual/glu |
71 | virtual/opengl |
72 | x11-libs/qt-core:4 |
73 | x11-libs/qt-gui:4 |
74 | x11-libs/qt-opengl:4 |
75 | " |
76 | RDEPEND="${DEPEND} |
77 | || ( app-cdr/cdrkit app-cdr/cdrtools ) |
78 | dev-lang/perl |
79 | media-fonts/dejavu |
80 | media-gfx/exif |
81 | media-libs/netpbm |
82 | media-sound/sox |
83 | media-video/dvdauthor |
84 | media-video/ffmpegthumbnailer |
85 | media-video/mjpegtools |
86 | media-video/mplayer[encode] |
87 | " |
88 | |
89 | S="${WORKDIR}/${MY_PN}" |
90 | |
91 | PATCHES=( |
92 | "${FILESDIR}/${PN}-fix-const-char-concatenation.patch" |
93 | "${FILESDIR}/${PN}-1.7.3-libav.patch" |
94 | ) |
95 | |
96 | src_prepare() { |
97 | # Cleaning old backup files |
98 | find . -name "*~" -delete || die |
99 | |
100 | for file in *.cpp; do |
101 | # Fix path |
102 | sed -e "s:qApp->applicationDirPath().\?+.\?\":\"/usr/share/${PN}:g" -i "${file}" || die "sed failed" |
103 | sed -e "s:qApp->applicationDirPath():\"/usr/share/${PN}/\":g" -i "${file}" || die "sed failed" |
104 | done |
105 | |
106 | # We'll make a newbin called ${PN} so we need to change references to the old "2ManDVD" (${MY_PN}). |
107 | # Sed is more flexible than a patch. |
108 | sed -e "s:openargument.right(${#MY_PN}) != \"${MY_PN}\":openargument.right(${#PN}) != \"${PN}\":" \ |
109 | -e "s:openargument.right($(( ${#MY_PN} + 2 ))) != \"./${MY_PN}\":openargument.right($(( ${#PN} + 2 ))) != \"./${PN}\":" \ |
110 | -i mainfrm.cpp || die "sed failed" |
111 | |
112 | qt4-r2_src_prepare |
113 | } |
114 | |
115 | src_install() { |
116 | insinto /usr/share/${PN} |
117 | |
118 | # Data: |
119 | doins -r Bibliotheque |
120 | doins -r Interface |
121 | |
122 | doins fake.pl |
123 | |
124 | # Translations: |
125 | for lang in ${LINGUAS}; do |
126 | for x in ${LANGS}; do |
127 | [[ ${lang} == ${x} ]] && doins ${PN}_${x}.qm |
128 | done |
129 | done |
130 | [[ -z ${LINGUAS} ]] && doins ${PN}_en.qm |
131 | |
132 | # Doc: |
133 | dodoc README.txt |
134 | |
135 | # Bin and menu entry: |
136 | newbin 2ManDVD ${PN} |
137 | doicon Interface/mandvd.png |
138 | make_desktop_entry ${PN} ${MY_PN} mandvd "Qt;AudioVideo;Video" |
139 | } |
140 | |
141 | pkg_postinst() { |
142 | elog "You may wish to install media-video/xine-ui and/or build" |
143 | elog "media-sound/sox with USE=mad for improved media handling support." |
144 | } |