summaryrefslogtreecommitdiff
path: root/mplayer/mplayer_1.0pre3try2.oe
diff options
context:
space:
mode:
authorTim Ansell <mithro@mithis.com>2004-09-26 17:30:55 +0000
committerTim Ansell <mithro@mithis.com>2004-09-26 17:30:55 +0000
commit196233be5d4b91e5388ef8c62d2ee4aeb0928a6b (patch)
tree77bb441838300f745f60950e92a5d9eb3f614dc4 /mplayer/mplayer_1.0pre3try2.oe
parent64b37920e00ce008522fe37ca7ae0d0edf27c052 (diff)
libpostproc in the correct place now.
BKrev: 4156fccfVFlZLq2v2ifzbWI-wyvb0g
Diffstat (limited to 'mplayer/mplayer_1.0pre3try2.oe')
-rw-r--r--mplayer/mplayer_1.0pre3try2.oe12
1 files changed, 9 insertions, 3 deletions
diff --git a/mplayer/mplayer_1.0pre3try2.oe b/mplayer/mplayer_1.0pre3try2.oe
index f53e811413..c0242f42c0 100644
--- a/mplayer/mplayer_1.0pre3try2.oe
+++ b/mplayer/mplayer_1.0pre3try2.oe
@@ -14,7 +14,7 @@ PACKAGES="${PN} postproc postproc-dev"
FILES_${PN} = "/usr/bin/mplayer"
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"
+FILES_postproc-dev = " /usr/include/postproc/postprocess.h /usr/lib/libpostproc.so /usr/lib/libpostproc.a"
inherit autotools
@@ -62,7 +62,8 @@ 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
+ mkdir ${D}/usr/include/postproc
+ cp ${S}/libavcodec/libpostproc/postprocess.h ${D}/usr/include/postproc/postprocess.h
cd ${D}/usr/lib
ln -s libpostproc.so.0.0.0 libpostproc.so.0
ln -s libpostproc.so.0 libpostproc.so
@@ -70,6 +71,11 @@ do_install_append () {
do_stage () {
oe_libinstall -a -so -C libavcodec/libpostproc libpostproc ${STAGING_LIBDIR}
- install -m 0644 ${S}/libavcodec/libpostproc/postprocess.h ${STAGING_INCDIR}/postprocess.h
+ cd ${STAGING_LIBDIR}
+ ln -s libpostproc.so libpostproc.so.0.0.0
+ ln -s libpostproc.so libpostproc.so.0
+
+ install -d ${STAGING_INCDIR}/postproc
+ install -m 0644 ${S}/libavcodec/libpostproc/postprocess.h ${STAGING_INCDIR}/postproc/postprocess.h
}