weston: Add missing libGL

Cairo will soon no longer propagate libGL.

Run-time dependency egl found: NO (tried pkgconfig and cmake)
This commit is contained in:
Bobby Rong 2023-10-18 23:43:44 +08:00 committed by Alyssa Ross
parent 6bdb478d73
commit beb014d4ea
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -1,6 +1,6 @@
{ lib, stdenv, fetchurl, fetchpatch2 { lib, stdenv, fetchurl, fetchpatch2
, meson, ninja, pkg-config, python3, wayland-scanner , meson, ninja, pkg-config, python3, wayland-scanner
, cairo, libdrm, libevdev, libinput, libxkbcommon, mesa, seatd, wayland , cairo, libGL, libdrm, libevdev, libinput, libxkbcommon, mesa, seatd, wayland
, wayland-protocols, xcbutilcursor , wayland-protocols, xcbutilcursor
, demoSupport ? true , demoSupport ? true
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
depsBuildBuild = [ pkg-config ]; depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [ meson ninja pkg-config python3 wayland-scanner ]; nativeBuildInputs = [ meson ninja pkg-config python3 wayland-scanner ];
buildInputs = [ buildInputs = [
cairo libdrm libevdev libinput libxkbcommon mesa seatd wayland cairo libGL libdrm libevdev libinput libxkbcommon mesa seatd wayland
wayland-protocols wayland-protocols
] ++ lib.optional hdrSupport libdisplay-info ] ++ lib.optional hdrSupport libdisplay-info
++ lib.optional jpegSupport libjpeg ++ lib.optional jpegSupport libjpeg