1 |
je_fro 10/07/04 19:00:51 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: transcode-1.1.5-r2.ebuild |
5 |
Log: |
6 |
Fix mpa codec error, thanks to Harry in bug #318525. See http://www.mail-archive.com/transcode-users@×××××.org/msg02236.html |
7 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.277 media-video/transcode/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/transcode/ChangeLog?rev=1.277&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/transcode/ChangeLog?rev=1.277&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/transcode/ChangeLog?r1=1.276&r2=1.277 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v |
19 |
retrieving revision 1.276 |
20 |
retrieving revision 1.277 |
21 |
diff -u -r1.276 -r1.277 |
22 |
--- ChangeLog 15 Feb 2010 20:51:35 -0000 1.276 |
23 |
+++ ChangeLog 4 Jul 2010 19:00:51 -0000 1.277 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for media-video/transcode |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v 1.276 2010/02/15 20:51:35 josejx Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v 1.277 2010/07/04 19:00:51 je_fro Exp $ |
29 |
+ |
30 |
+*transcode-1.1.5-r2 (04 Jul 2010) |
31 |
+ |
32 |
+ 04 Jul 2010; Jeff Gardner <je_fro@g.o> +transcode-1.1.5-r2.ebuild, |
33 |
+ +files/transcode-1.1.5-mpa.patch: |
34 |
+ Fix mpa codec error. See |
35 |
+ http://www.mail-archive.com/transcode-users@×××××.org/msg02236.html Thanks |
36 |
+ to Harry in bug #318525. |
37 |
|
38 |
15 Feb 2010; Joseph Jezak <josejx@g.o> transcode-1.1.5-r1.ebuild: |
39 |
Marked ppc stable for bug #297851. |
40 |
|
41 |
|
42 |
|
43 |
1.1 media-video/transcode/transcode-1.1.5-r2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/transcode/transcode-1.1.5-r2.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/transcode/transcode-1.1.5-r2.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: transcode-1.1.5-r2.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/transcode-1.1.5-r2.ebuild,v 1.1 2010/07/04 19:00:51 je_fro Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
|
56 |
WANT_AUTOCONF="2.5" |
57 |
WANT_AUTOMAKE="1.10" |
58 |
|
59 |
inherit libtool flag-o-matic eutils multilib autotools |
60 |
|
61 |
MY_P=${P/_} |
62 |
S="${WORKDIR}/${MY_P}" |
63 |
DESCRIPTION="video stream processing tool" |
64 |
HOMEPAGE="http://tcforge.berlios.de/" |
65 |
SRC_URI="mirror://berlios/tcforge/${MY_P}.tar.bz2" |
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" |
69 |
IUSE="X 3dnow a52 aac alsa altivec dv dvd iconv imagemagick jpeg lzo mjpeg mp3 mpeg mmx nuv ogg oss postproc quicktime sdl sse sse2 theora truetype v4l2 vorbis x264 xml xvid" |
70 |
|
71 |
RDEPEND="aac? ( media-libs/faac ) |
72 |
a52? ( media-libs/a52dec ) |
73 |
alsa? ( media-libs/alsa-lib ) |
74 |
dv? ( media-libs/libdv ) |
75 |
dvd? ( media-libs/libdvdread ) |
76 |
mjpeg? ( media-video/mjpegtools ) |
77 |
lzo? ( >=dev-libs/lzo-2 ) |
78 |
imagemagick? ( media-gfx/imagemagick ) |
79 |
mp3? ( media-sound/lame ) |
80 |
sdl? ( >=media-libs/libsdl-1.2.5[X] ) |
81 |
quicktime? ( >=media-libs/libquicktime-1.0.0 ) |
82 |
vorbis? ( media-libs/libvorbis ) |
83 |
ogg? ( media-libs/libogg ) |
84 |
theora? ( media-libs/libtheora ) |
85 |
jpeg? ( media-libs/jpeg:0 ) |
86 |
truetype? ( >=media-libs/freetype-2 ) |
87 |
>=media-video/ffmpeg-0.4.9_p20081014 |
88 |
|| ( sys-libs/glibc dev-libs/libiconv ) |
89 |
mpeg? ( media-libs/libmpeg2 ) |
90 |
x264? ( media-libs/x264 ) |
91 |
xml? ( dev-libs/libxml2 ) |
92 |
xvid? ( media-libs/xvid ) |
93 |
X? ( x11-libs/libXpm |
94 |
x11-libs/libXaw |
95 |
x11-libs/libXv )" |
96 |
|
97 |
DEPEND="${RDEPEND} |
98 |
dev-util/pkgconfig |
99 |
v4l2? ( >=sys-kernel/linux-headers-2.6.11 )" |
100 |
|
101 |
# Notify the user that some useflag have been forced on |
102 |
tc_use_force() { |
103 |
use $1 && use !$2 && ewarn "USE=$1 requires $2, $2 will be enabled." |
104 |
} |
105 |
|
106 |
# Use when $2 depends strictly on $3 |
107 |
# if use $1 then enable $2 and $3, otherwise disable $2 |
108 |
tc_use_enable_force() { |
109 |
if use $1 ; then |
110 |
echo "--enable-$2 --enable-$3" |
111 |
else |
112 |
echo "--disable-$2" |
113 |
fi |
114 |
} |
115 |
|
116 |
pkg_setup() { |
117 |
tc_use_force sse mmx |
118 |
tc_use_force 3dnow mmx |
119 |
tc_use_force sse2 mmx |
120 |
tc_use_force sse2 sse |
121 |
} |
122 |
|
123 |
src_prepare() { |
124 |
sed -i -e "s:\$(datadir)/doc/transcode:\$(datadir)/doc/${PF}:" \ |
125 |
"${S}"/Makefile.am "${S}"/docs/Makefile.am "${S}"/docs/html/Makefile.am \ |
126 |
"${S}"/docs/pvm3/Makefile.am "${S}"/docs/tech/html/Makefile.am \ |
127 |
"${S}"/docs/tech/Makefile.am |
128 |
|
129 |
epatch "${FILESDIR}"/${P}-jpeg-7.patch |
130 |
epatch "${FILESDIR}"/${P}-mpa.patch |
131 |
|
132 |
eautoreconf |
133 |
} |
134 |
|
135 |
src_configure() { |
136 |
# NuppelVideo is supported only on x86 platform yet |
137 |
# TODO: mask nuv useflag for all other arches |
138 |
# TODO: watch tcrequant for change. It's currently enabled with --enable-deprecated. |
139 |
use x86 && myconf="${myconf} $(use_enable nuv)" |
140 |
myconf="${myconf} \ |
141 |
$(use_enable mmx) \ |
142 |
$(use_enable 3dnow) \ |
143 |
$(use_enable sse) \ |
144 |
$(use_enable sse2) \ |
145 |
$(use_enable altivec) \ |
146 |
$(use_enable v4l2 v4l) \ |
147 |
$(use_enable alsa) \ |
148 |
$(use_enable oss) \ |
149 |
$(use_enable truetype freetype2) \ |
150 |
$(use_enable mp3 lame) \ |
151 |
$(use_enable x264) \ |
152 |
$(use_enable xvid) \ |
153 |
$(use_enable ogg) \ |
154 |
$(use_enable vorbis) \ |
155 |
$(use_enable theora) \ |
156 |
$(use_enable dvd libdvdread) \ |
157 |
$(use_enable dv libdv) \ |
158 |
$(use_enable quicktime libquicktime) \ |
159 |
$(use_enable imagemagick) \ |
160 |
$(use_enable postproc libpostproc) \ |
161 |
$(use_enable lzo) \ |
162 |
$(use_enable a52) \ |
163 |
$(use_enable aac faac) \ |
164 |
$(use_enable xml libxml2) \ |
165 |
$(use_enable mpeg libmpeg2) \ |
166 |
$(use_enable mpeg libmpeg2convert) \ |
167 |
$(use_enable mjpeg mjpegtools) \ |
168 |
$(use_enable sdl) \ |
169 |
$(use_enable jpeg libjpeg) \ |
170 |
$(use_enable iconv) \ |
171 |
$(use_with X x) \ |
172 |
--enable-deprecated \ |
173 |
--enable-experimental \ |
174 |
--with-mod-path=/usr/$(get_libdir)/transcode \ |
175 |
$(tc_use_enable_force sse sse mmx) \ |
176 |
$(tc_use_enable_force 3dnow 3dnow mmx) \ |
177 |
$(tc_use_enable_force sse2 sse2 mmx) \ |
178 |
$(tc_use_enable_force sse2 sse2 sse) \ |
179 |
" |
180 |
|
181 |
econf ${myconf} || die "econf failed" |
182 |
} |
183 |
|
184 |
src_install () { |
185 |
make DESTDIR="${D}" install || die "make install failed" |
186 |
rm -fr "${D}/usr/share/doc/transcode" |
187 |
|
188 |
dodoc AUTHORS ChangeLog README TODO STYLE |
189 |
dodoc docs/* |
190 |
dohtml docs/html/* |
191 |
} |