summaryrefslogtreecommitdiffstats
path: root/meta/packages/xorg-lib/libxvmc_20050612.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/xorg-lib/libxvmc_20050612.bb')
-rw-r--r--meta/packages/xorg-lib/libxvmc_20050612.bb37
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 @@
1DESCRIPTION = "X Video Motion Compensation extension library."
2SECTION = "x11/libs"
3DEPENDS = "virtual/libx11 libxext libxv drm xserver-xorg"
4PR = "r0"
5
6SRC_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"
9S = "${WORKDIR}/XvMC"
10
11CFLAGS += "-I${STAGING_INCDIR}/X11/extensions -I${STAGING_INCDIR}/xserver-xorg -D_BSD_SOURCE"
12
13# this one is for via only atm.
14COMPATIBLE_HOST = 'i.86.*-linux'
15
16inherit autotools pkgconfig
17
18do_compile() {
19 oe_runmake
20 oe_runmake -C hw/via
21}
22
23do_install() {
24 oe_runmake DESTDIR='${D}' install
25 oe_runmake -C hw/via DESTDIR='${D}' install
26}
27
28do_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}