| 19 | | You can build and install WPE WebKit from a release tarball the same as you would any other CMake module. The only trick is that you must pass the CMake option -DPORT=WPE. For example, to do a release build with debug info and install the result: |
| | 19 | To build WPE WebKit, you need to install two dependencies first (both available [https://wpewebkit.org/releases/ here]): |
| | 20 | |
| | 21 | - **libwpe** (previously known as libWPEBackend): this is the base library for WPE abstractions to provide platform EGL surfaces and handling input; |
| | 22 | - **WPEBackend-fdo**: this is the reference WPE backend implementation, using FreeDesktop.Org technologies and used for testing upstream WPE. |
| | 23 | |
| | 24 | Both of these libraries can be compiled and installed as usual using CMake. For example, for a release build with debug info: |
| | 25 | |
| | 26 | {{{ |
| | 27 | $ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja |
| | 28 | $ ninja |
| | 29 | $ sudo ninja install |
| | 30 | }}} |
| | 31 | |
| | 32 | You can then build and install WPE WebKit similarly. The only trick is that you must pass the CMake option -DPORT=WPE. For example, to do a release build with debug info and install the result: |