https://github.com/jwinarske/waypp
Wayland C++ Library
https://github.com/jwinarske/waypp
cxx17 linux wayland wayland-client wayland-library
Last synced: 4 months ago
JSON representation
Wayland C++ Library
- Host: GitHub
- URL: https://github.com/jwinarske/waypp
- Owner: jwinarske
- License: apache-2.0
- Created: 2024-01-03T18:15:38.000Z (over 2 years ago)
- Default Branch: dev
- Last Pushed: 2025-02-07T01:38:06.000Z (over 1 year ago)
- Last Synced: 2025-03-30T05:17:12.756Z (over 1 year ago)
- Topics: cxx17, linux, wayland, wayland-client, wayland-library
- Language: C++
- Homepage:
- Size: 2.37 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wayland C++ Library (waypp)
_Note: waypp is a work in progress and is not ABI stable_
[](https://waypp.readthedocs.io/en/latest/?badge=latest)
## Introduction
waypp is a modern and efficient C++ library for Wayland. This library aims to provide a smooth and easy-to-use interface
for developers to build Wayland-based applications using C++.
## Tested Compositors
* Automotive Grade Linux (AGL)
* Mutter
* Weston
* WLRoots
## Installation
### Debian
This project requires the following packages/libraries:
- libwayland-dev
- libxkbcommon-dev
- wayland-protocols
- glib-2.0
### If your graphics driver is supported by Mesa, then use:
- mesa-common-dev
- libgles2-mesa-dev
- libegl1-mesa-dev
## Usage
Follow these steps to start using the project:
### Clone the repository
```git clone https://github.com/jwinarske/waypp```
### Move into the cloned repository
```cd waypp```
### Generate makefile with CMake
```cmake ..```
### Build the project
```make -j```
### Run demo applications
```./examples/simple-egl```
```./examples/simple-shm```
## License
This project is licensed under Apache-2.0.
## Contributing
We welcome contributions from everyone. To contribute to this project:
1. Clone the project.
2. Create a new feature branch.
3. Make your changes.
4. Test and format your code before committing.
5. Make a pull request with detailed changes.
If you're not sure where to start, check out open issues for tasks you can help with.