33 |
SRC_URI=( |
SRC_URI=( |
34 |
ftp://ftp.videolan.org/pub/videolan/${PNAME}/snapshots/${SRCFILE} |
ftp://ftp.videolan.org/pub/videolan/${PNAME}/snapshots/${SRCFILE} |
35 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
|
mirror://${PNAME}/${PNAME}-20100905_2245-only-libs.patch |
|
36 |
) |
) |
37 |
|
|
38 |
# do not autoupdate this package as it has daily snapshots |
# do not autoupdate this package as it has daily snapshots |
42 |
# when resolving packages: |
# when resolving packages: |
43 |
# gpac needs ffmpeg, ffmpeg needs x264, but x264 needs gpac to compile |
# gpac needs ffmpeg, ffmpeg needs x264, but x264 needs gpac to compile |
44 |
|
|
|
src_prepare() |
|
|
{ |
|
|
munpack ${SRCFILE} || die |
|
|
cd ${SRCDIR} |
|
|
|
|
|
# fix the makefile to only build and install the lib |
|
|
mpatch ${PNAME}-20100905_2245-only-libs.patch || die |
|
|
} |
|
|
|
|
45 |
src_compile() |
src_compile() |
46 |
{ |
{ |
47 |
cd ${SRCDIR} |
cd ${SRCDIR} |
50 |
--enable-shared \ |
--enable-shared \ |
51 |
--enable-pthread \ |
--enable-pthread \ |
52 |
--disable-mp4-output \ |
--disable-mp4-output \ |
53 |
|
--disable-cli \ |
54 |
|| die |
|| die |
55 |
|
|
56 |
mmake || die |
mmake || die |
57 |
} |
} |
58 |
|
|