1
0
mirror of https://github.com/Cloudef/bemenu synced 2024-11-23 01:12:01 +01:00

Fix missing dependencies from renderers

This commit is contained in:
Jari Vetoniemi 2020-02-07 17:27:40 +02:00
parent f04c5c458a
commit f0af8bdd9c
2 changed files with 15 additions and 11 deletions

@ -43,24 +43,28 @@ cdl.a: lib/3rdparty/cdl.c lib/3rdparty/cdl.h
libbemenu.so: private override LDLIBS += -ldl
libbemenu.so: lib/bemenu.h lib/internal.h lib/filter.c lib/item.c lib/library.c lib/list.c lib/menu.c lib/util.c cdl.a
bemenu-renderer-curses.so: private override LDLIBS += `pkg-config --libs ncurses`
bemenu-renderer-curses.so: private override LDLIBS += `pkg-config --libs ncurses` -lm
bemenu-renderer-curses.so: private override CPPFLAGS += `pkg-config --cflags-only-I ncurses`
bemenu-renderer-curses.so: lib/renderers/curses/curses.c
bemenu-renderer-x11.so: private override LDLIBS += `pkg-config --libs x11 cairo pango`
bemenu-renderer-x11.so: private override CPPFLAGS += `pkg-config --cflags-only-I x11 cairo pango`
bemenu-renderer-x11.so: private override LDLIBS += `pkg-config --libs x11 xinerama cairo pango pangocairo`
bemenu-renderer-x11.so: private override CPPFLAGS += `pkg-config --cflags-only-I x11 xinerama cairo pango pangocairo`
bemenu-renderer-x11.so: lib/renderers/cairo.h lib/renderers/x11/x11.c lib/renderers/x11/x11.h lib/renderers/x11/window.c lib/renderers/x11/xkb_unicode.c lib/renderers/x11/xkb_unicode.h
lib/renderers/wayland/xdg-shell.c:
wayland-scanner code < `pkg-config --variable=pkgdatadir wayland-protocols`/stable/xdg-shell/xdg-shell.xml > $@
lib/renderers/wayland/wlr-layer-shell-unstable-v1.h:
wayland-scanner client-header < $(subst .h,.xml,$@) > $@
lib/renderers/wayland/wlr-layer-shell-unstable-v1.c:
wayland-scanner code < $(subst .c,.xml,$@) > $@
xdg-shell.a: lib/renderers/wayland/xdg-shell.c
wlr-layer-shell.a: lib/renderers/wayland/wlr-layer-shell-unstable-v1.c lib/renderers/wayland/wlr-layer-shell-unstable-v1.h
bemenu-renderer-wayland.so: private override LDLIBS += `pkg-config --libs wayland-client cairo pango xkbcommon`
bemenu-renderer-wayland.so: private override CPPFLAGS += `pkg-config --cflags-only-I wayland-client cairo pango xkbcommon`
bemenu-renderer-wayland.so: lib/renderers/cairo.h lib/renderers/wayland/wayland.c lib/renderers/wayland/wayland.h lib/renderers/wayland/registry.c lib/renderers/wayland/window.c wlr-layer-shell.a
bemenu-renderer-wayland.so: private override LDLIBS += `pkg-config --libs wayland-client cairo pango pangocairo xkbcommon`
bemenu-renderer-wayland.so: private override CPPFLAGS += `pkg-config --cflags-only-I wayland-client cairo pango pangocairo xkbcommon`
bemenu-renderer-wayland.so: lib/renderers/cairo.h lib/renderers/wayland/wayland.c lib/renderers/wayland/wayland.h lib/renderers/wayland/registry.c lib/renderers/wayland/window.c xdg-shell.a wlr-layer-shell.a
common.a: client/common/common.c client/common/common.h
bemenu: common.a client/bemenu.c

@ -56,11 +56,11 @@ PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH" gmake install
All dependencies are searched with `pkg-config`
| Renderer | Dependencies |
|----------|-----------------------------------------|
| curses | ncurses |
| x11 | x11, cairo, pango |
| Wayland | wayland-client, cairo, pango, xbkcommon |
| Renderer | Dependencies |
|----------|------------------------------------------------------------------------|
| curses | ncurses |
| x11 | x11, xinerama, cairo, pango, pangocairo |
| Wayland | wayland-client, wayland-protocols, cairo, pango, pangocairo, xbkcommon |
## Environment variables