Magellan Linux

Annotation of /branches/R11-stable/extras/x264/x264-20140918_2245-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22300 - (hide annotations) (download)
Fri Sep 19 11:32:46 2014 UTC (9 years, 7 months ago) by niro
Original Path: trunk/extras/x264/x264-20140918_2245-r2.smage2
File size: 1135 byte(s)
-fixed release typo
1 niro 22299 # $Id$
2    
3     PNAME="x264"
4     PVER="20140918_2245"
5 niro 22300 PBUILD="r2"
6 niro 22299
7     PCAT="media-libs"
8    
9     DESCRIPTION="x264 is a free AVC/H.264 video encoder library."
10     HOMEPAGE="http://developers.videolan.org/x264.html"
11    
12     DEPEND=">= virtual/glibc"
13     SDEPEND=">= dev-lang/yasm-1.3"
14    
15     SRCFILE="${PNAME}-snapshot-${PVER/_/-}.tar.bz2"
16     SRCDIR="${BUILDDIR}/${PNAME}-snapshot-${PVER/_/-}"
17    
18     EMUL_LINUX_32="true"
19     sminclude mbuild multilib
20     msetfeature "!check"
21    
22     SRC_URI=(
23     ftp://ftp.videolan.org/pub/videolan/${PNAME}/snapshots/${SRCFILE}
24     mirror://${PNAME}/${SRCFILE}
25     )
26    
27     # do not autoupdate this package as it has daily snapshots
28     UP2DATE="echo ${PVER}"
29    
30     # note: we build a seperate lib and util package to prevent depwalker loops
31     # when resolving packages:
32     # gpac needs ffmpeg, ffmpeg needs x264, but x264 needs gpac to compile
33    
34     src_compile()
35     {
36     mconfigure \
37     --enable-pic \
38     --enable-shared \
39     --enable-pthread \
40     --disable-mp4-output \
41     --disable-cli \
42     || die
43    
44     mmake || die
45     }
46    
47     postinstall()
48     {
49     echo
50     echo "Please note that this package only installs the"
51     echo "x264 libraries. In order to have the encoder,"
52     echo "please install 'media-video/x264-encoder'."
53     echo
54     }