diff options
-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 + +} |