File pkg-config-with-deps.patch of Package hyprland
From 85d5356489c4bd9a951368ad2285f37f27d6483a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20=22sp1rit=22=E2=80=8B?= <sp1rit@disroot.org>
Date: Sun, 22 Jun 2025 18:29:59 +0200
Subject: [PATCH] meson: generate pkg-config with dependencies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Florian "sp1rit" <sp1rit@disroot.org>
---
meson.build | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/meson.build b/meson.build
index a482cbf..8b7b220 100644
--- a/meson.build
+++ b/meson.build
@@ -126,4 +126,19 @@ import('pkgconfig').generate(
description: 'Hyprland header files',
install_dir: pkg_install_dir,
subdirs: ['', 'hyprland/protocols', 'hyprland'],
+ requires: [
+ aquamarine,
+ hyprcursor,
+ hyprgraphics,
+ hyprlang,
+ hyprutils,
+ dependency('libdrm'),
+ dependency('egl'),
+ dependency('cairo'),
+ dependency('xkbcommon'),
+ dependency('libinput'),
+ dependency('wayland-server'),
+ xcb_dep,
+ xcb_icccm_dep,
+ ]
)
--
2.47.0