treewide: update pkgconfig flags to include irregular locations of headers on distros like openSUSE (#150)

This commit is contained in:
zebogan 2024-04-20 03:05:44 -07:00 committed by GitHub
parent 00d147d7f6
commit 9971fec974
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 31 additions and 6 deletions

View file

@ -1,4 +1,4 @@
all: 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: clean:
rm ./borders-plus-plus.so rm ./borders-plus-plus.so

View file

@ -20,6 +20,11 @@ shared_module(meson.project_name(), src,
dependency('hyprland'), dependency('hyprland'),
dependency('pixman-1'), dependency('pixman-1'),
dependency('libdrm'), dependency('libdrm'),
dependency('pangocairo'),
dependency('libinput'),
dependency('libudev'),
dependency('wayland-server'),
dependency('xkbcommon'),
], ],
install: true, install: true,
) )

View file

@ -1,4 +1,4 @@
all: 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: clean:
rm ./csgo-vulkan-fix.so rm ./csgo-vulkan-fix.so

View file

@ -20,6 +20,11 @@ shared_module(meson.project_name(), src,
dependency('hyprland'), dependency('hyprland'),
dependency('pixman-1'), dependency('pixman-1'),
dependency('libdrm'), dependency('libdrm'),
dependency('pangocairo'),
dependency('libinput'),
dependency('libudev'),
dependency('wayland-server'),
dependency('xkbcommon'),
], ],
install: true, install: true,
) )

View file

@ -1,5 +1,5 @@
CXXFLAGS = -shared -fPIC --no-gnu-unique -g -std=c++2b -Wno-c++11-narrowing 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` LIBS = `pkg-config --libs pangocairo`
SRC = main.cpp barDeco.cpp SRC = main.cpp barDeco.cpp

View file

@ -32,6 +32,7 @@ shared_module(meson.project_name(), src,
dependency('libinput'), dependency('libinput'),
dependency('libudev'), dependency('libudev'),
dependency('wayland-server'), dependency('wayland-server'),
dependency('xkbcommon'),
], ],
install: true, install: true,
) )

View file

@ -1,4 +1,4 @@
all: 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: clean:
rm ./hyprexpo.so rm ./hyprexpo.so

View file

@ -29,6 +29,10 @@ shared_module(meson.project_name(), src,
dependency('pixman-1'), dependency('pixman-1'),
dependency('libdrm'), dependency('libdrm'),
dependency('pangocairo'), dependency('pangocairo'),
dependency('libinput'),
dependency('libudev'),
dependency('wayland-server'),
dependency('xkbcommon'),
], ],
install: true, install: true,
) )

View file

@ -1,4 +1,4 @@
all: 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: clean:
rm ./hyprtrails.so rm ./hyprtrails.so

View file

@ -28,6 +28,11 @@ shared_module(meson.project_name(), src,
dependency('hyprland'), dependency('hyprland'),
dependency('pixman-1'), dependency('pixman-1'),
dependency('libdrm'), dependency('libdrm'),
dependency('pangocairo'),
dependency('libinput'),
dependency('libudev'),
dependency('wayland-server'),
dependency('xkbcommon'),
], ],
install: true, install: true,
) )

View file

@ -1,4 +1,4 @@
all: 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: clean:
rm ./hyprwinwrap.so rm ./hyprwinwrap.so

View file

@ -20,6 +20,11 @@ shared_module(meson.project_name(), src,
dependency('hyprland'), dependency('hyprland'),
dependency('pixman-1'), dependency('pixman-1'),
dependency('libdrm'), dependency('libdrm'),
dependency('pangocairo'),
dependency('libinput'),
dependency('libudev'),
dependency('wayland-server'),
dependency('xkbcommon'),
], ],
install: true, install: true,
) )