diff options
author | Tim Ansell <mithro@mithis.com> | 2004-09-26 16:36:29 +0000 |
---|---|---|
committer | Tim Ansell <mithro@mithis.com> | 2004-09-26 16:36:29 +0000 |
commit | b1e94a2c03e9c421ab89eb6eb08392ae3be225a3 (patch) | |
tree | b9a6128a12f4ccd6ec2342931ead2b26fe84a243 /mplayer/mplayer_1.0pre3try2.oe | |
parent | bf08c7ffa709f999fef6983d3e36556c0f3c18b8 (diff) |
mplayer will now produce a libpostproc which is needed by ffmpeg and vlc
BKrev: 4156f00dTreLFshg-i3a6bDbybWDMg
Diffstat (limited to 'mplayer/mplayer_1.0pre3try2.oe')
-rw-r--r-- | mplayer/mplayer_1.0pre3try2.oe | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/mplayer/mplayer_1.0pre3try2.oe b/mplayer/mplayer_1.0pre3try2.oe index 1873bbd8ab..f53e811413 100644 --- a/mplayer/mplayer_1.0pre3try2.oe +++ b/mplayer/mplayer_1.0pre3try2.oe @@ -11,16 +11,17 @@ S = "${WORKDIR}/MPlayer-${PV}" PACKAGES="${PN} postproc postproc-dev" -FILES_${PN} = " \ - /usr/local/bin/mplayer " +FILES_${PN} = "/usr/bin/mplayer" -FILES_postproc = "" +FILES_postproc = " /usr/lib/libpostproc.so.0.0.0 /usr/lib/libpostproc.so.0" +FILES_postproc-dev = " /usr/include/postprocess.h /usr/lib/libpostproc.so /usr/lib/libpostproc.a" inherit autotools EXTRA_OECONF = " \ --prefix=/usr \ --target=${PACKAGE_ARCH} \ + --enable-shared-pp \ \ --disable-win32 \ --disable-macosx \ @@ -57,3 +58,18 @@ do_configure() { ./configure ${EXTRA_OECONF} } +do_install_append () { + mkdir ${D}/usr/lib + cp ${S}/libavcodec/libpostproc/libpostproc.so ${D}/usr/lib/libpostproc.so.0.0.0 + mkdir ${D}/usr/include + cp ${S}/libavcodec/libpostproc/postprocess.h ${D}/usr/include/postprocess.h + cd ${D}/usr/lib + ln -s libpostproc.so.0.0.0 libpostproc.so.0 + ln -s libpostproc.so.0 libpostproc.so +} + +do_stage () { + oe_libinstall -a -so -C libavcodec/libpostproc libpostproc ${STAGING_LIBDIR} + install -m 0644 ${S}/libavcodec/libpostproc/postprocess.h ${STAGING_INCDIR}/postprocess.h +} + |