diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-06-26 20:21:49 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-06-26 20:21:49 +0300 |
commit | 13d5f26af599d73de4efff0105d5eca8be615d18 (patch) | |
tree | d2c1cf6c3e317b54b04b369af3f490669c50d069 | |
parent | 9e6e3b5c4abe02afbbaff147d4d9e1ab7e9115db (diff) |
qconf-scm //psi dependency
-rw-r--r-- | packages/sys-devel/qconf/qconf-scm.exheres-0 | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/packages/sys-devel/qconf/qconf-scm.exheres-0 b/packages/sys-devel/qconf/qconf-scm.exheres-0 new file mode 100644 index 0000000..bf94a54 --- /dev/null +++ b/packages/sys-devel/qconf/qconf-scm.exheres-0 @@ -0,0 +1,40 @@ +DOWNLOADS="" +SLOT="0" +PLATFORMS="~amd64 ~x86" +SUMMARY="./configure like generator for qmake-based projects" +HOMEPAGE="https://github.com/psi-plus/qconf" + +SCM_REPOSITORY="https://github.com/psi-plus/qconf.git" + +require qmake [ slot=5 ] +require scm-git + +MYOPTIONS=" + ( + qt4 + qt5 + ) + [[ number-selected = exactly-one ]] +" + +DEPENDENCIES=" + build+run: + qt4? ( x11-libs/qt:4 ) + qt5? ( x11-libs/qtbase:5 ) +" + +src_configure() { + option qt4 && QTVERSION=4 + option qt5 && QTVERSION=5 + econf \ + --qtselect="${QTVERSION}" \ + --extraconf=QMAKE_STRIP= \ + --verbose || die + # this currently works only for qt5 + eqmake +} + +src_install() { + default_src_install + +} |