Skip to content

Commit

Permalink
fix: add hyprgraphics workflow dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
WhySoBad committed Dec 5, 2024
1 parent 523ee83 commit 980618a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/actions/setup_base/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 hyprgraphics
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'
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 980618a

Please sign in to comment.