Merge pull request #227464 from Kiskae/decor-fix-egl

This commit is contained in:
Artturi 2023-04-22 10:15:31 +03:00 committed by GitHub
commit 99e52495c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,29 +7,31 @@
, wayland , wayland
, wayland-protocols , wayland-protocols
, wayland-scanner , wayland-scanner
, egl-wayland
, cairo , cairo
, dbus , dbus
, pango , pango
, libxkbcommon
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libdecor"; pname = "libdecor";
version = "0.1.0"; version = "0.1.1";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "gitlab.gnome.org"; domain = "gitlab.freedesktop.org";
owner = "jadahl"; owner = "libdecor";
repo = "libdecor"; repo = "libdecor";
rev = "${version}"; rev = "${version}";
sha256 = "0qdg3r7k086wzszr969s0ljlqdvfqm31zpl8p5h397bw076zr6p2"; hash = "sha256-8b6qCqOSDDbhYwAeAaUyI71tSopTkGtCJaxZaJw1vQQ=";
}; };
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
strictDeps = true; strictDeps = true;
mesonFlags = [
(lib.mesonBool "demo" false)
];
nativeBuildInputs = [ nativeBuildInputs = [
meson meson
ninja ninja
@ -40,15 +42,13 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
wayland wayland
wayland-protocols wayland-protocols
egl-wayland
cairo cairo
dbus dbus
pango pango
libxkbcommon
]; ];
meta = with lib; { meta = with lib; {
homepage = "https://gitlab.gnome.org/jadahl/libdecor"; homepage = "https://gitlab.freedesktop.org/libdecor/libdecor";
description = "Client-side decorations library for Wayland clients"; description = "Client-side decorations library for Wayland clients";
license = licenses.mit; license = licenses.mit;
platforms = platforms.linux; platforms = platforms.linux;