summaryrefslogtreecommitdiff
path: root/packages/mplayer
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-04-21 23:30:04 +0000
committerKoen Kooi <koen@openembedded.org>2005-04-21 23:30:04 +0000
commita4cd3ea8fd40bfc57d7086fd8044ba2de57c9116 (patch)
tree5f47e6c2b3e710e66aeba7430d4711e4b22f25e4 /packages/mplayer
parent89ae17a366afff5a3d7ec7ed44dbd062b845afba (diff)
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into bitbake.utwente.nl:/home/koen/OE/openembedded 2005/04/21 12:40:05+01:00 (none)!XorA Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into cimmeria.(none):/home/dp/zaurus/openembedded 2005/04/21 12:39:01+01:00 (none)!XorA version bump and enabled x11vnc 2005/04/21 12:44:03+02:00 uni-frankfurt.de!mickeyl Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into gandalf.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2005/04/21 12:43:25+02:00 uni-frankfurt.de!mickeyl add updater.sh for akita 2005/04/21 11:03:53+01:00 (none)!XorA Added logic to generate libpostproc from mplayer, didnt realise it was neccessary at first BKrev: 4268377cbEzdPLQbJkWukSmTTu0Mug
Diffstat (limited to 'packages/mplayer')
-rw-r--r--packages/mplayer/mplayer-atty_1.0.1.bb27
1 files changed, 26 insertions, 1 deletions
diff --git a/packages/mplayer/mplayer-atty_1.0.1.bb b/packages/mplayer/mplayer-atty_1.0.1.bb
index 6d5796aa9e..baa1f89d11 100644
--- a/packages/mplayer/mplayer-atty_1.0.1.bb
+++ b/packages/mplayer/mplayer-atty_1.0.1.bb
@@ -15,7 +15,7 @@ SRC_URI = "http://www.xora.org.uk/oe/mplayer-${PV}.tar.gz \
RCONFLICTS="mplayer"
MAINTAINER="Graeme Gregory <dp@xora.org.uk>"
-PR = "r3"
+PR = "r4"
PARALLEL_MAKE = ""
@@ -26,8 +26,13 @@ PACKAGE_ARCH_spitze = "${MACHINE_ARCH}"
S = "${WORKDIR}/mplayer-${PV}"
+PACKAGES =+ "postproc postproc-dev"
+
FILES_${PN} = "${bindir}/mplayer"
+FILES_postproc = " ${libdir}/libpostproc.so.0.0.0 ${libdir}/libpostproc.so.0"
+FILES_postproc-dev = " ${includedir}/postproc/postprocess.h ${libdir}/libpostproc.so ${libdir}/libpostproc.a"
+
inherit autotools
EXTRA_OECONF = " \
@@ -71,3 +76,23 @@ do_configure() {
./configure ${EXTRA_OECONF}
}
+do_install_append () {
+ install -d ${D}${libdir} ${D}${includedir} ${D}${includedir}/postproc
+ install -m 0644 libavcodec/libpostproc/postprocess.h ${D}${includedir}/postproc/
+ oe_libinstall -so -C ${S}/libavcodec/libpostproc libpostproc ${D}${libdir}
+ cp ${S}/libavcodec/libpostproc/libpostproc.so ${D}${libdir}/libpostproc.so.0.0.0
+ cd ${D}${libdir}
+ ln -sf libpostproc.so.0.0.0 libpostproc.so.0
+ ln -sf libpostproc.so.0 libpostproc.so
+}
+
+do_stage () {
+ oe_libinstall -a -so -C libavcodec/libpostproc libpostproc ${STAGING_LIBDIR}
+ cd ${STAGING_LIBDIR}
+ ln -sf libpostproc.so libpostproc.so.0.0.0
+ ln -sf libpostproc.so libpostproc.so.0
+
+ install -d ${STAGING_INCDIR}/postproc
+ install -m 0644 ${S}/libavcodec/libpostproc/postprocess.h ${STAGING_INCDIR}/postproc/postprocess.h
+}
+