-
Notifications
You must be signed in to change notification settings - Fork 5
Build on Linux
This page provides step by step instructions on how to build PHP Desktop Chrome for Linux from sources.
Table of Contents
- Requirements
- Download PHP Desktop sources
- Download CEF sources / prebuilt binaries
- Build cefclient and copy CEF files to phpdesktop
- Build PHP from sources
- Build phpdesktop-linux project
These instructions are for building the "linux99" branch (Chrome v99, CEF branch 4844).
Tested on Ubuntu 20.04 64-bit. Should work with newer versions as well.
Requirements:
- CMake 3.23.0
- G++ 7.5.0
- Ninja 1.10.2
Newer versions of tools should work, but if there are issues try downgrading.
Clone git repository and checkout the "linux99" branch.
If you would like to use CEF prebuilt binaries then go to Spotify Automated CEF Builds. You have to download CEF for the same branch and revision that phpdesktop uses, see the CEF.Readme.txt
file that includes version details. On Spotify page choose "Standard Distribution" binaries.
If you would like to build CEF from sources then see CEF Branches and building (external) wiki page.