From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../libnsfb/files/libnsfb-0.1.0-autodetect.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 dev-libs/libnsfb/files/libnsfb-0.1.0-autodetect.patch (limited to 'dev-libs/libnsfb/files') diff --git a/dev-libs/libnsfb/files/libnsfb-0.1.0-autodetect.patch b/dev-libs/libnsfb/files/libnsfb-0.1.0-autodetect.patch new file mode 100644 index 000000000000..88a776dd85b8 --- /dev/null +++ b/dev-libs/libnsfb/files/libnsfb-0.1.0-autodetect.patch @@ -0,0 +1,21 @@ +--- libnsfb-0.1.0/Makefile ++++ libnsfb-0.1.0/Makefile +@@ -23,10 +23,18 @@ + NSFB_XCB_PKG_NAMES := xcb xcb-icccm xcb-image xcb-keysyms xcb-atom + + # determine which surface handlers can be compiled based upon avalable library ++ifeq ($(WITH_VNC),yes) + $(eval $(call pkg_config_package_available,NSFB_VNC_AVAILABLE,libvncserver)) ++endif ++ifeq ($(WITH_SDL),yes) + $(eval $(call pkg_config_package_available,NSFB_SDL_AVAILABLE,sdl)) ++endif ++ifeq ($(WITH_XCB),yes) + $(eval $(call pkg_config_package_available,NSFB_XCB_AVAILABLE,$(NSFB_XCB_PKG_NAMES))) ++endif ++ifeq ($(WITH_WLD),yes) + $(eval $(call pkg_config_package_available,NSFB_WLD_AVAILABLE,wayland-client)) ++endif + + # surfaces not detectable via pkg-config + NSFB_ABLE_AVAILABLE := no -- cgit v1.2.3