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