File meson.build of Package failed_cage

project('cage', 'c',
  version: '0.1.5',
  default_options: ['buildtype=release'])

# Find wlroots dependency
wlroots_dep = dependency('wlroots', required: false)

if not wlroots_dep.found()
  wlroots_dep = subproject('wlroots').get_variable('wlroots_dep')
endif

# Other build configurations...
===

This modification ensures that if `wlroots` is not found as a system library, Meson will attempt to use the subproject.

---

#### 3. Install `wlroots` (Optional)
If `wlroots` is expected to be a system library, ensure it is installed on the build system. For example, on SUSE-based systems, you can install it using:

```bash
sudo zypper install wlroots-devel
```

---

### Summary of Changes
1. Added `subprojects/wlroots.wrap` to fetch `wlroots` as a subproject.
2. Updated `meson.build` to handle cases where `wlroots` is not found as a system library.
3. Optionally, ensure `wlroots` is installed on the system if it is required as a system library.

These changes should resolve the build failure. If additional issues arise, please provide further details.
openSUSE Build Service is sponsored by