2.2.1 Enabling the Wayland repository

The ‘wayland’ repository requires packages from ‘xorg’ and ‘extra’ repositories. So you should set your ‘$CPT_PATH’ so that ‘core’ and ‘extra’ repositories precede the ‘wayland’ repository, and the ‘xorg’ repository should come after ‘wayland’. Here is an example below, where ‘$REPOSITORY’ points to the root of your repository.

CPT_PATH=$REPOSITORY/core
CPT_PATH=$CPT_PATH:$REPOSITORY/extra
CPT_PATH=$CPT_PATH:$REPOSITORY/wayland
export CPT_PATH

After you have enabled your repositories, go ahead and install ‘wayland’ and ‘wayland-protocols’ packages.

cpt-build wayland wayland-protocols