diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-12-21 06:22:01 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-12-21 06:22:01 +0200 |
commit | 0b808ca4a33a7c635c3067d51c447b971f946ab6 (patch) | |
tree | 62fb37638afd4b258dd6bd6fffb08634d650159c /app-editors/liteide | |
parent | d8bb1af552d4d6bdcf6346d7d9e0f71e3dd5b6ee (diff) |
Separated liteide into static and shared libs
Diffstat (limited to 'app-editors/liteide')
-rw-r--r-- | app-editors/liteide/liteide-9999.ebuild | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/app-editors/liteide/liteide-9999.ebuild b/app-editors/liteide/liteide-9999.ebuild index a30938fd..b32c5e5a 100644 --- a/app-editors/liteide/liteide-9999.ebuild +++ b/app-editors/liteide/liteide-9999.ebuild @@ -12,12 +12,9 @@ EGIT_REPO_URI="https://github.com/visualfc/liteide.git" LICENSE="LGPL-2.1" KEYWORDS="" SLOT="0" -IUSE="ordered release" +IUSE="ordered release static shared" -DEPEND="dev-lang/go - dev-qt/qtgui:4 - dev-qt/qtdbus:4 - dev-qt/qtwebkit:4" +DEPEND="dev-lang/go" RDEPEND="${DEPEND}" S="${WORKDIR}"/"${PN}"-"${PV}"/ @@ -71,15 +68,26 @@ src_install() { doins -r "${S}"/liteidex/deploy/* doins -r "${S}"/liteidex/os_deploy/* + if use shared ; then + DEPEND="${DEPEND} + dev-qt/qtgui:4 + dev-qt/qtdbus:4 + dev-qt/qtwebkit:4" + + #dosyms on all QT libs + fi + # QT Libraries - addread /usr/$(get_libdir)/qt4/ - insinto /opt/${PN}/lib/${PN} - doins /usr/$(get_libdir)/qt4/libQtCore.so* - doins /usr/$(get_libdir)/qt4/libQtXml.so* - doins /usr/$(get_libdir)/qt4/libQtNetwork.so* - doins /usr/$(get_libdir)/qt4/libQtGui.so* - doins /usr/$(get_libdir)/qt4/libQtDBus.so* - doins /usr/$(get_libdir)/qt4/libQtWebKit.so* + if use static ; then + addread /usr/$(get_libdir)/qt4/ + insinto /opt/${PN}/lib/${PN} + doins /usr/$(get_libdir)/qt4/libQtCore.so* + doins /usr/$(get_libdir)/qt4/libQtXml.so* + doins /usr/$(get_libdir)/qt4/libQtNetwork.so* + doins /usr/$(get_libdir)/qt4/libQtGui.so* + doins /usr/$(get_libdir)/qt4/libQtDBus.so* + doins /usr/$(get_libdir)/qt4/libQtWebKit.so* + fi fperms +x /opt/${PN}/bin/${PN} fperms u+x /opt/${PN}/bin/goapi |