1 |
tester 08/01/12 21:03:53 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mpeg4ip-1.5.0.1-r4.ebuild |
5 |
Log: |
6 |
Add patch to make it compile with ffmpeg, bug #188183 |
7 |
(Portage version: 2.1.3.19) |
8 |
|
9 |
Revision Changes Path |
10 |
1.56 media-video/mpeg4ip/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/mpeg4ip/ChangeLog?rev=1.56&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/mpeg4ip/ChangeLog?rev=1.56&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/mpeg4ip/ChangeLog?r1=1.55&r2=1.56 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-video/mpeg4ip/ChangeLog,v |
19 |
retrieving revision 1.55 |
20 |
retrieving revision 1.56 |
21 |
diff -u -r1.55 -r1.56 |
22 |
--- ChangeLog 11 Jan 2008 00:15:31 -0000 1.55 |
23 |
+++ ChangeLog 12 Jan 2008 21:03:53 -0000 1.56 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for media-video/mpeg4ip |
26 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg4ip/ChangeLog,v 1.55 2008/01/11 00:15:31 beandog Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg4ip/ChangeLog,v 1.56 2008/01/12 21:03:53 tester Exp $ |
29 |
+ |
30 |
+*mpeg4ip-1.5.0.1-r4 (12 Jan 2008) |
31 |
+ |
32 |
+ 12 Jan 2008; Olivier CrĂȘte <tester@g.o> |
33 |
+ +files/mpeg4ip-1.5.0.1-avcodec_extern_c.patch, +mpeg4ip-1.5.0.1-r4.ebuild: |
34 |
+ Add patch to make it compile with ffmpeg, bug #188183 |
35 |
|
36 |
11 Jan 2008; Steve Dibb <beandog@g.o> mpeg4ip-1.5.0.1-r3.ebuild: |
37 |
amd64 stable |
38 |
|
39 |
|
40 |
|
41 |
1.1 media-video/mpeg4ip/mpeg4ip-1.5.0.1-r4.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/mpeg4ip/mpeg4ip-1.5.0.1-r4.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/mpeg4ip/mpeg4ip-1.5.0.1-r4.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: mpeg4ip-1.5.0.1-r4.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg4ip/mpeg4ip-1.5.0.1-r4.ebuild,v 1.1 2008/01/12 21:03:53 tester Exp $ |
51 |
|
52 |
WANT_AUTOMAKE="1.9" |
53 |
|
54 |
inherit eutils multilib autotools |
55 |
|
56 |
DESCRIPTION="MPEG 4 implementation library" |
57 |
HOMEPAGE="http://www.mpeg4ip.net/" |
58 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
59 |
LICENSE="MPL-1.1 LGPL-2 GPL-2 LGPL-2.1 BSD UCL MPEG4" |
60 |
SLOT="0" |
61 |
KEYWORDS="~amd64 ~ppc ~x86" |
62 |
IUSE="ipv6 mmx v4l2 xvid nas alsa esd arts ffmpeg a52 mpeg2 lame aac id3 player mp4live x264" |
63 |
|
64 |
RDEPEND=" media-libs/libsdl |
65 |
player? ( |
66 |
>=x11-libs/gtk+-2 |
67 |
ffmpeg? ( >=media-video/ffmpeg-0.4.7 ) |
68 |
mpeg2? ( media-libs/libmpeg2 ) |
69 |
id3? ( media-libs/libid3tag ) |
70 |
a52? ( media-libs/a52dec ) |
71 |
) |
72 |
xvid? ( >=media-libs/xvid-0.9.8 ) |
73 |
mp4live? ( |
74 |
>=x11-libs/gtk+-2 |
75 |
lame? ( >=media-sound/lame-3.92 ) |
76 |
aac? ( >=media-libs/faac-1.24-r1 ) |
77 |
ffmpeg? ( >=media-video/ffmpeg-0.4.7 ) |
78 |
x264? ( media-libs/x264-svn ) |
79 |
) |
80 |
nas? ( media-libs/nas x11-libs/libXt ) |
81 |
alsa? ( media-libs/alsa-lib ) |
82 |
arts? ( kde-base/arts ) |
83 |
esd? ( media-sound/esound ) |
84 |
=media-libs/libmp4v2-1.5.0.1 |
85 |
!<media-libs/faad2-2.0-r9 " |
86 |
|
87 |
DEPEND="${RDEPEND} |
88 |
player? ( mmx? ( >=dev-lang/nasm-0.98.19 ) )" |
89 |
|
90 |
pkg_setup() { |
91 |
if ! built_with_use media-libs/libsdl X; |
92 |
then |
93 |
eerror "media-libs/libsdl does not has X support" |
94 |
eerror "You need to rebuild media-libs/libsdl with USE=X" |
95 |
die |
96 |
fi |
97 |
} |
98 |
|
99 |
src_unpack() { |
100 |
unpack ${A} |
101 |
|
102 |
cd "${S}" |
103 |
epatch "${FILESDIR}/mpeg4ip-1.4.1-disable-faac-test.patch" |
104 |
epatch "${FILESDIR}/${P}-x264.patch" |
105 |
epatch "${FILESDIR}/mpeg4ip-1.5.0.1-newffmpeg.patch" |
106 |
epatch "${FILESDIR}/mpeg4ip-1.5.0.1-lX11.patch" |
107 |
epatch "${FILESDIR}/mpeg4ip-1.5.0.1-as-needed.patch" |
108 |
epatch "${FILESDIR}/${P}-gcc42.patch" |
109 |
epatch "${FILESDIR}/${P}-nasm-r.patch" |
110 |
epatch "${FILESDIR}/mpeg4ip-1.5.0.1-avcodec_extern_c.patch" |
111 |
|
112 |
eautoreconf |
113 |
} |
114 |
|
115 |
src_compile() { |
116 |
local myconf |
117 |
myconf=" --datadir=/usr/share/mpeg4ip |
118 |
$(use_enable ipv6) |
119 |
$(use_enable ppc) |
120 |
$(use_enable player) |
121 |
$(use_enable mp4live) |
122 |
$(use_enable xvid) |
123 |
$(use_enable nas) |
124 |
$(use_enable esd) |
125 |
$(use_enable alsa) |
126 |
$(use_enable arts) |
127 |
--disable-srtp" # need ot add libsrtp to portage |
128 |
|
129 |
# Those are possible for both player and mp4live |
130 |
if use player || use mp4live ; then |
131 |
myconf="${myconf} --enable-gtk-glib |
132 |
$(use_enable ffmpeg)" |
133 |
fi |
134 |
|
135 |
# Those are only relevant for the player |
136 |
use player && myconf="${myconf} |
137 |
$(use_enable mmx) |
138 |
$(use_enable a52 a52dec) |
139 |
$(use_enable mpeg2 mpeg2dec) |
140 |
$(use_enable id3 id3tags)" |
141 |
use player || myconf="${myconf} |
142 |
--disable-a52 |
143 |
--disable-mmx |
144 |
--disable-mpeg2dec |
145 |
--disable-id3tags" |
146 |
|
147 |
# those can only be used for mp4live |
148 |
use mp4live && myconf="${myconf} |
149 |
$(use_enable v4l2) |
150 |
$(use_enable lame mp3lame) |
151 |
$(use_enable aac faac) |
152 |
$(use_enable x264)" |
153 |
# $(use_enable alsa mp4live-alsa) |
154 |
use mp4live || myconf="${myconf} |
155 |
--disable-v4l2 |
156 |
--disable-mp3lame |
157 |
--disable-faac |
158 |
--disable-mp4live-alsa |
159 |
--disable-x264" |
160 |
|
161 |
./bootstrap --prefix=/usr \ |
162 |
--host=${CHOST} \ |
163 |
--mandir=/usr/share/man \ |
164 |
--infodir=/usr/share/info \ |
165 |
--datadir=/usr/share \ |
166 |
--sysconfdir=/etc \ |
167 |
--libdir=/usr/$(get_libdir) \ |
168 |
--localstatedir=/var/lib \ |
169 |
--disable-warns-as-err \ |
170 |
--enable-server \ |
171 |
${EXTRA_ECONF} \ |
172 |
${myconf} || die "configure failed" |
173 |
|
174 |
sed -i -e 's:-Werror::' common/video/iso-mpeg4/src/Makefile || die "sed failed" |
175 |
|
176 |
emake || die "make failed" |
177 |
} |
178 |
|
179 |
src_install () { |
180 |
make install DESTDIR="${D}" || die "make install failed" |
181 |
|
182 |
rm -f "${D}"/usr/include/mp4.h |
183 |
rm -f "${D}"/usr/$(get_libdir)/libmp4v2* |
184 |
|
185 |
dodoc doc/MPEG4IP_Guide.pdf doc/*txt AUTHORS TODO |
186 |
|
187 |
dohtml doc/*.html FEATURES.html || die |
188 |
|
189 |
docinto ietf |
190 |
dodoc doc/ietf/*.txt || die |
191 |
|
192 |
docinto mcast |
193 |
dodoc doc/mcast/mcast.txt doc/mcast/mcast_example doc/mcast/playlist_example || die |
194 |
|
195 |
} |
196 |
|
197 |
|
198 |
|
199 |
-- |
200 |
gentoo-commits@l.g.o mailing list |