[package] qt4: add qt4-openssl (#8726)
authorFlorian Fainelli <florian@openwrt.org>
Sat, 12 Feb 2011 19:27:01 +0000 (19:27 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 12 Feb 2011 19:27:01 +0000 (19:27 +0000)
SVN-Revision: 25487

Xorg/lib/qt4/Makefile

index 6bff1d313759934834353651c1779fb689fafd56..f37d4b3c074846a8d9963dd68248a11b47a721cb 100644 (file)
@@ -32,7 +32,8 @@ PKG_CONFIG_DEPENDS:= \
        CONFIG_PACKAGE_qt4-dbus \
        CONFIG_PACKAGE_qt4-phonon \
        CONFIG_PACKAGE_qt4-sqlite \
-       CONFIG_PACKAGE_qt4-mysql
+       CONFIG_PACKAGE_qt4-mysql \
+       CONFIG_PACKAGE_qt4-openssl
 
 include $(INCLUDE_DIR)/package.mk
 -include $(if $(DUMP),,./files/qmake.mk)
@@ -106,6 +107,12 @@ define Package/qt4-mysql
   DEPENDS+=+libmysqlclient
 endef
 
+define Package/qt4-openssl
+  $(call Package/qt4/Default)
+  TITLE+=(openssl)
+  DEPENDS+=+libopenssl
+endef
+
 #define Package/qt4-multimedia
 #  $(call Package/qt4/Default)
 #  TITLE+=(multimedia)
@@ -342,7 +349,7 @@ define Build/Configure
                        $(if $(NPTL),-scripttools,-no-scripttools) \
                        -no-accessibility \
                        $(if $(NPTL),-declarative,-no-declarative) \
-                       -no-openssl \
+                       $(if $(CONFIG_PACKAGE_qt4-openssl),-openssl -I $(STAGING_DIR)/usr/include,-no-openssl) \
                        -no-nis \
                        -no-cups \
                        -no-iconv \
@@ -747,6 +754,7 @@ $(eval $(call BuildPackage,qt4-examples))
 $(eval $(call BuildPackage,qt4-network))
 $(eval $(call BuildPackage,qt4-sqlite))
 $(eval $(call BuildPackage,qt4-mysql))
+$(eval $(call BuildPackage,qt4-openssl))
 #$(eval $(call BuildPackage,qt4-multimedia))
 #$(eval $(call BuildPackage,qt4-audio-backend))
 $(eval $(call BuildPackage,qt4-phonon))