summaryrefslogtreecommitdiff
path: root/libxvmc
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-09-18 17:19:25 +0000
committerPhil Blundell <philb@gnu.org>2004-09-18 17:19:25 +0000
commit0a2f8668dc66a5f4acf62c9aa04f2ae4cddda6a5 (patch)
tree0676f25fe11e9d0263d07ae3c447dfec2031cf0b /libxvmc
parenta752c3ece926d58575e610d3affea02decae860d (diff)
install libviaXvMC into staging
BKrev: 414c6e1dvwl0BwdpDGWdD0AtQwHWvA
Diffstat (limited to 'libxvmc')
-rw-r--r--libxvmc/libxvmc_20040918.oe27
1 files changed, 27 insertions, 0 deletions
diff --git a/libxvmc/libxvmc_20040918.oe b/libxvmc/libxvmc_20040918.oe
index e69de29bb2..1433e50bce 100644
--- a/libxvmc/libxvmc_20040918.oe
+++ b/libxvmc/libxvmc_20040918.oe
@@ -0,0 +1,27 @@
+SECTION = "libs"
+DEPENDS = "x11 xext libxv drm"
+DESCRIPTION = "X Video Motion Compensation extension library."
+
+SRC_URI = "cvs://anoncvs@cvs.freedesktop.org/cvs/xlibs;module=XvMC;date=20040918;method=pserver \
+ cvs://anonymous@cvs.sourceforge.net/cvsroot/unichrome;module=libxvmc;date=20040918;method=pserver"
+S = "${WORKDIR}/XvMC"
+
+CFLAGS += "-I${STAGING_INCDIR}/X11/extensions -I${STAGING_INCDIR}/xserver-xorg"
+
+inherit autotools pkgconfig
+
+do_configure_prepend() {
+ install -d ${S}/hw/via
+ cp ${WORKDIR}/libxvmc/*.[ch] ${S}/hw/via/
+}
+
+do_stage() {
+ oe_runmake install prefix=${STAGING_DIR} \
+ bindir=${STAGING_BINDIR} \
+ includedir=${STAGING_INCDIR} \
+ libdir=${STAGING_LIBDIR} \
+ datadir=${STAGING_DATADIR} \
+ mandir=${STAGING_DATADIR}/man
+ oe_libinstall -so -C hw/via libviaXvMC ${STAGING_LIBDIR}
+ install hw/via/vldXvMC.h ${STAGING_INCDIR}
+}