mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2024-11-07 20:25:57 +01:00
treewide: update pkgconfig flags to include irregular locations of headers on distros like openSUSE (#150)
This commit is contained in:
parent
00d147d7f6
commit
9971fec974
12 changed files with 31 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
all:
|
||||
$(CXX) -shared -fPIC --no-gnu-unique main.cpp borderDeco.cpp -o borders-plus-plus.so -g `pkg-config --cflags pixman-1 libdrm hyprland` -std=c++2b -O2
|
||||
$(CXX) -shared -fPIC --no-gnu-unique main.cpp borderDeco.cpp -o borders-plus-plus.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
|
||||
clean:
|
||||
rm ./borders-plus-plus.so
|
||||
|
|
|
@ -20,6 +20,11 @@ shared_module(meson.project_name(), src,
|
|||
dependency('hyprland'),
|
||||
dependency('pixman-1'),
|
||||
dependency('libdrm'),
|
||||
dependency('pangocairo'),
|
||||
dependency('libinput'),
|
||||
dependency('libudev'),
|
||||
dependency('wayland-server'),
|
||||
dependency('xkbcommon'),
|
||||
],
|
||||
install: true,
|
||||
)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
all:
|
||||
$(CXX) -shared -fPIC --no-gnu-unique main.cpp -o csgo-vulkan-fix.so -g `pkg-config --cflags pixman-1 libdrm hyprland` -std=c++2b -O2
|
||||
$(CXX) -shared -fPIC --no-gnu-unique main.cpp -o csgo-vulkan-fix.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
|
||||
clean:
|
||||
rm ./csgo-vulkan-fix.so
|
||||
|
|
|
@ -20,6 +20,11 @@ shared_module(meson.project_name(), src,
|
|||
dependency('hyprland'),
|
||||
dependency('pixman-1'),
|
||||
dependency('libdrm'),
|
||||
dependency('pangocairo'),
|
||||
dependency('libinput'),
|
||||
dependency('libudev'),
|
||||
dependency('wayland-server'),
|
||||
dependency('xkbcommon'),
|
||||
],
|
||||
install: true,
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
CXXFLAGS = -shared -fPIC --no-gnu-unique -g -std=c++2b -Wno-c++11-narrowing
|
||||
INCLUDES = `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server hyprland`
|
||||
INCLUDES = `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon`
|
||||
LIBS = `pkg-config --libs pangocairo`
|
||||
|
||||
SRC = main.cpp barDeco.cpp
|
||||
|
|
|
@ -32,6 +32,7 @@ shared_module(meson.project_name(), src,
|
|||
dependency('libinput'),
|
||||
dependency('libudev'),
|
||||
dependency('wayland-server'),
|
||||
dependency('xkbcommon'),
|
||||
],
|
||||
install: true,
|
||||
)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
all:
|
||||
$(CXX) -shared -fPIC --no-gnu-unique main.cpp overview.cpp -o hyprexpo.so -g `pkg-config --cflags pixman-1 libdrm hyprland` -std=c++2b -Wno-narrowing
|
||||
$(CXX) -shared -fPIC --no-gnu-unique main.cpp overview.cpp -o hyprexpo.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -Wno-narrowing
|
||||
clean:
|
||||
rm ./hyprexpo.so
|
||||
|
|
|
@ -29,6 +29,10 @@ shared_module(meson.project_name(), src,
|
|||
dependency('pixman-1'),
|
||||
dependency('libdrm'),
|
||||
dependency('pangocairo'),
|
||||
dependency('libinput'),
|
||||
dependency('libudev'),
|
||||
dependency('wayland-server'),
|
||||
dependency('xkbcommon'),
|
||||
],
|
||||
install: true,
|
||||
)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
all:
|
||||
$(CXX) -shared -fPIC --no-gnu-unique main.cpp trail.cpp -o hyprtrails.so -g `pkg-config --cflags pixman-1 libdrm hyprland` -std=c++2b -O2
|
||||
$(CXX) -shared -fPIC --no-gnu-unique main.cpp trail.cpp -o hyprtrails.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
|
||||
clean:
|
||||
rm ./hyprtrails.so
|
||||
|
|
|
@ -28,6 +28,11 @@ shared_module(meson.project_name(), src,
|
|||
dependency('hyprland'),
|
||||
dependency('pixman-1'),
|
||||
dependency('libdrm'),
|
||||
dependency('pangocairo'),
|
||||
dependency('libinput'),
|
||||
dependency('libudev'),
|
||||
dependency('wayland-server'),
|
||||
dependency('xkbcommon'),
|
||||
],
|
||||
install: true,
|
||||
)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
all:
|
||||
$(CXX) -shared -fPIC --no-gnu-unique main.cpp -o hyprwinwrap.so -g `pkg-config --cflags pixman-1 libdrm hyprland` -std=c++2b -O2
|
||||
$(CXX) -shared -fPIC --no-gnu-unique main.cpp -o hyprwinwrap.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
|
||||
clean:
|
||||
rm ./hyprwinwrap.so
|
||||
|
|
|
@ -20,6 +20,11 @@ shared_module(meson.project_name(), src,
|
|||
dependency('hyprland'),
|
||||
dependency('pixman-1'),
|
||||
dependency('libdrm'),
|
||||
dependency('pangocairo'),
|
||||
dependency('libinput'),
|
||||
dependency('libudev'),
|
||||
dependency('wayland-server'),
|
||||
dependency('xkbcommon'),
|
||||
],
|
||||
install: true,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue