Annotation of /branches/R11-stable/extras/libmpeg2/libmpeg2-0.5.1-r2.smage2
Parent Directory | Revision Log
Revision 9557 -
(hide annotations)
(download)
Sat Dec 10 20:04:58 2011 UTC (12 years, 9 months ago) by niro
Original Path: branches/magellan-next/extras/libmpeg2/libmpeg2-0.5.1-r2.smage2
File size: 803 byte(s)
Sat Dec 10 20:04:58 2011 UTC (12 years, 9 months ago) by niro
Original Path: branches/magellan-next/extras/libmpeg2/libmpeg2-0.5.1-r2.smage2
File size: 803 byte(s)
auto added: ver bump to 0.5.1-r2
1 | niro | 9557 | # $Id$ |
2 | |||
3 | PNAME="libmpeg2" | ||
4 | PVER="0.5.1" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCATEGORIE="media-libs" | ||
8 | |||
9 | DESCRIPTION="The MPEG Library - version 2." | ||
10 | HOMEPAGE="http://libmpeg2.sourceforge.net/" | ||
11 | |||
12 | DEPEND=">= media-libs/libsdl-1.2 | ||
13 | >= x11-libs/libXv-1 | ||
14 | >= x11-libs/libICE-1 | ||
15 | >= x11-libs/libSM-1 | ||
16 | >= x11-libs/libXt-1" | ||
17 | |||
18 | SDEPEND=">= x11-proto/xextproto-7" | ||
19 | |||
20 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
21 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
22 | |||
23 | sminclude mbuild mtools | ||
24 | |||
25 | SRC_URI=( | ||
26 | http://libmpeg2.sourceforge.net/files/${SRCFILE} | ||
27 | mirror://${PNAME}/${SRCFILE} | ||
28 | ) | ||
29 | |||
30 | UP2DATE="updatecmd ${HOMEPAGE}/downloads.html | firsttarball gz" | ||
31 | |||
32 | src_compile() | ||
33 | { | ||
34 | cd ${SRCDIR} | ||
35 | |||
36 | mconfigure \ | ||
37 | --disable-dependency-tracking \ | ||
38 | --enable-shared \ | ||
39 | --enable-sdl \ | ||
40 | --with-x \ | ||
41 | || die | ||
42 | |||
43 | mmake OPT_CFLAGS="${CFLAGS}" MPEG2DEC_CFLAGS="${CFLAGS}" LIBMPEG2_CFLAGS="" || die | ||
44 | } |