commit:     50edfb7a66d7f27d07dab8fe770930aa979f612e
Author:     Elias Probst <mail <AT> eliasprobst <DOT> eu>
AuthorDate: Wed Aug 20 21:51:31 2014 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Wed Aug 20 21:51:31 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=50edfb7a

[app-crypt/qca] Install the QCA plugins into the Qt plugin directory.

---
 app-crypt/qca/qca-9999.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/app-crypt/qca/qca-9999.ebuild b/app-crypt/qca/qca-9999.ebuild
index a2d91a1..f290f43 100644
--- a/app-crypt/qca/qca-9999.ebuild
+++ b/app-crypt/qca/qca-9999.ebuild
@@ -68,6 +68,11 @@ src_configure() {
                $(with_plugin_use pkcs11)
                $(with_plugin_use softstore)
        )
+       if use qt4; then
+               
mycmakeargs+=(-DQCA_PLUGINS_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)/qt4/plugins/crypto")
+       else
+               
mycmakeargs+=(-DQCA_PLUGINS_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)/qt5/plugins/crypto")
+       fi
 
        cmake-utils_src_configure
 }

Reply via email to