Annotation of /trunk/extras/libfame/libfame-0.9.1-r11.smage2
Parent Directory | Revision Log
Revision 10731 -
(hide annotations)
(download)
Wed Feb 1 23:42:29 2012 UTC (12 years, 7 months ago) by niro
File size: 910 byte(s)
Wed Feb 1 23:42:29 2012 UTC (12 years, 7 months ago) by niro
File size: 910 byte(s)
-moved to 'extras'
1 | niro | 8475 | # $Id$ |
2 | |||
3 | PNAME="libfame" | ||
4 | PVER="0.9.1" | ||
5 | PBUILD="r11" | ||
6 | |||
7 | niro | 10577 | PCAT="media-libs" |
8 | niro | 8475 | |
9 | DESCRIPTION="libfame is a MPEG-1 and MPEG-4 video encoding library." | ||
10 | HOMEPAGE="http://fame.sourceforge.net/" | ||
11 | |||
12 | DEPEND=">= virtual/glibc" | ||
13 | |||
14 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
16 | |||
17 | sminclude mbuild gnuconfig mtools | ||
18 | |||
19 | SRC_URI=( | ||
20 | sourceforge://fame/${SRCFILE} | ||
21 | mirror://${PNAME}/${SRCFILE} | ||
22 | mirror://${PNAME}/${PNAME}-${PVER}-gcc34.patch | ||
23 | mirror://${PNAME}/${PNAME}-${PVER}-m4-underquoted-2.patch | ||
24 | mirror://${PNAME}/${PNAME}-${PVER}-pic.patch | ||
25 | ) | ||
26 | |||
27 | UP2DATE="updatecmd_sourceforge fame ${PNAME}" | ||
28 | |||
29 | src_prepare() | ||
30 | { | ||
31 | munpack ${SRCFILE} || die | ||
32 | cd ${SRCDIR} | ||
33 | |||
34 | # fixes gcc34 compilation | ||
35 | mpatch ${PNAME}-${PVER}-gcc34.patch || die | ||
36 | |||
37 | # fixes m4 warnings | ||
38 | mpatch ${PNAME}-${PVER}-m4-underquoted-2.patch || die | ||
39 | |||
40 | # fixes pic issues | ||
41 | mpatch ${PNAME}-${PVER}-pic.patch || die | ||
42 | |||
43 | # support more targets | ||
44 | gnuconfig-update || die | ||
45 | } |