Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/transcode: ChangeLog transcode-1.1.0_rc1.ebuild
Date: Thu, 25 Sep 2008 22:29:08
Message-Id: E1KizKb-0003it-Ms@stork.gentoo.org
1 aballier 08/09/25 22:29:05
2
3 Modified: ChangeLog
4 Added: transcode-1.1.0_rc1.ebuild
5 Log:
6 bump the 1.1 branch too, drop flag messing and hope to get feedback so that we can fix the real bugs instead; readd postproc and imagemagick switches, they should be fine now
7 (Portage version: 2.2_rc9/cvs/Linux 2.6.26.5 x86_64)
8
9 Revision Changes Path
10 1.231 media-video/transcode/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/transcode/ChangeLog?rev=1.231&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/transcode/ChangeLog?rev=1.231&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/transcode/ChangeLog?r1=1.230&r2=1.231
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v
19 retrieving revision 1.230
20 retrieving revision 1.231
21 diff -u -r1.230 -r1.231
22 --- ChangeLog 25 Sep 2008 22:04:37 -0000 1.230
23 +++ ChangeLog 25 Sep 2008 22:29:05 -0000 1.231
24 @@ -1,6 +1,14 @@
25 # ChangeLog for media-video/transcode
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v 1.230 2008/09/25 22:04:37 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v 1.231 2008/09/25 22:29:05 aballier Exp $
29 +
30 +*transcode-1.1.0_rc1 (25 Sep 2008)
31 +
32 + 25 Sep 2008; Alexis Ballier <aballier@g.o>
33 + +transcode-1.1.0_rc1.ebuild:
34 + bump the 1.1 branch too, drop flag messing and hope to get feedback so
35 + that we can fix the real bugs instead; readd postproc and imagemagick
36 + switches, they should be fine now
37
38 *transcode-1.0.7_rc1 (25 Sep 2008)
39
40
41
42
43 1.1 media-video/transcode/transcode-1.1.0_rc1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/transcode/transcode-1.1.0_rc1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/transcode/transcode-1.1.0_rc1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: transcode-1.1.0_rc1.ebuild
49 ===================================================================
50 # Copyright 1999-2008 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.0_rc1.ebuild,v 1.1 2008/09/25 22:29:05 aballier Exp $
53
54 WANT_AUTOCONF="2.5"
55 WANT_AUTOMAKE="1.10"
56
57 inherit libtool flag-o-matic eutils multilib autotools
58
59 MY_P=${P/_}
60 S=${WORKDIR}/${MY_P}
61 DESCRIPTION="video stream processing tool"
62 HOMEPAGE="http://www.transcoding.org/cgi-bin/transcode"
63 SRC_URI="http://fromani.exit1.org/${MY_P}.tar.bz2"
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
67 IUSE="X 3dnow a52 aac alsa altivec dv dvdread iconv imagemagick jpeg lzo mjpeg mp3 mmx nuv ogg oss postproc quicktime sdl sse sse2 theora truetype v4l2 vorbis x264 xvid xml"
68
69 RDEPEND="a52? ( media-libs/a52dec )
70 alsa? ( media-libs/alsa-lib )
71 dv? ( media-libs/libdv )
72 dvdread? ( media-libs/libdvdread )
73 xvid? ( media-libs/xvid )
74 mjpeg? ( media-video/mjpegtools )
75 lzo? ( >=dev-libs/lzo-2 )
76 imagemagick? ( media-gfx/imagemagick )
77 mp3? ( media-sound/lame )
78 sdl? ( media-libs/libsdl )
79 quicktime? ( >=media-libs/libquicktime-1.0.0 )
80 vorbis? ( media-libs/libvorbis )
81 ogg? ( media-libs/libogg )
82 theora? ( media-libs/libtheora )
83 jpeg? ( media-libs/jpeg )
84 truetype? ( >=media-libs/freetype-2 )
85 >=media-video/ffmpeg-0.4.9_p20080326
86 || ( sys-libs/glibc dev-libs/libiconv )
87 media-libs/libmpeg2
88 x264? ( media-libs/x264 )
89 xml? ( dev-libs/libxml2 )
90 X? ( x11-libs/libXpm
91 x11-libs/libXaw
92 x11-libs/libXv )"
93
94 DEPEND="${RDEPEND}
95 dev-util/pkgconfig
96 v4l2? ( >=sys-kernel/linux-headers-2.6.11 )"
97 # Make sure the assembler USE flags are unmasked on amd64
98 # Remove this once default-linux/amd64/2006.1 is deprecated
99 DEPEND="${DEPEND} amd64? ( >=sys-apps/portage-2.1.2 )"
100
101 pkg_setup() {
102 if use X && ! built_with_use media-libs/libsdl X; then
103 eerror "media-libs/libsdl must be built with the X use flag."
104 die "fix use flags"
105 fi
106 }
107
108 src_unpack() {
109 unpack ${A}
110 cd "${S}"
111
112 dosed -i -e "s:\$(datadir)/doc/transcode:\$(datadir)/doc/${PF}:" \
113 "${S}"/Makefile.am "${S}"/docs/Makefile.am "${S}"/docs/html/Makefile.am \
114 "${S}"/docs/release-notes/Makefile.am
115
116 eautoreconf
117 }
118
119 src_compile() {
120 use xvid && myconf="${myconf} --with-default-xvid=xvid4"
121 # NuppelVideo is supported only on x86 platform yet
122 # TODO: mask nuv useflag for all other arches
123 use x86 && myconf="${myconf} $(use_enable nuv)"
124 myconf="${myconf} \
125 $(use_enable mmx) \
126 $(use_enable 3dnow) \
127 $(use_enable sse) \
128 $(use_enable sse2) \
129 $(use_enable altivec) \
130 $(use_enable v4l2 v4l) \
131 $(use_enable alsa) \
132 $(use_enable oss) \
133 $(use_enable truetype freetype2) \
134 $(use_enable mp3 lame) \
135 $(use_enable x264) \
136 $(use_enable xvid) \
137 $(use_enable ogg) \
138 $(use_enable vorbis) \
139 $(use_enable theora) \
140 $(use_enable dvdread libdvdread) \
141 $(use_enable dv libdv) \
142 $(use_enable quicktime libquicktime) \
143 $(use_enable imagemagick) \
144 $(use_enable postproc libpostproc) \
145 $(use_enable lzo) \
146 $(use_enable a52) \
147 $(use_enable aac faac) \
148 $(use_enable xml libxml2) \
149 $(use_enable mjpeg mjpegtools) \
150 $(use_enable sdl) \
151 $(use_enable jpeg libjpeg) \
152 $(use_enable iconv) \
153 $(use_with X x) \
154 --with-mod-path=/usr/$(get_libdir)/transcode"
155
156 econf ${myconf} || die "econf failed"
157
158 emake all || die "emake all failed"
159 }
160
161 src_install () {
162 make DESTDIR="${D}" install || die "make install failed"
163 rm -fr "${D}/usr/share/doc/transcode"
164
165 dodoc AUTHORS ChangeLog README TODO STYLE
166 dodoc docs/*
167 dohtml docs/html/*
168 }