diff --git a/Makefile b/Makefile index d95dce2..e1002d4 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ $(__Hyprutils): # Build hyprlang if the .hpp file is not installed # Library for hyprwm __Hyprlang = $(INCLUDE_SYS_PATH)/hyprlang.hpp -$(__Hyprlang): $(__Hyprutils) +$(__Hyprlang): $(__Hyprutils) $(__Hyprwayland-scanner) $(CMAKE) --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release \ -DCMAKE_INSTALL_PREFIX:PATH=/usr -S ./hyprlang -B ./hyprlang/build $(CMAKE) --build ./hyprlang/build --config Release --target hyprlang \ @@ -68,13 +68,22 @@ libxcb-errors: git clone https://gitlab.freedesktop.org/xorg/lib/libxcb-errors.git __Libxcb-errors = /usr/lib/pkgconfig/xcb-errors.pc $(__Libxcb-errors): libxcb-errors - @echo "Building and install library libxcb-errors..." + @echo "Building and installing library libxcb-errors..." cd libxcb-errors && { \ git submodule update --init ; \ /bin/sh autogen.sh ; \ /bin/sh configure --prefix=/usr ; \ make && sudo make install ; } +__Aquamarine = $(INCLUDE_SYS_PATH)/aquamarine +$(__Aquamarine): $(__Hyprwayland-scanner) + $(CMAKE) -DCMAKE_INSTALL_PREFIX=/usr -S ./aquamarine \ + -B aquamarine/build + $(CMAKE) --build ./aquamarine/build -j \ + `nproc 2>/dev/null || getconf _NPROCESSORS_CONF` + @echo "Installing library aquamarine..." + sudo $(CMAKE) --install ./aquamarine/build + ### Makefile targets for hyprwm apps ### # Build Hyprland if it's not installed on the system diff --git a/requirements.sh b/requirements.sh index 1c8dc0e..0864965 100644 --- a/requirements.sh +++ b/requirements.sh @@ -6,4 +6,4 @@ sudo eopkg it -y libcairo-devel file-devel libdrm-devel libglvnd-devel \ libjpeg-turbo-devel librsvg-devel libwebp-devel libzip-devel \ mesalib-devel pam-devel pango-devel waybar wayland-devel \ wayland-protocols-devel wlroots-devel libxkbcommon-devel pugixml-devel \ - util-macros xcb-proto xcb-util-devel + util-macros xcb-proto xcb-util-devel libxcursor-devel