Gentoo Archives: gentoo-commits

From: "Ian Whyman (thev00d00)" <thev00d00@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/transcode: transcode-1.1.7-r2.ebuild ChangeLog
Date: Mon, 27 May 2013 09:10:02
Message-Id: 20130527090958.CD4D82171E@flycatcher.gentoo.org
1 thev00d00 13/05/27 09:09:58
2
3 Modified: ChangeLog
4 Added: transcode-1.1.7-r2.ebuild
5 Log:
6 Add patch to make it build with newer libav/ffmpeg, thanks to Ji?� Moravec for the patch #443214
7
8 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.313 media-video/transcode/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/transcode/ChangeLog?rev=1.313&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/transcode/ChangeLog?rev=1.313&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/transcode/ChangeLog?r1=1.312&r2=1.313
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v
20 retrieving revision 1.312
21 retrieving revision 1.313
22 diff -u -r1.312 -r1.313
23 --- ChangeLog 10 Mar 2013 10:12:19 -0000 1.312
24 +++ ChangeLog 27 May 2013 09:09:58 -0000 1.313
25 @@ -1,6 +1,13 @@
26 # ChangeLog for media-video/transcode
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v 1.312 2013/03/10 10:12:19 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v 1.313 2013/05/27 09:09:58 thev00d00 Exp $
30 +
31 +*transcode-1.1.7-r2 (27 May 2013)
32 +
33 + 27 May 2013; Ian Whyman <thev00d00@g.o>
34 + +files/transcode-1.1.7-libav-9.patch, +transcode-1.1.7-r2.ebuild:
35 + Add patch to make it build with newer libav/ffmpeg, thanks to Ji?� Moravec for
36 + the patch #443214
37
38 10 Mar 2013; Alexis Ballier <aballier@g.o> -transcode-1.1.7.ebuild:
39 remove old
40
41
42
43 1.1 media-video/transcode/transcode-1.1.7-r2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/transcode/transcode-1.1.7-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/transcode/transcode-1.1.7-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: transcode-1.1.7-r2.ebuild
49 ===================================================================
50 # Copyright 1999-2013 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.7-r2.ebuild,v 1.1 2013/05/27 09:09:58 thev00d00 Exp $
53
54 EAPI=5
55 inherit eutils libtool multilib
56
57 DESCRIPTION="A suite of utilities for transcoding video and audio codecs in different containers"
58 HOMEPAGE="http://tcforge.berlios.de/"
59 SRC_URI="mirror://bitbucket/france/${PN}-tcforge/downloads/${P}.tar.bz2"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
64 IUSE="3dnow a52 aac alsa altivec dv dvd +iconv imagemagick jpeg lzo mjpeg mmx mp3 mpeg nuv ogg oss pic postproc quicktime sdl sse sse2 theora truetype v4l vorbis X x264 xml xvid"
65
66 RDEPEND="
67 >=virtual/ffmpeg-0.10
68 a52? ( media-libs/a52dec )
69 aac? ( media-libs/faac )
70 alsa? ( media-libs/alsa-lib )
71 dv? ( media-libs/libdv )
72 dvd? ( media-libs/libdvdread )
73 iconv? ( virtual/libiconv )
74 imagemagick? ( media-gfx/imagemagick )
75 jpeg? ( virtual/jpeg )
76 lzo? ( >=dev-libs/lzo-2 )
77 mjpeg? ( media-video/mjpegtools )
78 mp3? ( media-sound/lame )
79 mpeg? ( media-libs/libmpeg2 )
80 ogg? ( media-libs/libogg )
81 postproc? ( >=virtual/ffmpeg-0.10 )
82 quicktime? ( >=media-libs/libquicktime-1 )
83 sdl? ( >=media-libs/libsdl-1.2.5[X?] )
84 theora? ( media-libs/libtheora )
85 truetype? ( >=media-libs/freetype-2 )
86 v4l? ( media-libs/libv4l )
87 vorbis? ( media-libs/libvorbis )
88 X? ( x11-libs/libXpm x11-libs/libXaw x11-libs/libXv )
89 x264? ( media-libs/x264 )
90 xml? ( dev-libs/libxml2 )
91 xvid? ( media-libs/xvid )
92 "
93
94 DEPEND="
95 ${RDEPEND}
96 virtual/pkgconfig
97 v4l? ( >=sys-kernel/linux-headers-2.6.11 )
98 "
99
100 REQUIRED_USE="
101 sse? ( mmx )
102 sse2? ( mmx sse )
103 3dnow? ( mmx )
104 nuv? ( lzo )
105 "
106
107 src_prepare() {
108 epatch \
109 "${FILESDIR}"/${P}-ffmpeg.patch \
110 "${FILESDIR}"/${P}-ffmpeg-0.10.patch \
111 "${FILESDIR}"/${P}-ffmpeg-0.11.patch \
112 "${FILESDIR}"/${P}-preset-free.patch \
113 "${FILESDIR}"/${P}-libav-9.patch
114
115 elibtoolize
116 }
117
118 src_configure() {
119 local myconf
120 use x86 && myconf="$(use_enable !pic x86-textrels)" #271476
121
122 econf \
123 $(use_enable mmx) \
124 $(use_enable 3dnow) \
125 $(use_enable sse) \
126 $(use_enable sse2) \
127 $(use_enable altivec) \
128 $(use_enable v4l libv4l2) \
129 $(use_enable v4l libv4lconvert) \
130 $(use_enable mpeg libmpeg2) \
131 $(use_enable mpeg libmpeg2convert) \
132 --enable-experimental \
133 --enable-deprecated \
134 $(use_enable v4l) \
135 $(use_enable oss) \
136 $(use_enable alsa) \
137 $(use_enable postproc libpostproc) \
138 $(use_enable truetype freetype2) \
139 $(use_enable mp3 lame) \
140 $(use_enable xvid) \
141 $(use_enable x264) \
142 $(use_enable ogg) \
143 $(use_enable vorbis) \
144 $(use_enable theora) \
145 $(use_enable dvd libdvdread) \
146 $(use_enable dv libdv) \
147 $(use_enable quicktime libquicktime) \
148 $(use_enable lzo) \
149 $(use_enable a52) \
150 $(use_enable aac faac) \
151 $(use_enable xml libxml2) \
152 $(use_enable mjpeg mjpegtools) \
153 $(use_enable sdl) \
154 $(use_enable imagemagick) \
155 $(use_enable jpeg libjpeg) \
156 $(use_enable iconv) \
157 $(use_enable nuv) \
158 $(use_with X x) \
159 --with-mod-path=/usr/$(get_libdir)/transcode \
160 ${myconf}
161 }
162
163 src_install() {
164 emake DESTDIR="${D}" docsdir=/usr/share/doc/${PF} install
165 dodoc AUTHORS ChangeLog README STYLE TODO
166 find "${ED}"usr -name '*.la' -exec rm -f {} +
167 }