diff options
Diffstat (limited to 'packages/openchrome')
-rw-r--r-- | packages/openchrome/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/openchrome/configure.patch | 42 | ||||
-rw-r--r-- | packages/openchrome/openchrome_svn.bb | 20 |
3 files changed, 62 insertions, 0 deletions
diff --git a/packages/openchrome/.mtn2git_empty b/packages/openchrome/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/openchrome/.mtn2git_empty diff --git a/packages/openchrome/configure.patch b/packages/openchrome/configure.patch new file mode 100644 index 0000000000..a2f236470d --- /dev/null +++ b/packages/openchrome/configure.patch @@ -0,0 +1,42 @@ +--- trunk/configure.ac 2007-01-16 16:58:44.000000000 +0000 ++++ trunk/configure.ac 2007-01-16 18:09:26.000000000 +0000 +@@ -69,11 +69,11 @@ + AC_HEADER_STDC + + if test "$DRI" != no; then +- AC_CHECK_FILE([${sdkdir}/dri.h], ++ AC_CHECK_BUILD_FILE([${sdkdir}/dri.h], + [have_dri_h="yes"], [have_dri_h="no"]) +- AC_CHECK_FILE([${sdkdir}/sarea.h], ++ AC_CHECK_BUILD_FILE([${sdkdir}/sarea.h], + [have_sarea_h="yes"], [have_sarea_h="no"]) +- AC_CHECK_FILE([${sdkdir}/dristruct.h], ++ AC_CHECK_BUILD_FILE([${sdkdir}/dristruct.h], + [have_dristruct_h="yes"], [have_dristruct_h="no"]) + fi + +@@ -113,7 +113,7 @@ + + AM_CONDITIONAL(XVMC, test x$XVMC = xyes) + +-AC_CHECK_FILE([${sdkdir}/xf86Module.h], ++AC_CHECK_BUILD_FILE([${sdkdir}/xf86Module.h], + [have_xf86Module_h="yes"], [have_xf86Module_h="no"]) + + # Check the ABI_VIDEODRV_VERSION +--- /dev/null 2003-09-15 14:40:47.000000000 +0100 ++++ trunk/m4/check-build.m4 2007-01-16 18:07:37.000000000 +0000 +@@ -0,0 +1,13 @@ ++# Check for the existence of FILE. ++AC_DEFUN([AC_CHECK_BUILD_FILE], ++[AS_VAR_PUSHDEF([ac_File], [ac_cv_file_$1])dnl ++AC_CACHE_CHECK([for $1], ac_File, ++[if test -r "$1"; then ++ AS_VAR_SET(ac_File, yes) ++else ++ AS_VAR_SET(ac_File, no) ++fi]) ++AS_IF([test AS_VAR_GET(ac_File) = yes], [$2], [$3])[]dnl ++AS_VAR_POPDEF([ac_File])dnl ++])# AC_CHECK_BUILD_FILE ++ diff --git a/packages/openchrome/openchrome_svn.bb b/packages/openchrome/openchrome_svn.bb new file mode 100644 index 0000000000..d5de8afce9 --- /dev/null +++ b/packages/openchrome/openchrome_svn.bb @@ -0,0 +1,20 @@ +SRC_URI = "svn://svn.openchrome.org/svn;module=trunk;proto=http \ + file://configure.patch;patch=1" +S = "${WORKDIR}/trunk" + +PACKAGES = "libviaXvMC libviaXvMCPro libviaXvMC-dev libviaXvMCPro-dev libviaXvMC-dbg libviaXvMCPro-dbg ${PN}-doc" + +FILES_libviaXvMC = "${libdir}/libviaXvMC.so.*" +FILES_libviaXvMCPro = "${libdir}/libviaXvMCPro.so.*" +FILES_libviaXvMC-dev = "${libdir}/libviaXvMC.so ${libdir}/libviaXvMC.la" +FILES_libviaXvMCPro-dev = "${libdir}/libviaXvMCPro.so ${libdir}/libviaXvMCPro.la" +FILES_libviaXvMC-dbg = "${libdir}/.debug/libviaXvMC.so.*" +FILES_libviaXvMCPro-dbg = "${libdir}/.debug/libviaXvMCPro.so.*" + +DEPENDS = "xserver-xorg" + +inherit autotools xorg-module + +do_stage() { + autotools_stage_all +} |