From 443a725c572a573e1460f92b86291fffeef0b7ed Mon Sep 17 00:00:00 2001 From: mirko Date: Thu, 14 Apr 2011 12:36:18 +0000 Subject: [PATCH] [packages/qt4] package qt4 VNC graphics driver git-svn-id: svn://svn.openwrt.org/openwrt/packages@26659 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- Xorg/lib/qt4/Makefile | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Xorg/lib/qt4/Makefile b/Xorg/lib/qt4/Makefile index 8c35c1ff9..f77a41145 100644 --- a/Xorg/lib/qt4/Makefile +++ b/Xorg/lib/qt4/Makefile @@ -247,6 +247,11 @@ define Package/qt4-drivers-gfx-linuxfb TITLE+=linuxfb endef +define Package/qt4-drivers-gfx-vnc + $(call Package/qt4-drivers-gfx/Default) + TITLE+=VNC +endef + ### define Package/qt4-drivers-kbd/Default $(call Package/qt4/Default) @@ -369,7 +374,7 @@ define Build/Configure $(if $(CONFIG_PACKAGE_qt4-qt3support),-qt3support,-no-qt3support) \ -no-gfx-transformed \ -no-gfx-qvfb \ - -no-gfx-vnc \ + $(if $(CONFIG_PACKAGE_qt4-drivers-gfx-vnc),-plugin-gfx-vnc,-no-gfx-vnc) \ -no-gfx-multiscreen \ -no-gfx-qnx \ $(if $(CONFIG_PACKAGE_directfb),-plugin-gfx-directfb) \ @@ -729,6 +734,15 @@ define Package/qt4-drivers-gfx-linuxfb/install $(1)/usr/lib/Qt/plugins/gfxdrivers/ endef +define Package/qt4-drivers-gfx-vnc/install + $(INSTALL_DIR) \ + $(1)/usr/lib/Qt/plugins/gfxdrivers + + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/Qt/plugins/gfxdrivers/libqgfxvnc.so \ + $(1)/usr/lib/Qt/plugins/gfxdrivers/ +endef + # keyboard drivers @@ -765,3 +779,4 @@ $(eval $(call BuildPackage,qt4-drivers-mouse-tslibmousedriver)) $(eval $(call BuildPackage,qt4-drivers-gfx-directfb)) $(eval $(call BuildPackage,qt4-drivers-gfx-linuxfb)) +$(eval $(call BuildPackage,qt4-drivers-gfx-vnc))