diff options
Diffstat (limited to 'recipes-graphics/amd-gpu-x11-bin/files')
| -rw-r--r-- | recipes-graphics/amd-gpu-x11-bin/files/egl.pc | 11 | ||||
| -rw-r--r-- | recipes-graphics/amd-gpu-x11-bin/files/fix-linux-build-check.patch | 54 | ||||
| -rw-r--r-- | recipes-graphics/amd-gpu-x11-bin/files/glesv2.pc | 11 |
3 files changed, 76 insertions, 0 deletions
diff --git a/recipes-graphics/amd-gpu-x11-bin/files/egl.pc b/recipes-graphics/amd-gpu-x11-bin/files/egl.pc new file mode 100644 index 000000000..3d2ab5dbb --- /dev/null +++ b/recipes-graphics/amd-gpu-x11-bin/files/egl.pc | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | prefix=/usr | ||
| 2 | exec_prefix=${prefix} | ||
| 3 | libdir=/usr/lib | ||
| 4 | includedir=/usr/include | ||
| 5 | |||
| 6 | Name: egl | ||
| 7 | Description: AMD EGL library | ||
| 8 | Requires.private: | ||
| 9 | Version: 8.0 | ||
| 10 | Libs: -L${libdir} -lEGL | ||
| 11 | Cflags: -I${includedir} | ||
diff --git a/recipes-graphics/amd-gpu-x11-bin/files/fix-linux-build-check.patch b/recipes-graphics/amd-gpu-x11-bin/files/fix-linux-build-check.patch new file mode 100644 index 000000000..946bfac79 --- /dev/null +++ b/recipes-graphics/amd-gpu-x11-bin/files/fix-linux-build-check.patch | |||
| @@ -0,0 +1,54 @@ | |||
| 1 | diff -Nur amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/EGL/eglext.h amd-gpu-x11-bin-mx51-11.09.01/usr/include/EGL/eglext.h | ||
| 2 | --- amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/EGL/eglext.h 2012-08-18 12:43:19.431788396 -0300 | ||
| 3 | +++ amd-gpu-x11-bin-mx51-11.09.01/usr/include/EGL/eglext.h 2012-08-18 12:43:50.799909873 -0300 | ||
| 4 | @@ -164,11 +164,11 @@ | ||
| 5 | * nanoseconds (unadjusted standard time). Here, it is defined as | ||
| 6 | * appropriate for an ISO C compiler. | ||
| 7 | */ | ||
| 8 | -#ifndef _LINUX | ||
| 9 | +#ifndef __linux__ | ||
| 10 | typedef uint64_t EGLTimeKHR; | ||
| 11 | -#else // _LINUX | ||
| 12 | +#else // __linux__ | ||
| 13 | typedef unsigned long long EGLTimeKHR; | ||
| 14 | -#endif // _LINUX | ||
| 15 | +#endif // __linux__ | ||
| 16 | |||
| 17 | #define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR 0xFFF8 | ||
| 18 | #define EGL_SYNC_STATUS_KHR 0xFFF7 | ||
| 19 | diff -Nur amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/EGL/eglfslext.h amd-gpu-x11-bin-mx51-11.09.01/usr/include/EGL/eglfslext.h | ||
| 20 | --- amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/EGL/eglfslext.h 2012-08-18 12:43:19.431788396 -0300 | ||
| 21 | +++ amd-gpu-x11-bin-mx51-11.09.01/usr/include/EGL/eglfslext.h 2012-08-18 12:43:50.759785714 -0300 | ||
| 22 | @@ -65,7 +65,7 @@ | ||
| 23 | } eglYUVInfo; | ||
| 24 | #endif | ||
| 25 | |||
| 26 | -#ifdef _LINUX | ||
| 27 | +#ifdef __linux__ | ||
| 28 | struct EGLImageInfoFSL | ||
| 29 | { | ||
| 30 | void *mem_virt[3]; //virtual addresses for Y/U/V planes | ||
| 31 | diff -Nur amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/VG/ext.h amd-gpu-x11-bin-mx51-11.09.01/usr/include/VG/ext.h | ||
| 32 | --- amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/VG/ext.h 2012-08-18 12:43:19.431788396 -0300 | ||
| 33 | +++ amd-gpu-x11-bin-mx51-11.09.01/usr/include/VG/ext.h 2012-08-18 12:43:50.799909873 -0300 | ||
| 34 | @@ -15,7 +15,7 @@ | ||
| 35 | extern "C" { | ||
| 36 | #endif | ||
| 37 | |||
| 38 | -#ifndef _LINUX | ||
| 39 | +#ifndef __linux__ | ||
| 40 | #include <VG/openvg.h> | ||
| 41 | #else | ||
| 42 | #include "openvg.h" | ||
| 43 | diff -Nur amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/VG/openvg.h amd-gpu-x11-bin-mx51-11.09.01/usr/include/VG/openvg.h | ||
| 44 | --- amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/VG/openvg.h 2012-08-18 12:43:19.431788396 -0300 | ||
| 45 | +++ amd-gpu-x11-bin-mx51-11.09.01/usr/include/VG/openvg.h 2012-08-18 12:43:50.799909873 -0300 | ||
| 46 | @@ -449,7 +449,7 @@ | ||
| 47 | # endif | ||
| 48 | # elif defined(__APPLE__) | ||
| 49 | # define VG_API_CALL extern | ||
| 50 | -# elif defined(_LINUX) | ||
| 51 | +# elif defined(__linux__) | ||
| 52 | # if defined (OPENVG_DLL_EXPORTS) | ||
| 53 | # define VG_API_CALL extern | ||
| 54 | # else | ||
diff --git a/recipes-graphics/amd-gpu-x11-bin/files/glesv2.pc b/recipes-graphics/amd-gpu-x11-bin/files/glesv2.pc new file mode 100644 index 000000000..62e1cb65a --- /dev/null +++ b/recipes-graphics/amd-gpu-x11-bin/files/glesv2.pc | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | prefix=/usr | ||
| 2 | exec_prefix=${prefix} | ||
| 3 | libdir=/usr/lib | ||
| 4 | includedir=/usr/include | ||
| 5 | |||
| 6 | Name: glesv2 | ||
| 7 | Description: AMD OpenGL ES 2.0 library | ||
| 8 | Requires.private: | ||
| 9 | Version: 8.0 | ||
| 10 | Libs: -L${libdir} -lGLESv2 -lEGL | ||
| 11 | Cflags: -I${includedir} | ||
