summaryrefslogtreecommitdiffstats
path: root/meta/packages/xorg-lib/libxvmc_20040919.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/xorg-lib/libxvmc_20040919.bb')
-rw-r--r--meta/packages/xorg-lib/libxvmc_20040919.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/packages/xorg-lib/libxvmc_20040919.bb b/meta/packages/xorg-lib/libxvmc_20040919.bb
new file mode 100644
index 0000000000..f256211962
--- /dev/null
+++ b/meta/packages/xorg-lib/libxvmc_20040919.bb
@@ -0,0 +1,39 @@
1DESCRIPTION = "X Video Motion Compensation extension library."
2SECTION = "x11/libs"
3DEPENDS = "virtual/libx11 libxext libxv drm xserver-xorg"
4PR = "r2"
5
6SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=XvMC;date=${PV};method=pserver \
7 cvs://anonymous@cvs.sourceforge.net/cvsroot/unichrome;module=libxvmc;date=${PV};method=pserver \
8 file://via.patch;patch=1 \
9 file://true.patch"
10S = "${WORKDIR}/XvMC"
11
12CFLAGS += "-I${STAGING_INCDIR}/X11/extensions -I${STAGING_INCDIR}/xserver-xorg"
13
14# this one is for via only atm.
15COMPATIBLE_HOST = 'i.86.*-linux'
16
17inherit autotools pkgconfig
18
19do_configure_prepend() {
20 install -d ${S}/hw/via
21 cp ${WORKDIR}/libxvmc/*.[ch] ${S}/hw/via/
22 ( cd ${S}/hw/via ; patch < ${WORKDIR}/true.patch )
23}
24
25do_compile() {
26 oe_runmake
27 oe_runmake -C hw/via
28}
29
30do_stage() {
31 oe_runmake install prefix=${STAGING_DIR} \
32 bindir=${STAGING_BINDIR} \
33 includedir=${STAGING_INCDIR} \
34 libdir=${STAGING_LIBDIR} \
35 datadir=${STAGING_DATADIR} \
36 mandir=${STAGING_DATADIR}/man
37 oe_libinstall -so -C hw/via libviaXvMC ${STAGING_LIBDIR}
38 install hw/via/vldXvMC.h ${STAGING_INCDIR}/X11/extensions/
39}