From 397b65d7b82d6f3e73189d22afeff69af832bb33 Mon Sep 17 00:00:00 2001 From: WhySoBad <49595640+WhySoBad@users.noreply.github.com> Date: Thu, 5 Dec 2024 14:29:50 +0100 Subject: [PATCH] fix: add hyprgraphics workflow dependency --- .github/actions/setup_base/action.yml | 9 +++++++++ Makefile | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup_base/action.yml b/.github/actions/setup_base/action.yml index 2da5dd0..d580a70 100644 --- a/.github/actions/setup_base/action.yml +++ b/.github/actions/setup_base/action.yml @@ -99,6 +99,15 @@ runs: cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF` cmake --install build + - name: Get hyprgraphics + shell: bash + run: | + git clone https://github.com/hyprwm/hyprgraphics.git + cd aquamarine + 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 Xorg pacman pkgs shell: bash if: inputs.INSTALL_XORG_PKGS == 'true' diff --git a/Makefile b/Makefile index ba9297a..3615640 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ SOURCE_FILES=$(wildcard src/*.cpp) COMPILE_FLAGS=-shared -g -fPIC --no-gnu-unique -std=c++23 -Wall COMPILE_FLAGS+=-Iinclude COMPILE_FLAGS+=-DWLR_USE_UNSTABLE -INCLUDES = `pkg-config --cflags pixman-1 libdrm hyprland` +INCLUDES = `pkg-config --cflags pixman-1 libdrm hyprland` all: $(PLUGIN_NAME).so