mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-14 06:06:01 +01:00
016da234d0
Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <vaxry@vaxry.net> Co-authored-by: Mihai Fufezan <mihai@fufexan.net> Co-authored-by: Jan Beich <jbeich@FreeBSD.org> Co-authored-by: vaxerski <vaxerski@users.noreply.github.com> Co-authored-by: UjinT34 <41110182+UjinT34@users.noreply.github.com> Co-authored-by: Tom Englund <tomenglund26@gmail.com> Co-authored-by: Ikalco <73481042+ikalco@users.noreply.github.com> Co-authored-by: diniamo <diniamo53@gmail.com>
102 lines
2.9 KiB
YAML
102 lines
2.9 KiB
YAML
name: "Setup base"
|
|
|
|
inputs:
|
|
INSTALL_XORG_PKGS:
|
|
description: 'Install xorg dependencies'
|
|
required: false
|
|
default: false
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Get required pacman pkgs
|
|
shell: bash
|
|
run: |
|
|
sed -i 's/SigLevel = Required DatabaseOptional/SigLevel = Optional TrustAll/' /etc/pacman.conf
|
|
pacman --noconfirm --noprogressbar -Syyu
|
|
pacman --noconfirm --noprogressbar -Sy \
|
|
base-devel \
|
|
cairo \
|
|
clang \
|
|
cmake \
|
|
git \
|
|
glm \
|
|
glslang \
|
|
go \
|
|
hyprlang \
|
|
hyprcursor \
|
|
jq \
|
|
libc++ \
|
|
libdisplay-info \
|
|
libdrm \
|
|
libepoxy \
|
|
libfontenc \
|
|
libglvnd \
|
|
libinput \
|
|
libliftoff \
|
|
libxcursor \
|
|
libxcvt \
|
|
libxfont2 \
|
|
libxkbcommon \
|
|
libxkbfile \
|
|
lld \
|
|
meson \
|
|
ninja \
|
|
pango \
|
|
pixman \
|
|
pkgconf \
|
|
pugixml \
|
|
scdoc \
|
|
seatd \
|
|
systemd \
|
|
tomlplusplus \
|
|
wayland \
|
|
wayland-protocols \
|
|
xcb-util-errors \
|
|
xcb-util-renderutil \
|
|
xcb-util-wm \
|
|
xcb-util \
|
|
xcb-util-image \
|
|
libzip \
|
|
librsvg
|
|
|
|
- name: Get hyprwayland-scanner-git
|
|
shell: bash
|
|
run: |
|
|
git clone https://github.com/hyprwm/hyprwayland-scanner --recursive
|
|
cd hyprwayland-scanner
|
|
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
|
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
|
cmake --install build
|
|
|
|
- name: Get hyprutils-git
|
|
shell: bash
|
|
run: |
|
|
git clone https://github.com/hyprwm/hyprutils && cd hyprutils && cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -B build && cmake --build build --target hyprutils && cmake --install build
|
|
|
|
- name: Get aquamarine-git
|
|
shell: bash
|
|
run: |
|
|
git clone https://github.com/hyprwm/aquamarine && cd aquamarine && cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -B build && cmake --build build --target aquamarine && cmake --install build
|
|
|
|
- name: Get Xorg pacman pkgs
|
|
shell: bash
|
|
if: inputs.INSTALL_XORG_PKGS == 'true'
|
|
run: |
|
|
pacman --noconfirm --noprogressbar -Sy \
|
|
xorg-fonts-encodings \
|
|
xorg-server-common \
|
|
xorg-setxkbmap \
|
|
xorg-xkbcomp \
|
|
xorg-xwayland
|
|
|
|
- name: Checkout Hyprland
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
|
|
# Fix an issue with actions/checkout where the checkout repo is not mark as safe
|
|
- name: Mark directory as safe for git
|
|
shell: bash
|
|
run: |
|
|
git config --global --add safe.directory /__w/Hyprland/Hyprland
|