[libepoxy] Add dependencies egl-registry and libx11-dev on Linux (#27562)

* [libepoxy] Add dependencies egl-registry and libx11-dev

* x-add-version
This commit is contained in:
Lily Wang 2022-10-31 13:48:57 -07:00 committed by GitHub
parent bf6a6ce711
commit 47ef7c0682
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 3 deletions

View File

@ -2,8 +2,8 @@ if(VCPKG_TARGET_IS_WINDOWS)
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY) vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
endif() endif()
if(VCPKG_TARGET_IS_LINUX AND NOT EXISTS "/usr/share/doc/libgles2/copyright") if (VCPKG_TARGET_IS_LINUX)
message(STATUS "libgles2-mesa-dev must be installed before libepoxy can build. Install it with \"apt-get install libgles2-mesa-dev\".") message(WARNING "${PORT} currently requires the following libraries from the system package manager:\n libx11-dev\n libgles2-mesa-dev\n\nThese can be installed on Ubuntu systems via apt-get install libx11-dev libgles2-mesa-dev.")
endif() endif()
vcpkg_from_github( vcpkg_from_github(

View File

@ -1,10 +1,15 @@
{ {
"name": "libepoxy", "name": "libepoxy",
"version": "1.5.10", "version": "1.5.10",
"port-version": 1,
"description": "Epoxy is a library for handling OpenGL function pointer management for you", "description": "Epoxy is a library for handling OpenGL function pointer management for you",
"homepage": "https://github.com/anholt/libepoxy", "homepage": "https://github.com/anholt/libepoxy",
"license": "MIT", "license": "MIT",
"dependencies": [ "dependencies": [
{
"name": "egl-registry",
"platform": "linux"
},
{ {
"name": "vcpkg-tool-meson", "name": "vcpkg-tool-meson",
"host": true "host": true

View File

@ -3686,7 +3686,7 @@
}, },
"libepoxy": { "libepoxy": {
"baseline": "1.5.10", "baseline": "1.5.10",
"port-version": 0 "port-version": 1
}, },
"libevent": { "libevent": {
"baseline": "2.1.12", "baseline": "2.1.12",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "76a3ae8e21ad9736741ecc58522805647fdbb7b9",
"version": "1.5.10",
"port-version": 1
},
{ {
"git-tree": "85d5a7075e2450d79759e0a3ec618e9ebf07b0ea", "git-tree": "85d5a7075e2450d79759e0a3ec618e9ebf07b0ea",
"version": "1.5.10", "version": "1.5.10",