Updated Makefile
Include aquamarine library and new system dependencies
This commit is contained in:
parent
7ea33a0124
commit
2fd88b494f
13
Makefile
13
Makefile
|
|
@ -46,7 +46,7 @@ $(__Hyprutils):
|
||||||
# Build hyprlang if the .hpp file is not installed
|
# Build hyprlang if the .hpp file is not installed
|
||||||
# Library for hyprwm
|
# Library for hyprwm
|
||||||
__Hyprlang = $(INCLUDE_SYS_PATH)/hyprlang.hpp
|
__Hyprlang = $(INCLUDE_SYS_PATH)/hyprlang.hpp
|
||||||
$(__Hyprlang): $(__Hyprutils)
|
$(__Hyprlang): $(__Hyprutils) $(__Hyprwayland-scanner)
|
||||||
$(CMAKE) --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release \
|
$(CMAKE) --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release \
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=/usr -S ./hyprlang -B ./hyprlang/build
|
-DCMAKE_INSTALL_PREFIX:PATH=/usr -S ./hyprlang -B ./hyprlang/build
|
||||||
$(CMAKE) --build ./hyprlang/build --config Release --target hyprlang \
|
$(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
|
git clone https://gitlab.freedesktop.org/xorg/lib/libxcb-errors.git
|
||||||
__Libxcb-errors = /usr/lib/pkgconfig/xcb-errors.pc
|
__Libxcb-errors = /usr/lib/pkgconfig/xcb-errors.pc
|
||||||
$(__Libxcb-errors): libxcb-errors
|
$(__Libxcb-errors): libxcb-errors
|
||||||
@echo "Building and install library libxcb-errors..."
|
@echo "Building and installing library libxcb-errors..."
|
||||||
cd libxcb-errors && { \
|
cd libxcb-errors && { \
|
||||||
git submodule update --init ; \
|
git submodule update --init ; \
|
||||||
/bin/sh autogen.sh ; \
|
/bin/sh autogen.sh ; \
|
||||||
/bin/sh configure --prefix=/usr ; \
|
/bin/sh configure --prefix=/usr ; \
|
||||||
make && sudo make install ; }
|
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 ###
|
### Makefile targets for hyprwm apps ###
|
||||||
|
|
||||||
# Build Hyprland if it's not installed on the system
|
# Build Hyprland if it's not installed on the system
|
||||||
|
|
|
||||||
|
|
@ -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 \
|
libjpeg-turbo-devel librsvg-devel libwebp-devel libzip-devel \
|
||||||
mesalib-devel pam-devel pango-devel waybar wayland-devel \
|
mesalib-devel pam-devel pango-devel waybar wayland-devel \
|
||||||
wayland-protocols-devel wlroots-devel libxkbcommon-devel pugixml-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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user