mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 12:59:03 +02:00
userland: Define PROJECT_APIVER and rprovide libgles2 libgl
These are needed for pkgconfig to have correct version number which is checked by many configure systems e.g. cogl to decide on support for wayland-egl rprovides are expected by cogl as well to define runtime deps on libgles2 and libgl Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
507ab2682b
commit
34cb837929
|
@ -0,0 +1,33 @@
|
|||
From 56072d7282e7daf65f58fa897f1f76268ae88121 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 6 Feb 2016 11:06:26 -0800
|
||||
Subject: [PATCH 16/16] define PROJECT_APIVER
|
||||
|
||||
this helps in compiling components which use packageconfig to poke for
|
||||
library versions and requiring minimum supported version
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
CMakeLists.txt | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index b240ef6..aa5e14f 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -2,6 +2,12 @@ cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
project(vmcs_host_apps)
|
||||
|
||||
+SET(PROJECT_VER_MAJOR 1)
|
||||
+SET(PROJECT_VER_MINOR 0)
|
||||
+SET(PROJECT_VER_PATCH 0)
|
||||
+SET(PROJECT_VER "${PROJECT_VER_MAJOR}.${PROJECT_VER_MINOR}.${PROJECT_VER_PATCH}")
|
||||
+SET(PROJECT_APIVER "${PROJECT_VER}")
|
||||
+
|
||||
set(BUILD_MMAL TRUE)
|
||||
set(BUILD_MMAL_APPS TRUE)
|
||||
set(vmcs_root ${PROJECT_SOURCE_DIR})
|
||||
--
|
||||
2.7.0
|
||||
|
|
@ -10,6 +10,8 @@ PR = "r5"
|
|||
PROVIDES = "virtual/libgles2 \
|
||||
virtual/egl"
|
||||
|
||||
RPROVIDES_${PN} += "libgles2 libgl"
|
||||
|
||||
COMPATIBLE_MACHINE = "raspberrypi"
|
||||
|
||||
SRCBRANCH = "master"
|
||||
|
@ -33,6 +35,7 @@ SRC_URI = "\
|
|||
file://0013-zero-out-wl-buffers-in-egl_surface_free.patch \
|
||||
file://0014-initialize-front-back-wayland-buffers.patch \
|
||||
file://0015-Remove-RPC_FLUSH.patch \
|
||||
file://0016-define-PROJECT_APIVER.patch \
|
||||
"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user