diff options
author | Phil Blundell <philb@gnu.org> | 2004-10-18 21:16:24 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-10-18 21:16:24 +0000 |
commit | 26257eb700e72797fb4752ee55e8bc9c9cf98952 (patch) | |
tree | 230584219ffda7f1c028f4733a89e07839a31980 /libxvmc/libxvmc_20040919.oe | |
parent | c74a98f414fb5806ccc5c9c14664504768f39ec2 (diff) |
more xvmc build fixes
BKrev: 417432a8H91tHfQj7jqa5EQN0mqxdQ
Diffstat (limited to 'libxvmc/libxvmc_20040919.oe')
-rw-r--r-- | libxvmc/libxvmc_20040919.oe | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/libxvmc/libxvmc_20040919.oe b/libxvmc/libxvmc_20040919.oe index e69de29bb2..3f28102cb1 100644 --- a/libxvmc/libxvmc_20040919.oe +++ b/libxvmc/libxvmc_20040919.oe @@ -0,0 +1,35 @@ +SECTION = "x11/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=20040919;method=pserver \ + cvs://anonymous@cvs.sourceforge.net/cvsroot/unichrome;module=libxvmc;date=20040919;method=pserver \ + file://via.patch;patch=1 \ + file://true.patch" +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/ + ( cd ${S}/hw/via ; patch < ${WORKDIR}/true.patch ) +} + +do_compile() { + oe_runmake + oe_runmake -C 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} +} |