summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMirko Vogt2012-03-26 15:24:59 +0000
committerMirko Vogt2012-03-26 15:24:59 +0000
commit2a74030dcac1165e8d5228141852d2ec0eae4f5d (patch)
treeed78c61b6dece22f71c657855f6388a85f4d38af
parent61d4c0daab0bc2751f4b61638da7d5ab00a065b0 (diff)
downloadfeeds-2a74030dcac1165e8d5228141852d2ec0eae4f5d.tar.gz
package support for qt4-pgsql - thanks to obsy (fixes ticket 9146)
SVN-Revision: 31078
-rw-r--r--xorg/lib/qt4/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/xorg/lib/qt4/Makefile b/xorg/lib/qt4/Makefile
index 87bb309..4735386 100644
--- a/xorg/lib/qt4/Makefile
+++ b/xorg/lib/qt4/Makefile
@@ -33,6 +33,7 @@ PKG_CONFIG_DEPENDS:= \
CONFIG_PACKAGE_qt4-phonon \
CONFIG_PACKAGE_qt4-sqlite \
CONFIG_PACKAGE_qt4-mysql \
+ CONFIG_PACKAGE_qt4-pgsql \
CONFIG_PACKAGE_qt4-webkit \
CONFIG_PACKAGE_qt4-script \
CONFIG_PACKAGE_qt4-scriptools \
@@ -110,6 +111,18 @@ define Package/qt4-mysql
DEPENDS+=+libmysqlclient
endef
+define Package/qt4-pgsql
+ $(call Package/qt4/Default)
+ TITLE+=(pgsql)
+ DEPENDS+=+libpq
+endef
+
+define Package/qt4-pgsql
+ $(call Package/qt4/Default)
+ TITLE+=(pgsql)
+ DEPENDS+=+libpq
+endef
+
define Package/qt4-openssl
$(call Package/qt4/Default)
TITLE+=(openssl)
@@ -341,6 +354,7 @@ define Build/Configure
-system-sqlite \
$(if $(CONFIG_PACKAGE_qt4-sqlite),-plugin-sql-sqlite) \
$(if $(CONFIG_PACKAGE_qt4-mysql),-plugin-sql-mysql) \
+ $(if $(CONFIG_PACKAGE_qt4-pgsql),-plugin-sql-psql) \
-no-decoration-styled \
-no-decoration-windows \
-no-decoration-default \
@@ -575,6 +589,19 @@ define Package/qt4-mysql/install
$(1)/usr/lib/Qt/plugins/sqldrivers/
endef
+define Package/qt4-pgsql/install
+ $(INSTALL_DIR) \
+ $(1)/usr/lib/Qt/plugins/sqldrivers
+
+ $(CP) \
+ $(PKG_INSTALL_DIR)/usr/lib/libQtSql.so* \
+ $(1)/usr/lib/
+
+ $(CP) \
+ $(PKG_INSTALL_DIR)/usr/lib/Qt/plugins/sqldrivers/libqsqlpsql.so \
+ $(1)/usr/lib/Qt/plugins/sqldrivers/
+endef
+
#define Package/qt4-multimedia/install
# $(INSTALL_DIR) \
# $(1)/usr/bin
@@ -761,6 +788,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-pgsql))
$(eval $(call BuildPackage,qt4-openssl))
#$(eval $(call BuildPackage,qt4-multimedia))
#$(eval $(call BuildPackage,qt4-audio-backend))