1 |
beandog 08/01/09 17:52:16 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mpeg4ip-1.5.0.1-r3.ebuild |
5 |
Log: |
6 |
Fix nasm detection, bug 204505 |
7 |
(Portage version: 2.1.4_rc14) |
8 |
|
9 |
Revision Changes Path |
10 |
1.54 media-video/mpeg4ip/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/mpeg4ip/ChangeLog?rev=1.54&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/mpeg4ip/ChangeLog?rev=1.54&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/mpeg4ip/ChangeLog?r1=1.53&r2=1.54 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-video/mpeg4ip/ChangeLog,v |
19 |
retrieving revision 1.53 |
20 |
retrieving revision 1.54 |
21 |
diff -u -r1.53 -r1.54 |
22 |
--- ChangeLog 27 Nov 2007 15:10:56 -0000 1.53 |
23 |
+++ ChangeLog 9 Jan 2008 17:52:15 -0000 1.54 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for media-video/mpeg4ip |
26 |
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg4ip/ChangeLog,v 1.53 2007/11/27 15:10:56 zzam Exp $ |
28 |
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg4ip/ChangeLog,v 1.54 2008/01/09 17:52:15 beandog Exp $ |
30 |
+ |
31 |
+*mpeg4ip-1.5.0.1-r3 (09 Jan 2008) |
32 |
+ |
33 |
+ 09 Jan 2008; Steve Dibb <beandog@g.o> |
34 |
+ +files/mpeg4ip-1.5.0.1-nasm-r.patch, +mpeg4ip-1.5.0.1-r3.ebuild: |
35 |
+ Fix nasm detection, bug 204505 |
36 |
|
37 |
27 Nov 2007; Matthias Schwarzott <zzam@g.o> |
38 |
mpeg4ip-1.5.0.1-r1.ebuild, mpeg4ip-1.5.0.1-r2.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 media-video/mpeg4ip/mpeg4ip-1.5.0.1-r3.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/mpeg4ip/mpeg4ip-1.5.0.1-r3.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/mpeg4ip/mpeg4ip-1.5.0.1-r3.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: mpeg4ip-1.5.0.1-r3.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg4ip/mpeg4ip-1.5.0.1-r3.ebuild,v 1.1 2008/01/09 17:52:15 beandog Exp $ |
52 |
|
53 |
WANT_AUTOMAKE="1.9" |
54 |
|
55 |
inherit eutils multilib autotools |
56 |
|
57 |
DESCRIPTION="MPEG 4 implementation library" |
58 |
HOMEPAGE="http://www.mpeg4ip.net/" |
59 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
60 |
LICENSE="MPL-1.1 LGPL-2 GPL-2 LGPL-2.1 BSD UCL MPEG4" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~ppc ~x86" |
63 |
IUSE="ipv6 mmx v4l2 xvid nas alsa esd arts ffmpeg a52 mpeg2 lame aac id3 player mp4live x264" |
64 |
|
65 |
RDEPEND=" media-libs/libsdl |
66 |
player? ( |
67 |
>=x11-libs/gtk+-2 |
68 |
ffmpeg? ( >=media-video/ffmpeg-0.4.7 ) |
69 |
mpeg2? ( media-libs/libmpeg2 ) |
70 |
id3? ( media-libs/libid3tag ) |
71 |
a52? ( media-libs/a52dec ) |
72 |
) |
73 |
xvid? ( >=media-libs/xvid-0.9.8 ) |
74 |
mp4live? ( |
75 |
>=x11-libs/gtk+-2 |
76 |
lame? ( >=media-sound/lame-3.92 ) |
77 |
aac? ( >=media-libs/faac-1.24-r1 ) |
78 |
ffmpeg? ( >=media-video/ffmpeg-0.4.7 ) |
79 |
x264? ( media-libs/x264-svn ) |
80 |
) |
81 |
nas? ( media-libs/nas x11-libs/libXt ) |
82 |
alsa? ( media-libs/alsa-lib ) |
83 |
arts? ( kde-base/arts ) |
84 |
esd? ( media-sound/esound ) |
85 |
=media-libs/libmp4v2-1.5.0.1 |
86 |
!<media-libs/faad2-2.0-r9 " |
87 |
|
88 |
DEPEND="${RDEPEND} |
89 |
player? ( mmx? ( >=dev-lang/nasm-0.98.19 ) )" |
90 |
|
91 |
pkg_setup() { |
92 |
if ! built_with_use media-libs/libsdl X; |
93 |
then |
94 |
eerror "media-libs/libsdl does not has X support" |
95 |
eerror "You need to rebuild media-libs/libsdl with USE=X" |
96 |
die |
97 |
fi |
98 |
} |
99 |
|
100 |
src_unpack() { |
101 |
unpack ${A} |
102 |
|
103 |
cd "${S}" |
104 |
epatch "${FILESDIR}/mpeg4ip-1.4.1-disable-faac-test.patch" |
105 |
epatch "${FILESDIR}/${P}-x264.patch" |
106 |
epatch "${FILESDIR}/mpeg4ip-1.5.0.1-newffmpeg.patch" |
107 |
epatch "${FILESDIR}/mpeg4ip-1.5.0.1-lX11.patch" |
108 |
epatch "${FILESDIR}/mpeg4ip-1.5.0.1-as-needed.patch" |
109 |
epatch "${FILESDIR}/${P}-gcc42.patch" |
110 |
epatch "${FILESDIR}/${P}-nasm-r.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 |