Annotation of /trunk/extras/x264-encoder/x264-encoder-20171023_2245-r1.smage2
Parent Directory | Revision Log
Revision 30094 -
(hide annotations)
(download)
Thu Oct 26 09:06:24 2017 UTC (6 years, 11 months ago) by niro
File size: 1034 byte(s)
Thu Oct 26 09:06:24 2017 UTC (6 years, 11 months ago) by niro
File size: 1034 byte(s)
auto added: ver bump to 20171023_2245-r1
1 | niro | 30094 | # $Id$ |
2 | |||
3 | PNAME="x264-encoder" | ||
4 | PVER="20171023_2245" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="media-video" | ||
8 | |||
9 | DESCRIPTION="x264 is a free AVC/H.264 video encoder." | ||
10 | HOMEPAGE="http://developers.videolan.org/x264.html" | ||
11 | |||
12 | DEPEND="== media-libs/x264-${PVER} | ||
13 | >= dev-libs/glib2-2.54 | ||
14 | >= x11-libs/gtk2+-2.24" | ||
15 | |||
16 | # gpac is only needed to build the mp4-output module | ||
17 | SDEPEND=">= dev-lang/nasm-2.13 | ||
18 | >= media-video/gpac-0.7.1 | ||
19 | >= dev-util/pkgconfig-0.25" | ||
20 | |||
21 | SRCFILE="x264-snapshot-${PVER/_/-}.tar.bz2" | ||
22 | SRCDIR="${BUILDDIR}/x264-snapshot-${PVER/_/-}" | ||
23 | |||
24 | sminclude mbuild | ||
25 | msetfeature "!check" | ||
26 | |||
27 | SRC_URI=( | ||
28 | ftp://ftp.videolan.org/pub/videolan/x264/snapshots/${SRCFILE} | ||
29 | mirror://x264/${SRCFILE} | ||
30 | ) | ||
31 | |||
32 | # note: we build a seperate lib and util package to prevent depwalker loops | ||
33 | # when resolving packages: | ||
34 | # gpac needs ffmpeg, ffmpeg needs x264, but x264 needs gpac to compile | ||
35 | |||
36 | src_compile() | ||
37 | { | ||
38 | cd ${SRCDIR} | ||
39 | mconfigure \ | ||
40 | --enable-pic \ | ||
41 | --disable-shared \ | ||
42 | --disable-static \ | ||
43 | --enable-mp4-output \ | ||
44 | --enable-gtk \ | ||
45 | --enable-cli \ | ||
46 | --system-libx264 \ | ||
47 | || die | ||
48 | |||
49 | mmake || die | ||
50 | } |